Skip to content

VariableCreationError

Bases: Exception

Raised when an error occurs during the creation of a variable.

For example, binary and spin variables cannot be created with bounds.

__str__

__str__() -> str