Originally posted by: HongPhuc123
Hi! Everyone,
I want to know, in CPLEX IBM Optimation Tool, can it possibly declare a variable or
parameter with 3 dimension?
For example, I have a variable defined as:
x(ij,q): the product quantity carried from depot i
to parking lot j in Truck q.
y( jk ,q2): the product quantity carried from parking lot j
to customer k in Motorbike q2.
In the model, I want to minimize the objective like :
//Expressions
dexpr float TravelDistanceofTwoEchelon = sum(i in D, j in P, q in T) d1[i][j]*x[i][j][q]*c1 + sum ( j in P, k in C, q2 in M) d2[j][k]* y[j][k][q2]*c2;
when i link data excel to cplex , cplex can't extract my excel in 2 dimension. I get stuck in this
Thanks a lot for your help!
#DecisionOptimization#OPLusingCPLEXOptimizer