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

Restrict resources end time #89

Open
lbhtran opened this issue Oct 1, 2019 · 1 comment
Open

Restrict resources end time #89

lbhtran opened this issue Oct 1, 2019 · 1 comment

Comments

@lbhtran
Copy link

lbhtran commented Oct 1, 2019

Hi, I'm using your library to solve a shift scheduling problem. I have a few resources who work in shifts. During each shift, each resource will complete a numbers of tasks. However, I can't seem to set the problem so that if the length of the task is longer than the time remaining on the shift then the resource shouldn't start it. Right now, the bound on the resource only account for the start time.
Would you able to help me on how I could simulate the following scenarios:

  1. The resources will only perform tasks within their shift. If the length of the task is longer than the remaining time on the shift, then the resource wouldn't pick it up
  2. The resources will perform tasks longer than their shift but there will be a cost associate.
@snow-abstraction
Copy link

To address question 1. it seems that using "Restricting Periods" or "Bounds" features explained in the README.md should do this. Probably the former feature, if I understand your problem correctly. Does this this solve 1.) for you? If not could you, create a minimal working example so there is concrete example of the issue?

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

No branches or pull requests

2 participants