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.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Problem-Based Optimization Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!