SolverIterable

(class from pyomo.contrib.pyros.config)

class pyomo.contrib.pyros.config.SolverIterable(require_available=True, filter_by_availability=True, solver_desc='solver')[source]

Bases: object

Callable for casting an iterable (such as a list of strs) to a list of Pyomo solvers.

Parameters:
  • require_available (bool, optional) – True if available() method of a standardized solver object obtained through self must return True, False otherwise.

  • filter_by_availability (bool, optional) – True to remove standardized solvers for which available() does not return True, False otherwise.

  • solver_desc (str, optional) – Descriptor for the solver obtained through self, such as ‘backup local solver’ or ‘backup global solver’.

__init__(require_available=True, filter_by_availability=True, solver_desc='solver')[source]

Initialize self (see class docstring).

Methods

__init__([require_available, ...])

Initialize self (see class docstring).

domain_name()

Return str briefly describing domain encompassed by self.

Member Documentation

domain_name()[source]

Return str briefly describing domain encompassed by self.