ILOG CPLEX .NET Reference Manual

Cplex.And Method (Goal, Goal, Goal, Goal, Goal)

Creates and returns an and goal from five arguments.

public Goal And(
   Goal goal1,
   Goal goal2,
   Goal goal3,
   Goal goal4,
   Goal goal5
);

Parameters

goal1
A goal to be pushed on the goal stack.
goal2
A goal to be pushed on the goal stack.
goal3
A goal to be pushed on the goal stack.
goal4
A goal to be pushed on the goal stack.
goal5
A goal to be pushed on the goal stack.

Return Value

The and goal composed from the goals passed as parameters.

Remarks

This goal pushes the parameter goals onto the goal stack in reverse order. When the goals are subsequently popped from the goal stack, they will be executed in the order in which they were listed as parameters.

See Also

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