| Forum | GitHub | Maps | Blog

First delivery constraint


I have some delivery and it should be always first in the route. How to implement that in jsprit?


Maybe add a relation saying that it should precede all others?


I tried to add hard constraint, but it did not worked. I also tried priorities. The problem that in jsrpit priorities are soft constraint.