IPOPT with Halt on Error

IPOPT with Halt on Error#

This module contains a helper function for running IPOPT in a halt-on-error mode.

idaes.core.util.diagnostics_tools.ipopt_halt_on_error.ipopt_solve_halt_on_error(model, options=None)[source]#

Run IPOPT to solve model with debugging output enabled.

This function calls IPOPT to solve the model provided with settings to halt on AMPL evaluation errors and report these with symbolic names.

Parameters:
  • model – Pyomo model to be solved.

  • options – solver options to be passed to IPOPT

Returns:

Pyomo solver results dict