MILP problem which is a function of time
Afficher commentaires plus anciens
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 commentaires
Ameer Hamza
le 14 Avr 2020
Which parameters of MILP change after each hour?
sibabalo noludwwe
le 14 Avr 2020
Ameer Hamza
le 14 Avr 2020
If the constraints change, then you can use a for loop to solve the optimization problem after each hour.
sibabalo noludwwe
le 14 Avr 2020
Ameer Hamza
le 14 Avr 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
le 14 Avr 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
le 14 Avr 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
le 14 Avr 2020
Ameer Hamza
le 14 Avr 2020
Please see my answer below for explanation.
Réponse acceptée
Plus de réponses (1)
sibabalo noludwwe
le 30 Avr 2020
0 votes
Catégories
En savoir plus sur Improve Problem-Based Organization and Performance dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!