Hello everyone,
I have a very long objective function which I divided into 2 parts. Can we write an expression like following in CPLEX?
dexpr float cost1 = sum in (.....) exp1;
dexpr float cost2 = sum in (.....) exp2;
dexpr float cost3 = cost1 + cost;
In addition, I get the following error: "Cannot use type float for userFunction" How should I interpret this error?
Thank you in advance!