finalize

(function from pyomo.scripting.util)

pyomo.scripting.util.finalize(data, model=None, instance=None, results=None)[source]

Perform final actions to finish the execution of the pyomo script.

This function prints statistics related to the execution of the pyomo script. Additionally, this function will drop into the python interpreter if the interactive option is True.

Required:

model: A pyomo model object.

Optional:

instance: A problem instance derived from the model object. results: Optimization results object.