When defining a problem, users may provide a list of constraints. Applying constraints to a Pyomo model in a for-loop requires a pyo.ConstraintList object. This PR supports addings lists of constraints to Pyomo models, using the entmoot.ConstraintList.
When defining a problem, users may provide a list of constraints. Applying constraints to a Pyomo model in a for-loop requires a pyo.ConstraintList object. This PR supports addings lists of constraints to Pyomo models, using the entmoot.ConstraintList.