Processing of NaN or Inf function evaluations by fminbnd

조회 수: 5(최근 30일)
Mark Stone
Mark Stone 2020년 2월 27일
댓글: Mark Stone 2020년 2월 28일
How are NaN or Inf function evaluations handled by fminbnd?
Per , the default 'off' for FunValCheck allows fminbnd to proceed when the objective function returns a value that is complex or NaN. Under this default setting, how exaclty does it proceed when NaN is retunred? If Inf is returned by the function evaluation, does the algorithm proceed the same way as if NaN is retunred by the function evaluation?
I am interested in definitive answers, even if only partial, not speculation. Thanks.
  댓글 수: 2
Mark Stone
Mark Stone 2020년 2월 28일
Thanks. How stupid of me not to check for "existence" of source code. I was assuming the source code was not available to users. I will study the source code, which sure enough is in my MATLAB installation.

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



Find more on Optimization in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by