initialize_feas_subproblem
(function from pyomo.contrib.mindtpy.util
)
- pyomo.contrib.mindtpy.util.initialize_feas_subproblem(m, feasibility_norm)[source]
- Adds feasibility slack variables according to config.feasibility_norm (given an infeasible problem).
Defines the objective function of the feasibility subproblem.
- Parameters:
m (Pyomo model) – The feasbility NLP subproblem.
feasibility_norm (String) – The norm used to generate the objective function.