UnsupportedOptionError

exception picos.solvers.UnsupportedOptionError

Bases: picos.solvers.OptionError

An exception raised by implementations of _solve to signal to the user that an option they specified is not supported by the solver or the requested sub-solver, or in conjunction with the given problem type or with another option. If the option is valid but not supported by PICOS, then NotImplementedError should be raised instead. The exception is only raised if the strictOptions option is set, otherwise a warning is printed.