Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Large-Scale method and struct error in portfoptimdemo

2 Ansichten (letzte 30 Tage)
Christian
Christian am 19 Jun. 2016
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
I have troubles with quadprog and for test purpose I ran the demo file portfoptimdemo. This produces:
>> portfoptimdemo
Warning: Large-scale method does not currently solve this problem formulation, using medium-scale method instead. > In quadprog at 264 In portfoptimdemo at 80 Undefined function 'le' for input arguments of type 'struct'.
Error in qpsub (line 133) i = max(find(ACTIND<=neqcstr));
Error in quadprog (line 299) [X,lambdaqp,exitflag,output,dum1,dum2,msg]= ...
Error in portfoptimdemo (line 80) [x1,fval1] = quadprog(Covariance,c,Aineq,bineq,Aeq,beq,lb,ub,[],options);
Any idea what is going wrong?
Best regards
Christian

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by