Constraint#
- class Constraint(quadratic_program, name, sense, rhs)[ソース]#
ベースクラス:
QuadraticProgramElement
Abstract Constraint Class.
Initializes the constraint.
- パラメータ:
Attributes
- name#
Returns the name of the constraint.
- 戻り値:
The name of the constraint.
- quadratic_program#
Returns the parent QuadraticProgram.
- 戻り値:
The parent QuadraticProgram.
- rhs#
Returns the right-hand-side of the constraint.
- 戻り値:
The right-hand-side of the constraint.
- sense#
Returns the sense of the constraint.
- 戻り値:
The sense of the constraint.
Methods