Originally posted by: AsimAkhtar
Dear All,
I want to repeat the following optimization problem 800 times. As you may see that in the SUBJECT TO caption I had added the decision varaibles to equal to an array, this array is basically resulted by means of pre optimization calculations. Now I wish to have the optimized result for each of the 800 values of that array. I will then copy the resulted 800 values to an spread sheet for further analysis. Kindly guide me.
The code is as follows:
dvar float+ Pg1; dvar float+ Pg2; minimize *((0.01/2)*Pg1^2 + 1.25*Pg1 +100)*
*+((0.0125/2)*Pg2^2 + Pg2 + 125);*
subject to { forall(g in 1..720) Pg1 + Pg2 == Inter_2[g]; 20<=Pg1<=280; 0.01<=Pg2<=280; }#DecisionOptimization#OPLusingCPLEXOptimizer