is_feasible

(function from pyomo.contrib.gdpopt.util)

pyomo.contrib.gdpopt.util.is_feasible(model, config)[source]

Checks to see if the algebraic model is feasible in its current state.

Checks variable bounds and active constraints. Not for use with untransformed GDP models.