Originally posted by: Marco81
Hi everyone. I have the following question. How to map the decision vector x of bool values to the small decision vector y of the integer values. For example, I have the following code:
int n=10;
dvar boolean x[1..n];
dvar int y[1..3];
and for instance the decision vector x has these components: x=[0 0 1 0 0 1 0 0 1 0]. How to set the decision vector y on the following components y=[3 6 9] inside the subject to block?
Thanks a lot.
#CPLEXOptimizers#DecisionOptimization