constraint

Classes

AbstractScalarConstraint(*args, **kwds)

AbstractSimpleConstraint(*args, **kwargs)

Constraint(*args, **kwds)

This modeling component defines a constraint expression using a rule function.

ConstraintData([expr, component])

This class defines the data for a single algebraic constraint.

ConstraintList(*args, **kwds)

A constraint component that represents a list of constraints.

IndexedConstraint(*args, **kwds)

ScalarConstraint(*args, **kwds)

ScalarConstraint is the implementation representing a single, non-indexed constraint.

SimpleConstraint(*args, **kwargs)

TemplateConstraintData(template_info, ...)

Functions

simple_constraint_rule(rule)

This is a decorator that translates None/True/False return values into Constraint.Skip/Constraint.Feasible/Constraint.Infeasible.

simple_constraintlist_rule(rule)

This is a decorator that translates None/True/False return values into ConstraintList.End/Constraint.Feasible/Constraint.Infeasible.