ILOG CPLEX .NET Reference Manual

Cplex.EqGoal Method (INumExpr, INumExpr)

Creates a constraint goal for the constraint expr1 == expr2.

public virtual Goal EqGoal(
   INumExpr expr1,
   INumExpr expr2
);

Parameters

expr1
The lefthand side expression of the constraint.
expr2
The righthand side expression of the constraint.

Return Value

A constraint goal for adding the specified constraint.

Remarks

When this goal is executed, the constraint will be added to the current node and all its descendents as a local cut. Thus, the constraint will be active only in the subtree rooted at the node where the goal was executed.

See Also

Cplex Class | ILOG.CPLEX Namespace | Cplex.EqGoal Overload List