(class from pyomo.opt.problem.ampl)
pyomo.opt.problem.ampl
Bases: object
object
A class that provides a wrapper for AMPL models.
The constructor.
Methods
__init__(modfile[, datfile])
__init__
valid_problem_types()
valid_problem_types
This method allows the pyomo.opt convert function to work with an AmplModel object.
write(filename[, format, solver_capability])
write
Write the model to a file, with a given format.
Member Documentation
NOTE: this is the same exact code as is used in PyomoModel.py