This interface defines the API for constraints.

Namespace: ILOG.Concert
Assembly: oplall (in oplall.dll)

Syntax

C#
public interface IConstraint : IIntExpr, 
	INumExpr, ICopyable, IAddable

Remarks

Instances of IConstraint are IAddable objects and can be added to an IModel. Not all modeling objects are instances of IConstraint, for example, IObjective is not a constraint. Examples of constraints are IRange and IloLPMatrix. IloLPMatrix is available to users of CPLEX.

See Also