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

Default Scenarios #51

Merged
merged 5 commits into from
Jan 2, 2025
Merged

Default Scenarios #51

merged 5 commits into from
Jan 2, 2025

Conversation

k8culver
Copy link
Contributor

@k8culver k8culver commented Jan 2, 2025

Closes: #46

Added 4 default scenarios provided by @cpotts-dwave

@k8culver k8culver self-assigned this Jan 2, 2025
Copy link
Contributor

@thisac thisac left a comment

Choose a reason for hiding this comment

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

LGTM! Noticed that scenario, solver, solver time, problem file and write solutions to file don't get disabled when running (while the other options do). Would IMO be cleaner if all settings were disabled.

@@ -30,7 +30,7 @@
are cuboids, and the sides of the items must be packed parallel to the sides of bins.
"""

RANDOM_SEED = 4
RANDOM_SEED = 42
Copy link
Contributor

Choose a reason for hiding this comment

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

🐬

"min": 1,
"max": 200,
"step": 1,
"value": 50,
"value": 8,
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a particular reason to go from 50x50x50 to 20x8x8 as default?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah it was requested by Catherine & the 50x50x50 was arbitrary

Comment on lines 53 to 56
ScenarioType.ONE_SMALL: "One Bin - Small",
ScenarioType.ONE_LARGE: "One Bin - Large",
ScenarioType.TWO_SMALL: "Two Bins - Small",
ScenarioType.TWO_LARGE: "Two Bins - Large",
Copy link
Contributor

Choose a reason for hiding this comment

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

To me, small and large makes it sound like it refers to the box size while it's actually the number of boxes. Maybe it could be named something else, e.g., many/few or small/large problem?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated: c4e8ff6

@k8culver
Copy link
Contributor Author

k8culver commented Jan 2, 2025

LGTM! Noticed that scenario, solver, solver time, problem file and write solutions to file don't get disabled when running (while the other options do). Would IMO be cleaner if all settings were disabled.

Updated: 79a30b7

Let me know if you want to do a final checkover or if it's good to merge

@k8culver k8culver merged commit 6923126 into main Jan 2, 2025
2 of 3 checks passed
@k8culver k8culver deleted the feature/add-scenarios branch January 2, 2025 22:23
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.

Update with small/large scenarios
2 participants