Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

fmincon reach the minimum of object function

3 Ansichten (letzte 30 Tage)
Guanfeng Gao
Guanfeng Gao am 28 Mai 2015
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
I am confused while using the fmincon to search the minimum of an object function. Question 1: using the fmincon and stop(controlled by the optimization function to make the max iteration a small value, say 20) and then I get the one output. Then I continue to search the minimum using this output as the input of the fmincon's first guess. What I find is that the fmincon will change the searching direction and step, and sometimes the object function value will first increase and then decrease. How could it happen?
Question2: base on first Question, Here is the screenshot of the output. The object function value will increase in the 30, how could I make the searching more efficient to get the minimum of object function?

Antworten (0)

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by