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 (problems.QuadraticProgram) – The parent QuadraticProgram.

Raises:

TypeError – QuadraticProgram instance expected.

Attributes

quadratic_program#

Returns the parent QuadraticProgram.

Returns:

The parent QuadraticProgram.

Methods