Handling un-satisfiable setups #2981
Replies: 4 comments
-
Did you enable the Guided Local Search ? did you set a time limit ? |
Beta Was this translation helpful? Give feedback.
-
@Mizux No guided local search, I have a time limit. Is there an example for me to see? |
Beta Was this translation helpful? Give feedback.
-
Look at VRP with time limit samples here: https://github.com/google/or-tools/tree/stable/ortools/constraint_solver/samples e.g. or-tools/ortools/constraint_solver/samples/vrp_with_time_limit.py Lines 95 to 104 in 45770b8 |
Beta Was this translation helpful? Give feedback.
-
Thanks @Mizux, before your reply, I found an assignment with |
Beta Was this translation helpful? Give feedback.
-
Hello,
Setup: VRPTW, 10 vehicles, 35 locations. I have a feasible solution
I'm currently facing a situation where all heuristics,
meta
orfirst_solution
manage to assign only 34, but when I'm forcing the solver to my known solution it finds it under all heuristics.I want to ask if there's a method to deal with these cases, or a work around.
I got the full assignment from a solution to the same dataset plus an extra location, up to small variations in the time windows - ones that are not changing the satisfiability of the instance, obviously but rather the ability of the solver to find an assignment for all 35 locations.
Beta Was this translation helpful? Give feedback.
All reactions