MILP problem which is a function of time
Ältere Kommentare anzeigen
i have solved my MILP problem using intlinprog, that part was fine. I am now extending the same problem but now it is depedent on time (i.e. I was to solve the optimization problem for each hour time step).
my question is: How do I extend my objective function and constraints to be time depedent?
thank you
9 Kommentare
Ameer Hamza
am 14 Apr. 2020
Which parameters of MILP change after each hour?
sibabalo noludwwe
am 14 Apr. 2020
Ameer Hamza
am 14 Apr. 2020
If the constraints change, then you can use a for loop to solve the optimization problem after each hour.
sibabalo noludwwe
am 14 Apr. 2020
Ameer Hamza
am 14 Apr. 2020
Since your constraints change, you are solving a new optimization problem. You may get some benefit by using the solution from the previous step as the initial guess for the next step.
Ameer Hamza
am 14 Apr. 2020
sibabalo's comment moved here to keep the discussion organized.
Maybe i did not explain it properly. The constraints equations don't change. To be exact what changes are power values from PV,wind turbines and battery storage that used in the constraints.
Ameer Hamza
am 14 Apr. 2020
MATLAB intlinprog function does not provide any option to deal with varying parameters. The only way I can think of is to feed the solution of the previous step as the initial guess. It will help the optimizer to converge quickly.
sibabalo noludwwe
am 14 Apr. 2020
Ameer Hamza
am 14 Apr. 2020
Please see my answer below for explanation.
Akzeptierte Antwort
Weitere Antworten (1)
sibabalo noludwwe
am 30 Apr. 2020
0 Stimmen
Kategorien
Mehr zu Improve Problem-Based Organization and Performance finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!