필터 지우기
필터 지우기

Solver stopped prematurely. fmincon stopped because it exceeded the function evaluation limit, options.Ma​xFunctionE​valuations = 10000 (the selected value).

조회 수: 5 (최근 30일)
Solver stopped prematurely. MaxFunctionEvaluation. How can i solve this error. And how to find global min or optimal solution. Fixing the X0 can generate the result or do i need to modify something else. If some-one knows please help. Thank You.
  댓글 수: 1
Madeline Gardner
Madeline Gardner 2018년 7월 3일
You can look into optimoptions to create a new options variable with a higher MaxFunctionEvaluations attribute and then call fmincon again using these new options. However this may also be a sign that your initial conditions are too far off or that one of your functions is inefficient, which is a different issue.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with Optimization Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by