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

Look into presolving #15

Open
lukevolpatti opened this issue Apr 19, 2022 · 1 comment
Open

Look into presolving #15

lukevolpatti opened this issue Apr 19, 2022 · 1 comment
Labels
long term Not pressing but should be done before release

Comments

@lukevolpatti
Copy link
Collaborator

Can we perform a presolve step that will make solving easier? Perhaps by reducing the number of variables that need to be optimized over? Two references:

@lukevolpatti lukevolpatti added easy Something that can be done quickly long term Not pressing but should be done before release and removed easy Something that can be done quickly labels Apr 19, 2022
@lukevolpatti
Copy link
Collaborator Author

Two simple strategies:

  • Look for rows of the constraint matrix with a single nonzero (associated variable is a constant)
  • Look for rows with two nonzeros (only need to solve for one of two associated variables, the other's value can be quickly inferred after solving)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
long term Not pressing but should be done before release
Projects
None yet
Development

No branches or pull requests

1 participant