LegacySolverInterface
(class from pyomo.contrib.appsi.base
)
- class pyomo.contrib.appsi.base.LegacySolverInterface[source]
Bases:
object
- __init__()
Methods
__init__
()available
([exception_flag])Test if the solver license is valid on this system.
solve
(model[, tee, load_solutions, logfile, ...])Attributes
options
Member Documentation
- license_is_valid() bool [source]
Test if the solver license is valid on this system.
Note that this method is included for compatibility with the legacy SolverFactory interface. Unlicensed or open source solvers will return True by definition. Licensed solvers will return True if a valid license is found.
- Returns:
available – True if the solver license is valid. Otherwise, False.
- Return type: