Hello,
I have a pickup-delivery model that involves time and capacity constraints.
Also,
some of the solver runs are performed on ongoing shifts, which means
that the state of the problem is not "initial". In particular, it means
that the max_capacity and the available_capacity of the vehicle, can
differ (when the shift/vehicle is not ongoing these values equal),
Obviously,
if we only pass to the solver the available_capacity, it won't find a
solution to some very simple instances such as to the jobs [-1, 2] where
the available_capacity is 1 and the max_capacity is 2.
What
is the best practice to define these both parameters in the solver? I
thought of the option of defining dummy locations with the relevant
capacities but I just wanted to see if there's a cleaner, less bug-prone
solution.
Thank you