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

Support underclocking and overclocking in optimization queries #112

Open
ScottJDaley opened this issue Dec 27, 2022 · 0 comments
Open

Support underclocking and overclocking in optimization queries #112

ScottJDaley opened this issue Dec 27, 2022 · 0 comments
Labels
feature New feature or request

Comments

@ScottJDaley
Copy link
Owner

It would be nice if a query could say "from exactly 6 smelters" even if an optimal setup only needed 5. Doing so would produce a result with 6 underclocked smelters. Likewise, supporting overclocking in the same way.

Right now, this is a pretty complicated change to makes. All of the equalities being added to the inputs are less than or equal to relationships, so the optimizer will always use the exact number of smelters needed. I think we would need to add some new variables to the optimizer to allow under/overclocking every recipe. That way, the large equality for a single item would use these under/overclocking values as coefficients on each recipe.

@ScottJDaley ScottJDaley added the feature New feature or request label Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant