When I run yalmip to solve a BIP problem, sometimes the program will be out of memory. How can I do ?

50 views
Skip to first unread message

张彤

unread,
Jul 30, 2013, 11:46:37 PM7/30/13
to yal...@googlegroups.com

Johan Löfberg

unread,
Jul 31, 2013, 3:29:56 AM7/31/13
to yal...@googlegroups.com
Absolutely impossible to answer. That is the essence of integer programming, unpredictable.

Create a better model
Try another solver
Tweak the options in the solver
Buy more memory



张彤

unread,
Aug 1, 2013, 2:57:32 AM8/1/13
to yal...@googlegroups.com
??? Error using ==> vertcat
Out of memory. Type HELP MEMORY for your options.

Error in ==> yalmip at 937
            internal_sdpvarstate.boundlist = [internal_sdpvarstate.boundlist;inf*repmat([-1
            1],size(internal_sdpvarstate.monomtable,1),1)];

Error in ==> compileinterfacedata at 1093
lub = yalmip('getbounds',used_variables);

Error in ==> solvesdp at 241
[interfacedata,recoverdata,solver,diagnostic,F,Fremoved] =
compileinterfacedata(F,[],logdetStruct,h,options,0,solving_parametric);

Error in ==> yalmipScheduler3cell at 13
solvesdp(F,g);

Error in ==> userPairingScheduler3cell at 48
[allocation1,allocation2,allocation3] =
yalmipScheduler3cell(T1,f2,numel(userList1),numel(userList2),numel(userList3),rbGroupNum);

Error in ==> simulator at 138
            [allocation,TxPowerPerRb,~] = userPairingScheduler3cell(simConsts, channelInfo, serviceInfo,
            avgThr1);

Error in ==> run at 57
          evalin('caller', [s ';']);

Johan Löfberg

unread,
Aug 1, 2013, 2:55:47 PM8/1/13
to yal...@googlegroups.com
You would have to supply reproducible code as this shows nothing (except that the code creates something too large for YALMIP to handle)
Reply all
Reply to author
Forward
0 new messages