parse_asl_sol_file

(function from pyomo.contrib.solver.solvers.asl_sol_reader)

pyomo.contrib.solver.solvers.asl_sol_reader.parse_asl_sol_file(FILE: TextIOBase) ASLSolFileData[source]

Parse an ASL .sol file.

This is a standalone routine to parse the AMPL Solver Library (ASL) “.sol” file format. The resulting ASLSolFileData object is a faithful representation of the data from the file. Translating the parsed data back into the context of a Pyomo model requires additional information (at the very least, the Pyomo model and the NLWriterInfo data structure generated by the writer that originally created the .nl file that was sent to the solver.