epigraph_reformulation
(function from pyomo.contrib.mindtpy.util
)
- pyomo.contrib.mindtpy.util.epigraph_reformulation(exp, slack_var_list, constraint_list, use_mcpp, sense)[source]
Epigraph reformulation.
Generate the epigraph reformulation for objective expressions.
- Parameters:
slack_var_list (VarList) – Slack vars for epigraph reformulation.
constraint_list (ConstraintList) – Epigraph constraint list.
use_mcpp (Bool) – Whether to use mcpp to tighten the bound of slack variables.
exp (Expression) – The expression to reformulate.
sense (objective sense) – The objective sense.