surrogateopt iterative display error

While using surrogateopt I recieve the following error only when I enable the display of iterative output messages ('Display','iter' set using optimoptions):
"Error using fprintf
Function is not defined for 'struct' inputs."
My optimization problem has non-linear constraints so I am using a function that generates a struct with a .fval field. It seems like there could be an imcompatibility between that and the output text function, but I want to see if there is something I am not doing correctly.

댓글 수: 2

Alan Weiss
Alan Weiss 2020년 4월 23일
What software version are you using? Nonlinear constraint support was introduced in R2020a.
Alan Weiss
MATLAB mathematical toolbox documentation
Alan Buehne
Alan Buehne 2020년 4월 23일
2019b. I guess I need to upgrade; thank you.

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Surrogate Optimization에 대해 자세히 알아보기

제품

릴리스

R2019b

태그

질문:

2020년 4월 21일

댓글:

2020년 4월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by