-
Notifications
You must be signed in to change notification settings - Fork 85
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
fix: penalizing or rewarding constraints with overlapping time for Employee Scheduling #484
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please figure out an incremental approach to the requirement.
...g/src/main/java/org/acme/employeescheduling/solver/EmployeeSchedulingConstraintProvider.java
Outdated
Show resolved
Hide resolved
java/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/Shift.java
Outdated
Show resolved
Hide resolved
Note: the part before |
...g/src/main/java/org/acme/employeescheduling/solver/EmployeeSchedulingConstraintProvider.java
Outdated
Show resolved
Hide resolved
Since both of you think |
...g/src/main/java/org/acme/employeescheduling/solver/EmployeeSchedulingConstraintProvider.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I found a bug in the constraints.
java/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/Shift.java
Outdated
Show resolved
Hide resolved
...g/src/main/java/org/acme/employeescheduling/solver/EmployeeSchedulingConstraintProvider.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after the last comment is resolved.
Description of the change
This pull request updates the employee-scheduling module constraints to penalize or reward constraints with overlapping time.
Java
Python
Checklist
Development
Code Review