optimization cannot continue due to the evaluation function fail tocalculate the objectionfunction value,because fsolve can't converge using the variables given by multistat

조회 수: 3 (최근 30일)
I run a optimization process using the solver like multistart, globalsearch or simply using fmincon. The problem is that the evaluation function cannot calculate the value of the objection function using the optimization variables given by the multistart solver sometimes. Then the multistart solver cannot keep solving the problem until the fsolve in the evaluation function exceeds its Maxiteration. It will be a long time to wait. So I have to stop the whole optimization process everytime I face this problem. Besides, since the start points of the multistart are randomly choosen in the domain, I may lose the best optimization variables output by the multistart as I have to stop the optimization facing the problem mentioned above. Can anyone teach me how to fix the problem?
  댓글 수: 3
Torsten
Torsten 2024년 3월 1일
Can anyone teach me how to fix the problem?
I'd try to find the reason why the objective cannot be evaluated and avoid such parameter constellations.
chakwai
chakwai 2024년 3월 4일
편집: chakwai 2024년 3월 4일
Thank you for your kind answer. The objective function is a function that evluates a mean error of a physical quantity like stress, energy, or external force of a flexible beam. And the profile of the beam is parameterized by the variables given by the optimize solver. So the objective cannot be evaluated when the beam with such profile cannot be modeled to obtian its physical quantities at certain conditions. And there are mountains of the variables that could induce the beam to face this problem. I can avoid a part of the variables through adding a additional nonlinear constraint in the optimize solver but I cannot avoid all of the variables which could induce the problem.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Global or Multiple Starting Point Search에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by