fmincon Out of Memory Error

8 ビュー (過去 30 日間)
Paul K
Paul K 2019 年 8 月 15 日
回答済み: Siriniharika Katukam 2019 年 11 月 22 日
Hello, I'm trying to solve a non-linear optimization problem via fmincon and I'm getting the following out of memory error.
I'm using 'lbfgs' options for Hessian as my problem is fairly big but am still getting an out of memory error...
Error using ldl
Out of memory. Type HELP MEMORY for your options.
Error in formAndFactorAugMatrix
Error in formAndFactorAugMatrix
Error in barrier
Error in fmincon (line 813)
[X,FVAL,EXITFLAG,OUTPUT,LAMBDA,GRAD,HESSIAN] =
barrier(funfcn,X,A,B,Aeq,Beq,l,u,confcn,options.HessFcn, ...
Error in BLP_test_realData (line 172)
output.paramstar = fmincon(@(param)
BLP_objective(param,blp),param0,[],[],[],[],param_L,param_H,cons,options);

回答 (1 件)

Siriniharika Katukam
Siriniharika Katukam 2019 年 11 月 22 日
Hi Paul,
Please go through the documentation here and try changing the algorithms, recommendations for using these algorithms is also mentioned.
Hope this helps!

カテゴリ

Help Center および File ExchangeProblem-Based Optimization Setup についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by