QuadraticProgramElement¶
-
class
QuadraticProgramElement
(quadratic_program)[source]¶ Bases:
object
Interface class for all objects that have a parent QuadraticProgram.
Initialize object with parent QuadraticProgram.
- Parameters
quadratic_program (
Any
) – The parent QuadraticProgram.- Raises
TypeError – QuadraticProgram instance expected.
Attributes
-
quadratic_program
¶ Returns the parent QuadraticProgram.
- Return type
Any
- Returns
The parent QuadraticProgram.