Infinite Objective Function Values in surrogateopt

조회 수: 8 (최근 30일)
Christian Hauschel
Christian Hauschel 2021년 2월 17일
댓글: Mario Malic 2021년 2월 17일
How does the surrogateopt algorithm handle Inf values (I use it as return value for errors using try/catch) of the objective function? Will it distort the surrogate and negatively impact the optimization?
  댓글 수: 1
Mario Malic
Mario Malic 2021년 2월 17일
Hi,
It's questionable, under algorithms, there's a link that leads to detailed description of procedure. The surrogateopt (may or will, I haven't dug deep into it) call fmincon which can't handle NaN or Inf values according to this answer from long time ago.
It's best to wait for advice from someone who knows this solver very well. Below is not well-informed suggestion that you could do.
Maybe you can set the value of objective function to be the maximum of previous ones or few times higher, or set the value of constraint violation for that evaluation to be higher than the constraint tolerance.

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

답변 (0개)

카테고리

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

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by