Skip to content

Is it possible to use timewindows as soft constraints? #93

Answered by reinterpretcat
MxNxP asked this question in Q&A
Discussion options

You must be logged in to vote

No, at this point time windows are hard constraints and their violations is not allowed. However, I think it is possible to implement such requirement as a new soft constraint. This would require:

  • change format to support soft time window definition
  • add a new soft constraint which penalizes late or early arrivals outside of strict time windows
  • add a new custom objective which prefers solutions with less soft constraint violations

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MxNxP
Comment options

Answer selected by MxNxP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants