Why does the QUADPROG function not display the iterations?

I am using the QUADPROG function, and I want to see the iterations. I use the OPTIMSET function to set the "Display" option to "iter":
H = [1 -1; -1 2]
f = [-2; -6]
A = [1 1; -1 2; 2 1]
b = [2; 2; 3]
lb = zeros(2,1)
options=optimset('quadprog');
options=optimset(options,'Display','iter');
[x,fval,exitflag,output,lambda] = quadprog(H,f,A,b,[],[],lb,[],[],options)
However, I do not see the iterations when I run my code.

 채택된 답변

MathWorks Support Team
MathWorks Support Team 2010년 10월 27일

0 개 추천

Output from each iteration using the "Display" option with the OPTIMSET function is not available for QUADPROG.
This is specified in the "Limitations" section of the QUADPROG documentation, which can be accessed by typing "doc quadprog" at the MATLAB command prompt.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Problem-Based Optimization Setup에 대해 자세히 알아보기

제품

릴리스

R14SP2

Community Treasure Hunt

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

Start Hunting!

Translated by