why it is getting empty matrices please suggest me?
1 view (last 30 days)
Show older comments
aaa=[0.0014 0 0 0;0 0.0006 0 0;0 0 0.0040 0;0 0 0 0.0016];
>> bbb=[16.1900 17.2600 16.6000 27.7400];
>> ccc=[1 1 1 1];
>> ddd=1000.6;
>> eee=[150.000 238.0534 20.000 25.000];
>> fff=[455.000 283.0534 130.000 85.000];
>> ggg=[302.500 260.5534 75.000 55.000];
>> options=optimset('LargeScale','off','MaxPCGIter',50,'PrecondBandWidth',inf);
>> [sss,ooo]=quadprog(aaa,bbb,[],[],ccc,ddd,eee,fff,ggg,options);
i getting sss=[] and ooo=[] why?
please rectify my problem?
0 Comments
Answers (1)
Sivsankar
on 26 Nov 2024
You can refer the following MATLAB answer as this is a duplicate of it:
https://www.mathworks.com/matlabcentral/answers/514290-quadprog-getting-empty-output-how-to-rectify\
Thanks
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!