why fmincon optimizer does not optimize my last variable ?

1 visualizzazione (ultimi 30 giorni)
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.

Risposta accettata

Anton Semechko
Anton Semechko il 9 Giu 2012
it seems that your cost function is independent of that last variable

Più risposte (0)

Categorie

Scopri di più su Get Started with Optimization Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by