Originally posted by: cplexforMatlabuser
Dear all,
thanks a lot for your numerous answers!
To Tobias: I only want to fix a few hours of the second iteration to the values calculated in the first iteration. Actually at the moment it is just one hour for the sake of keeping the electricity storage levels of the previous iteration (but more than one hour would be good, since for power plants there can be minimum downtime constraints of - say - 8 hours that must not be violated when iterating). So I take hour 1 to 24 from the optimization of hour 1 to hour 96 as part of my final result( i.e. final unit commitment schedule). For the second iteration I set the lower and upper bound of hour 25 to the value calculated for hour 25 in the first optimization (this answers your comment, Eumpfenbach, I set lower and upper bounds to the same value to fix the value of the variables of only one (up to a few) hours, so cplex has freedom to search for all subsequent hours). Then I calculate hour 25 to 120 and take hour 25 to 48 as second part of the final result. And so on. I have tried what Eumpfenbach suggested - to locate the infesibility, but all infeasibilities that I could detect where on the order of at most 10^-11, which should be below the fesibilty tolerance. Or are the infesibilities of individual rows added up? I don't know how I can check or set the fesibility tolerance parameter with Cplex for Matlab API, can anyone tell me? By the way, the problem with infeasibilty mostly arises when I include a lot of storages (when I don't, I can do the rolling planning without error message). I assume that fixing storage level as well as storage input and output is maybe too much. So my workaround for the moment is only to fix storage levels and power output of power plants, that have minimum down time constraints. Nevertheless I kind of would like to use a more elegant solution, maybe feasOpt? Do I understand it right that when I call
cplex.feasOpt(
],[,preflb,[]), this would give me a lower bound vector with which the infeasible problem becomes feasible?
Thank you!
#CPLEXOptimizers#DecisionOptimization