Reputation: 2583
Is there a way to specify a single run of an assembly that is run with an optimizer driver from the calling script in OpenMDAO v0.13?
Upvotes: 1
Views: 55
Reputation: 2202
So you want to run the model that you are optimizing just once? I think you can do that with:
top.driver.run_iteration()
Usually though, I just comment out the lines where I added the optimizer and then run the model like normal.
Upvotes: 3