Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Lp.CnstrSourceModule for the constraint.
Type for an equality or inequality constraint.
Get string expression (LP file format) of the constraint.
Build an equality constraint. Optional name can be given. Polynomials are simplified (Poly.simplify) on build. eps specifies the threshold of near-zero, defaulting to 10. *. epsilon_float.
Build an inequality constraint. Optional name can be given. Polynomials are simplified (Poly.simplify) on build. eps specifies the threshold of near-zero, defaulting to 10. *. epsilon_float.
Build an inequality constraint. Optional name can be given. Polynomials are simplified (Poly.simplify) on build. eps specifies the threshold of near-zero, defaulting to 10. *. epsilon_float.
Build an unnamed equality constraint. Polynomials are simplified on build.
Build an unnamed inequality constraint. Polynomials are simplified on build.
Build an unnamed inequality constraint. Polynomials are simplified on build.
Take name of constraint. An empty string ("") is returned if it is unnamed.
with_bound name lb ub transforms the bounds of the variable name with lb and ub.
to_integer name transforms the variable name into general integer variable.