(function from pyomo.contrib.solver.solvers.asl_sol_reader)
pyomo.contrib.solver.solvers.asl_sol_reader
Convert the ASL “solve code” integer into a Pyomo status
The ASL returns an indication of the solution status and termination condition using a single “solve code” integer. This function implements the translation of the numeric value into the Pyomo equivalents (TerminationCondition and SolutionStatus), as well as a general string description, using the table from Section 14.2 in the AMPL Book [FGK02].
TerminationCondition
SolutionStatus