Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Rows columns (nodes) that do not meet fmincon constraints

2 visualizaciones (últimos 30 días)
Sameer
Sameer el 1 de Jun. de 2014
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
How can we output to the screen the columns that are unable to meet the constraints of fmincon, using "disp()"?

Respuestas (1)

Matt J
Matt J el 2 de Jun. de 2014
Editada: Matt J el 2 de Jun. de 2014
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 )

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by