For answers, see "Suggested answers".
-
What are the parameters of the constructor of the predefined constraint
IloIfThen
?
-
What are two ways of reducing symmetry in a model?
-
In the example you have just completed, you reduced symmetry in the model by ordering variables. In this exercise, change the order of the variables. Select bins of type green first, then bins of type blue, and then bins of type red. The scalar product of the new bin should still be greater than or equal to the scalar product of the previous bin. However, change the coefficients of types of components so that they are weighted in the following descending order: copper, wood, steel, plastic, and glass.