(function from pyomo.contrib.mindtpy.util)
pyomo.contrib.mindtpy.util
Epigraph reformulation.
Generate the epigraph reformulation for objective expressions.
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.