why fmincon optimizer does not optimize my last variable ?

1 vue (au cours des 30 derniers jours)
Yashar
Yashar le 9 Juin 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.

Réponse acceptée

Anton Semechko
Anton Semechko le 9 Juin 2012
it seems that your cost function is independent of that last variable

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with Optimization Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by