(class from pyomo.contrib.pyros.config)
pyomo.contrib.pyros.config
Bases: object
object
Callable for casting an object (such as a str) to a Pyomo solver.
require_available (bool, optional) – True if available() method of a standardized solver object obtained through self must return True, False otherwise.
solver_desc (str, optional) – Descriptor for the solver obtained through self, such as ‘local solver’ or ‘global solver’. This argument is used for constructing error/exception messages.
Initialize self (see class docstring).
Methods
__init__([require_available, solver_desc])
__init__
domain_name()
domain_name
Return str briefly describing domain encompassed by self.
is_solver_type(obj)
is_solver_type
Return True if object is considered a Pyomo solver, False otherwise.
Member Documentation
An object is considered a Pyomo solver provided that it has callable attributes named ‘solve’ and ‘available’.