Hi, Johan,
excuse me.
As for the iterations number, it worked for me by using the method you mentioned before. Thanks.
But there is another problem, as I would like to get the objectives corresponding to each iteration, to see how the objectives evolving with iterations(from the initial value to the optimal value).
I tried this method, but result was apparently incorrect, as the objective should be minimized.
objective = objective + Cap_cost + Pr_f_win* (x(1,t)+ x(2,t))* T_win * dt....
sol = optimize(constraints,objective,ops);
Objective = [Objective, value(objective)];
and finally, i got the results like these, which were increasing, so could you please help with this problem? Thanks a lot.
6780588.08219302 6860588.08219302 6860588.08219302 6860588.08219302 6860588.08219302 6860588.08219302 6935059.13300596 7010144.51150635 7100588.08219302 7100588.08219302 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022 11092102.7604022
Best regards
Ting, Liang