ILOG CPLEX 11.0 User's Manual > Advanced Programming Techniques > Using Goals > Special Goals in Branch & Cut > Or Goal

An Or goal is a goal that creates subnodes of the current node. This function takes at least 2 and up to 6 goals as arguments. For each of its arguments, the Or goal will create a subnode in such a way that when that subnode is processed, the corresponding goal will be executed. After the goal has been executed, the current node is immediately deactivated.

In the C++ API, an Or goal is returned by IloCplex::GoalI::OrGoal.

In the Java API, an Or goal is returned by the method IloCplex.or.

In the .NET API, an Or goal is returned by the method Cplex.Or.