why fmincon optimizer does not optimize my last variable ?

1 visualización (últimos 30 días)
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.

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Get Started with Optimization Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by