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에서 Improve Problem-Based Organization and Performance에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!