Info

此问题已关闭。 请重新打开它进行编辑或回答。

Rows columns (nodes) that do not meet fmincon constraints

1 次查看(过去 30 天)
How can we output to the screen the columns that are unable to meet the constraints of fmincon, using "disp()"?

回答(1 个)

Matt J
Matt J 2014-6-2
编辑:Matt J 2014-6-2
Just evaluate the constraints manually to see which are not satisfied
>> A*x-b>options.TolCon,
>> abs(Aeq*x-beq)>options.TolCon
You could also use disp, but I don't see why you'd prefer it,
>> disp( A*x-b>options.TolCon )

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by