ILOG CPLEX .NET Reference Manual

Cplex.Or Method (Goal, Goal, Goal, Goal)

Creates and returns an or goal from four arguments.

public Goal Or(
   Goal goal1,
   Goal goal2,
   Goal goal3,
   Goal goal4
);

Parameters

goal1
A goal to be used for a child node.
goal2
A goal to be used for a child node.
goal3
A goal to be used for a child node.
goal4
A goal to be used for a child node.

Return Value

The or goal composed from the goals passed as parameters.

Remarks

This goal creates one child node for each argument. For each child, it copies the goal stack of the current node to the child, and then it pushes the appropriate goal from the argument list onto that goal stack. The goal then deactivates the current node, which will cause Cplex to pick a new active node from the branch-and-cut tree to process next.

See Also

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