Op 27-02-12 12:07, davidglassborow schreef:
Geoffrey,
> Check your Solution's cloning method.
> If you clone the Visit, you need to make sure that planning variables of
> each cloned Visit are pointing to the new clones and not the original
> Visits.
> See my implementation in TSP.
Sure, my clone method is virtually the same as your TSP one (my whole
project was basically a copy of TSP):
https://github.com/davidglassborow/drools-planner/blob/vehicle_routing/dr...
and
https://github.com/davidglassborow/drools-planner/blob/vehicle_routing/dr...
Did you have to make any other changes to make multi TSP work ? Was it just
a case of adding another domicile, and then removing the return to domicile
cost rule ?
Yep and fix the gui not to draw it.
Cheers,
Dave
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools-Planner-Vehicle-routing-problems...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
With kind regards,
Geoffrey De Smet