Originally posted by: Cplex
Hey guys!
I have a problem modelling a light robust warehouse location problem in CPLEX. I don't know how to formulate the objective function.
In XPRESS it looks like this:
forall(f in 1..17) do
FixC := sum (i in M) (c(i)*x (f,i))
VarC := sum (i in M, j in N) (d(i,j)*y(f,i,j))
z := FixC+ VarC
minimize (z)
end-do
You see...there's a forall loop that contains the objective. Is it possible to formulate this in CPLEX?
Any hints are highly appreciated!
Thanks in advance!
#DecisionOptimization#OPLusingCPLEXOptimizer