フィルターのクリア

How to reduce cplexmiqp computation time for Electrical UC Problem?

1 回表示 (過去 30 日間)
Muhammad Yasirroni
Muhammad Yasirroni 2019 年 3 月 27 日
コメント済み: Quang-Trung Luu 2021 年 1 月 11 日
I'm trying to solve electrical unit commitment problem (which generator should be on/off and how much power on each generator should generated). On or off status is binary and power in quadratic cost function. The problem is in MIQP and I'm using CPLEX MIQP 12.8 by add CPLEX to the search path:
C:\Program Files\IBM\ILOG\CPLEX_Studio128\cplex\matlab\x64_win64
I already run this two code:
[x,y]=cplexmiqp(F,c,Ai,bi,Ae,be,[],[],[],x_L,x_U,IV,[]); %first code
options = cplexoptimset();
[x,y]=cplexmiqp(F,c,Ai,bi,Ae,be,[],[],[],x_L,x_U,IV,[],options); %second code
The funny thing is they both have different computational time with same x and y result. I thought
options = cplexoptimset()
will give default or auto setting to cplexmiqp, but it seems not(?)
I also has trying to reduce the accuracy by:
options = cplexoptimset('Display','off','TolFun',1e-3);
but, it's still has more computational time than the first code (first code 7s and second code 40s, in 40 units). My question is how to reduce cplexmiqp computation time for Electrical UC Problem (we can sacrifice accuracy)?
Further note: Any tips is accepted whether it is input parameter, matlab setting, or even purchasing matlab toolbox (note that I already own optimization toolbox). The maximum matrices i can run for now is 60 units (20 minutes).
  1 件のコメント
Quang-Trung Luu
Quang-Trung Luu 2021 年 1 月 11 日
Perhaps try to set options.MaxTime and options.MaxNodes of cplexoptimset?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with Optimization Toolbox についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by