Dear all,
I'm develloping this constraint code for optimization problem by using Cplex 22.1.0
here are the mathematical equation:

when
E(ik) =[ [3, 5, 1, 1.2, 1, 5, 4, 1.2],
[3, 5, 1, 1.2, 1, 5, 4, 1.2],
[ 4, 1, 4, 2, 2, 4, 3, 3, 1.3, 1] ];
subject to
{
forall (i in M,)
sum ( k in 0..n+1 ) sum (
l in E[i][k] ) X[i][l][k][k] == 0 ;
when i run the program, i get the following error :
(Description Resource Path Location Type
Cannot use the type float with "in". essai10.mod /essai1 77:25-59 C:/Users/yesmine yaich/opl/essai1/essai10.mod OPL Outline Problem Marker)
Could anyone tell me what should i do, please ?
thank you in advance.
------------------------------
yesmine yaich
------------------------------
#DecisionOptimization