pyoptsparse
pyoptsparse copied to clipboard
Create a CLI tool to quickly plot optimization history
Description of feature
I'm thinking something like
plotOpt <file> --vars "feasibility" "optimality" --vars "cruise_drag" "maneuver_drag" --vars "twist" --output opt.png
which will generate a 3x1 stacked plot of these variables over optimization iterations. Should be pretty straightforward to make.
Hi @nwu63 , i think its really good idea, is plotOpt is python script? where i can find it ? best regards, cherif
Hello, this feature has not been implemented so far. To monitor and plot the optimization history, you can use OptView. You can also access the history file as done in this example (check the .hst database layout here) to retrieve all the database info in a dictionary format for your postprocessing purposes.