Originally posted by: SystemAdmin
[typhoon said:]
hello!
i try to initialize a standard array (B) by a decision variable array (A):
execute INITIALIZE {
for (var t in range1){
for (var n in range2){
B[t] += p[n]*A[n][t] ;
}
}
}
but this produces the following error:
Scripting runtime error: cannot convert to a number, "[a IloNumVar]".
never the less, i initialized A as integer...do you see the error?
thanx for all type of remarks!
typhoon
#DecisionOptimization#OPLusingCPLEXOptimizer