-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor improvements to scaling API (#1507)
* Adding infrastructure to support ipopt_v2 * Moving core/util to ipopt_v2 * Moving MH initializer to ipopt_v2 * Fixing pint version issue * Set TSA to use old IPOPT interface * Trying to resolve Windows failures * Working on platofrm dependent failure * BTInitializer with presolve * Moving last bits of core code to ipopt_v2 * Starting on idaes/models * Removing ma57_automatic_scaling default and updating idaes/models/control * idaes/model/properties part 1 * Remaining parts of idaes/models/proeprties * Fixing typo * Switching idaes/models/unit_models to ipopt_v2 * Attempt to work around HXLC issues for now * Some clean up * Switching modular properties initializer to solver indexed blocks * Addressing comments * Recovering from previous branch * Some clean up * Adding ScalerBase class and tests * Working on CustomScalerBase * Nominal value constraint scaling * Adding some initial integration tests for scaling * Some more nominal magnitude scaling approaches * Prototyping pseudojacobian scaler * Trying to debug pseudojacobian * Removing unnecessary import * Addressing pylint issues * Cleaning up nominal jacobian * More methods for CustomScalerBase * Prototyping Gibbs reactor scaler * Gibbs reactor constraint scaling * Working on testing and profiling * Refining Gibbs scaler * Refining nominal value walker * Fixing walker tests * Testing GibbsScaler with initialization * Fixing auto norm scaling on indexed blocks * Testing scaling profiler * Fixing typos * Fixing pylint issue * Imrpoving some doc strings * Apply suggestions from code review Co-authored-by: MarcusHolly <[email protected]> * Fixing issue with autoscaling vars with value None * Adding profiler to __init__ * Fixing name for RSS method * Fixing import of pyomo.environ * Allowing default scaling for indexed components * Adding catch for critical solver failure in profiler * Starting on docs * Finishing docs and unifiying method names * Profiler report methods and docs * Fixing typos * Pylint: fix unnecessary f-string * Working on equilibrium reactor scaler * Finishing tests for equilibrium reactor scaler * Updaing requil scaler * Fixing typo * Addressing pylint issue * Improving guess for heat duty scaling * Updating test value for heat duty scaling * Minor fix * Adding Enum to __init__ * Adding doc strings for saponification scalers * Fixing typo * Minor clean up * Removing need for string constants --------- Co-authored-by: MarcusHolly <[email protected]>
- Loading branch information
1 parent
96237b9
commit d931060
Showing
5 changed files
with
33 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters