(function from pyomo.contrib.mindtpy.util)
pyomo.contrib.mindtpy.util
The function generates the second-order Taylor approximation of the Lagrangean.
model (Pyomo model) – The model that needs new objective function.
setpoint_model (Pyomo model) – The model that provides the base point for us to calculate the distance.
config (ConfigBlock) – The specific configurations for MindtPy.
timing (Timing) – Timing
discrete_only (bool, optional) – Whether to only optimize on distance between the discrete variables, by default False.
The taylor extension(1st order or 2nd order) of the Lagrangean function.
Objective