필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Rows columns (nodes) that do not meet fmincon constraints

조회 수: 1 (최근 30일)
Sameer
Sameer 2014년 6월 1일
마감: MATLAB Answer Bot 2021년 8월 20일
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