Skip to content

Refactor MaximizeEmployeeWishesObjective#240

Merged
Hgamo merged 1 commit intomainfrom
refactor-maximize-wishes
Jan 14, 2026
Merged

Refactor MaximizeEmployeeWishesObjective#240
Hgamo merged 1 commit intomainfrom
refactor-maximize-wishes

Conversation

@Hgamo
Copy link
Collaborator

@Hgamo Hgamo commented Jan 14, 2026

This pull request simplifies the logic for calculating wish penalties in the maximize_wishes objective by using existing assignment variables directly, instead of creating new penalty variables.

… by directly appending variables and removing unnecessary penalty variables.
Copy link
Collaborator

@CarryHof CarryHof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Hgamo Hgamo merged commit 0d87d7a into main Jan 14, 2026
1 check passed
@Hgamo Hgamo deleted the refactor-maximize-wishes branch January 14, 2026 11:35
Hgamo added a commit that referenced this pull request Jan 14, 2026
* Refactor rotation logic (#238)

* Add EverySecondWeekendFreeConstraint and remove objective implementation (#239)

* Add EverySecondWeekendFreeConstraint and remove objective implementation

* Remove EverySecondWeekendFreeObjective from constraints and test cases

* Refactor MaximizeEmployeeWishesObjective (#240)

Refactor MaximizeEmployeeWishesObjective to simplify penalty handling by directly appending variables and removing unnecessary penalty variables.
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