Why does matlab's quadratic programming toolbox output specific iteration information every 5 steps

This is my code, and deltaU0 is initial value,I would like to get the result of each iteration of the quadratic programming active set method and store it in the workspace. But now it prints on the command line and it prints the iteration info every five steps instead of every step.
options = optimoptions('quadprog','Algorithm','active-set','Display','iter-detailed');
[deltaU,fval,exitflag,output]=quadprog(W,f,G,g,[],[],[],[],deltaU0,options);
Here is a screenshot of the output from the command line。

2 件のコメント

Matt J
Matt J 2022 年 11 月 17 日
We can't run the code without W,f,G,g,deltaU0.
nan
nan 2022 年 11 月 17 日
Hello friends, let me add W,f,G,g,deltaU0. In the uploaded attachment, g is replaced by gg

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeProblem-Based Optimization Setup についてさらに検索

製品

リリース

R2021a

質問済み:

nan
2022 年 11 月 17 日

コメント済み:

nan
2022 年 11 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by