MILP problem which is a function of time
古いコメントを表示
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 件のコメント
Ameer Hamza
2020 年 4 月 14 日
Which parameters of MILP change after each hour?
sibabalo noludwwe
2020 年 4 月 14 日
Ameer Hamza
2020 年 4 月 14 日
If the constraints change, then you can use a for loop to solve the optimization problem after each hour.
sibabalo noludwwe
2020 年 4 月 14 日
Ameer Hamza
2020 年 4 月 14 日
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
2020 年 4 月 14 日
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
2020 年 4 月 14 日
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
2020 年 4 月 14 日
Ameer Hamza
2020 年 4 月 14 日
Please see my answer below for explanation.
採用された回答
その他の回答 (1 件)
カテゴリ
ヘルプ センター および File Exchange で Linear Programming and Mixed-Integer Linear Programming についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!