process_nonlinear_problem_results

(function from pyomo.contrib.gdpopt.solve_subproblem)

pyomo.contrib.gdpopt.solve_subproblem.process_nonlinear_problem_results(results, model, problem_type, config)[source]

Processes the results object returned from the nonlinear solver. Returns one of TerminationCondition.optimal (for locally optimal or globally optimal since people use this as a heuristic), TerminationCondition.feasible (we have a solution with no guarantees), TerminationCondition.noSolution (we have no solution, with no guarantees of infeasibility), or TerminationCondition.infeasible.