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

Adds support for MaxWeight on containers #13

Merged
merged 8 commits into from
Nov 11, 2024

Conversation

merschformann
Copy link
Owner

@merschformann merschformann commented Sep 23, 2024

Description

Adds support for adhering to a maximum weight capacity on the containers. Every piece may expose a weight that cannot exceed the maxWeight defined on the container. By default, pieces weigh 0 and containers have infinite weight capacity.

Changes

  • JSON: Introduced weight on pieces and maxWeight on containers.
  • XML: Introduced attribute Weight on pieces and attribute MaxWeight on containers.
  • The weight is only used for the maximum container weight calculation, no stability calculation considers it and it's not further broken down into cubes of a piece.
  • All heuristics and model formulations were updated to adhere to the new constraint.
  • Fix a bug with single piece instances in MIP models.

@merschformann merschformann merged commit c4dc407 into main Nov 11, 2024
1 check passed
@merschformann merschformann deleted the merschformann/support-max-weight branch November 11, 2024 12:39
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.

1 participant