Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal for overtime cost handling #163

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

akitaylor
Copy link

I'd like to recommend a proposal in this PR. The purpose is to make it possible to define an overtime cost: above a given time threshold an additional time cost is added to the tour cost.

Background: the real life need for this function is in heterogenous scenarios, where short and long distance tours are present at the same time. If we allow long distance tours to be longer in duration, then it can save a significant cost. However we would not like to allow all the tours to be that long, only in excepcional cases where it is reasonable (where the cost of saving a full tour is much better than paying for some overtime).

The proposed solution seems to work basically, however it only applies overtime cost at solution level, so it might not be the most efficient. I'm wondering what needs to be done in order to make this cost be a part of the library. Thanks!

@reinterpretcat
Copy link
Owner

Sorry, need more time to reply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants