How to code the following objective function using Mixed integer Linear programming into Matlab?

1 回表示 (過去 30 日間)
Paramvir Singh
Paramvir Singh 2018 年 4 月 4 日
回答済み: Sabin 2023 年 1 月 12 日
How to input the coefficients of variables into objective function's matrix for the time interval of 1 to 24 hrs with a step size of 1 hour? Given:
  • dt=1
  • The terms Cgrid(t), Ppv(t), Pw(t) in the objective function equation has constant values over 24 intervals from 1:00 hrs to 24:00 hrs.
  • Cpv(t)=Cw(t)=Cevdisch(t)=Cbdisch(t)=0.01$/Kwh
  • Csell(t)=0.29$/KwhPlease explain with a matlab code explain.

回答 (1 件)

Sabin
Sabin 2023 年 1 月 12 日
Best place to start is the documentation of intlinprog in Optimization Toolbox.

カテゴリ

Help Center および File ExchangeNumerical Integration and Differential Equations についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by