how can we chose the intial point in fmincon optimization

sir , how can we chose the intial parameter i.e x(0) in Fmincon optimization tool get the value of the function

Answers (2)

From the doc for fmincon
x = fmincon(fun,x0,A,b)
And for more info:
doc fmincon
You can choose it randomly, or you can choose it as "a good guess" based upon other knowledge, or you can choose it based upon the output of a minimization for similar parameters, or you can choose it "half way" through your range, or you can use all zeros (if zero is within your constraints), or you can use the winning lottery numbers from the previous night.

This question is closed.

Asked:

on 24 Sep 2012

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!