IBM ILOG Solver User's Manual > More on Modeling > Combining Constraints: Bin Packing > Suggested answers

> More on Modeling > Combining Constraints: Bin Packing > Suggested answers > Exercise 1

What are the parameters of the constructor of the predefined constraint IloIfThen?

Suggested Answer

The constructor for IloIfThen creates a condition constraint. The first parameter is the environment. The parameter left indicates the IF clause. The parameter right indicates the THEN clause. The fourth optional parameter is a name used for debug and trace purposes.