Question concerning synchronization constraints and join function #99
Unanswered
uncreativename42
asked this question in
Q&A
Replies: 1 comment
-
Hi @uncreativename42!
But it's definitely worth revisiting. If you managed to get it working when joining you need to check the partial paths of both labels to ensure that
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I currently try to use cspy (using Python only) for a sub problem of a vehicle routing problem with time windows and synchronization constraints.
I want to ensure that two visits which have a synchronization relationship cannot be part of the same route in the sub problem.
I managed to model this relationship in the forward as well as in the backward REF referencing partial_path and setting new_res to 1 (max_res = 0) if two synchronization visits are put into the same route, but I am not sure if it is possible to use the bidirectional algorithm, since I fail to find a way to prevent two feasible partial paths being joined into an unfeasible route by the join function. (I know there are some issues using bidirectional search when faced with time windows in the vrpy example, but at the moment I seem to have made it work for my problem, so I could use bidirectional otherwise.
Is there a way to prevent joining into an unfeasible route when faced with my problem?
Beta Was this translation helpful? Give feedback.
All reactions