PPOPT
PPOPT copied to clipboard
Software Platform for solving and manipulating multiparametric programs in Python
Adds Gurobi status getting for all optimizer calls. Other optimizers not supported. Automatically handles status 4 by setting Params.dualReductions = 0 and re-optimizing. Feature is backwards-compatible; optimizer wrapper returns None...
### Description This PR introduces a global random seed set after imports in the test file. This change aims to make the tests more deterministic and easier to debug by...
**Describe the bug** The square of the constant terms is added twice when it should only be added once, see [here](https://github.com/TAMUparametric/PPOPT/blob/6ba4430adc09c84881b5fcc691725bae7985059e/src/ppopt/mpmodel.py#L148). **To Reproduce** ``` from ppopt.mpmodel import MPModeler x =...
Since #63 added the warnings module, running tests now displays a summary of all warnings. We could suppress those via the `--disable-warnings` flag, but it probably makes sense not to...
Replaces some of the `print` statements with logging. This should allow users to configure their verbosity level in their scripts/applications. I made educated guesses about the levels of each call...
I ran a profile using one of Harsh's case study, and numpy.allclose (in detect_implicit_equalities) is the most time consuming part of the solution procedure Hence, added some short circuits 1....
Hi! I'm trying to solve the following toy MPLP: maximize i + j + k, subject to: i + j