Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a CLI tool to quickly plot optimization history #280

Open
ewu63 opened this issue Jan 31, 2022 · 2 comments
Open

Create a CLI tool to quickly plot optimization history #280

ewu63 opened this issue Jan 31, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@ewu63
Copy link
Collaborator

ewu63 commented Jan 31, 2022

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.

@ewu63 ewu63 added the enhancement New feature or request label Jan 31, 2022
@cherifM
Copy link

cherifM commented Feb 22, 2023

Hi @nwu63 ,
i think its really good idea, is plotOpt is python script? where i can find it ?
best regards,
cherif

@marcomangano
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants