Vehicle Should not return back to Depot

120 views
Skip to first unread message

chaitanya tanwar

unread,
Sep 14, 2015, 2:40:29 AM9/14/15
to jsprit-ma...@googlegroups.com
Hi all,
 If we want to enter the constraint such that the vehicle should not come back to depot.
How to do that?


Thanks and Regards.

Stefan Schroeder

unread,
Sep 14, 2015, 3:43:40 AM9/14/15
to jsprit-ma...@googlegroups.com
Hi,

Look at this line:
https://github.com/jsprit/jsprit/blob/master/jsprit-examples/src/main/java/jsprit/examples/WaitingTimeExample.java#L32

Just set .setReturnToDepot(false)

Best
Stefan

Am 14/09/15 um 08:40 schrieb chaitanya tanwar:
--
You received this message because you are subscribed to the Google Groups "jsprit-mailing-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jsprit-mailing-...@googlegroups.com.
To post to this group, send email to jsprit-ma...@googlegroups.com.
Visit this group at http://groups.google.com/group/jsprit-mailing-list.
For more options, visit https://groups.google.com/d/optout.

chaitanya tanwar

unread,
Sep 14, 2015, 6:29:25 AM9/14/15
to jsprit-mailing-list
Thanks. It worked
Reply all
Reply to author
Forward
0 new messages