Lingaswamy Dacharam
unread,Dec 8, 2021, 5:01:38 AM12/8/21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to or-tools-discuss
Hello Guys,
Can anyone please explain the difference between these functions.
1.routing.VehicleVar(index).SetValues(vehicle_idx)
2.routing.SetAllowedVehiclesForIndex(vehicle_idx, index)
VehicleVar(index).SetValues(vehicle_idx) is working fine when we have less data(i.e no of nodes and no of. vehicles), if we increase the data(i.e no of nodes) solver is not giving output. however when I use SetAllowedVehiclesForIndex solver comes out with proper solution. I didn't understand why, I would like to know each function's functionalities and where we suppose to use according to it.
Thank you in advance,
Regards,
Lingaswamy