How to save a variable in optimization fitness or constrain function ?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi I am curious about how to store the 'obj' variable (I mean fitness value) and 'con' variable (I mean constrain value) to workspace during running algorithm??? I need to save them in each iteration ? For instance, I am interested in building a matrix which is filled with the variable by the rows in optimization problem. The variable is available in fitness function and constrain function in my code...
Thanks a lot.
0 comentarios
Respuestas (1)
Ver también
Categorías
Más información sobre Solver Outputs and Iterative Display 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!