Filter löschen
Filter löschen

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

5 Ansichten (letzte 30 Tage)
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 Kommentar
Madeline Gardner
Madeline Gardner am 3 Jul. 2018
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Get Started with Optimization Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by