Good day to all. I ask you to help me with this issue. I have to add this formula into my cplex code:
I am struggling to add the sum inside the sum in the denominator. Can anyone please help me on how this code would work on cplex? Specifically, under execute. I thank you in advance for any help.
I tried to add the sum in two parts, but it did not work, since the sums need to happen simultaneously.
You can write the formula in OPL and then use it in an execute block. Or you can use a loop in the execute block.
You get the same result either way