why fmincon optimizer does not optimize my last variable ?

1 Ansicht (letzte 30 Tage)
Yashar
Yashar am 9 Jun. 2012
Hello dear friends,
I am trying to do constraint optimization using 'fmincon' function from optimization toolbox on a cost function with 8 variables. Althought the function is being minimized but it seems that the eighth variable is not being changed during the optimization process and the initial value for this variable is given in the result vector. let me mention that changing the initial value of this variable does not affect the resulted optimum vector.
I am really confused with this & I am so grateful for all your helps.

Akzeptierte Antwort

Anton Semechko
Anton Semechko am 9 Jun. 2012
it seems that your cost function is independent of that last variable

Weitere 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