How to reduce cplexmiqp computation time for Electrical UC Problem?

조회 수: 2 (최근 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 CenterFile Exchange에서 Get 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