i'm still a beginner in ILOG CPLEX STUDIO.
I have some decision variable such as:
dvar int gamma [Operations][Operations]in 0..1;
to calculate some of the deductible variable, I use an "execute" block in which I want a variable to have the value of gamma[0][0] + 1:
execute{
var a = gamma[0][0] + 1;
}
this code return me the error :
Scripting runtime error: cannot convert to a number, "[a IloNumExpr]".
I believe this has something to do with the fact that gamma is a decision variable but I don't know to get the value inside of gamma[0][0]
Here are 3 ways to compute e