Degeneracy Hunter#
- class idaes.core.util.model_diagnostics.DegeneracyHunter2(model, **kwargs)[source]#
Degeneracy Hunter is a tool for identifying Irreducible Degenerate Sets (IDS) in Pyomo models.
Original implementation by Alex Dowling.
- Parameters:
model – model to be diagnosed. The DegeneracyHunter does not support indexed Blocks.
- Keyword Arguments:
solver (str, default='scip') – MILP solver to use for finding irreducible degenerate sets.
solver_options (optional) – Options to pass to MILP solver.
M (float, default=100000.0) – Maximum value for nu in MILP models.
m_small (float, default=1e-05) – Smallest value for nu to be considered non-zero in MILP models.
trivial_constraint_tolerance (float, default=1e-06) – Tolerance for identifying non-zero rows in Jacobian.