What exactly does TolCon do and how is relative max(constraint violation) calculated?

조회 수: 10 (최근 30일)
Vincent
Vincent 2012년 5월 15일
답변: ortegga 2017년 4월 14일
Dear all,
I have been googling my fingers off trying to find a complete description of how TolCon exactly influences an fmincon optimization. TolX and TolFun regard relative changes, relative to the previous step. So far so clear. But upon termination of fmincon, option.TolCon is compared to the relative max(constraint violation).
What does relative max(constraint violation) mean? How is it calculated? To what is it relative?
I'd be grateful for answers. I would not asking if had not been googling for a day.

답변 (3개)

Alan Weiss
Alan Weiss 2012년 5월 15일
편집: John Kelly 2013년 11월 19일
Tolerances are described here. Relative can mean relative to the value at the initial point x0. There are a variety of stopping criteria that are not 100% consistent from solver to solver, or from algorithm to algorithm, so there is no universal definition. Sorry.
Most exit messages these days contain the information on what caused the solver to stop. These are the "enhanced" exit messages in fmincon, fminunc, lsqnonlin, lsqcurvefit, fsolve, and maybe a few more that I am forgetting right now.
Alan Weiss
MATLAB mathematical toolbox documentation

genevois pierre
genevois pierre 2012년 10월 22일
hi, the link in "Tolerances are described here" is not set : could you arrange this ? Thank you.
  댓글 수: 1
Alan Weiss
Alan Weiss 2012년 10월 22일
Sorry, the documentation changed under us. I just updated the links.
Alan Weiss
MATLAB mathematical toolbox documentation

댓글을 달려면 로그인하십시오.


ortegga
ortegga 2017년 4월 14일
You coded this with your ass

카테고리

Help CenterFile Exchange에서 Nonlinear Optimization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by