Using fmincon for optimization, when having too many variables
Mostrar comentarios más antiguos
Hi guys, I wanted to use the "fmincon" in the optimization toolbox to minimize my objective function. The only problem is that I have many variables. should I manually type the objective function :f(X)=x(1)+x(2)+...+x(n) ? Is there no other way?
Thanks in advance.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Solver Outputs and Iterative Display en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!