Good afternoon, colleagues.
Can you help me? I’m trying to set hist_file option to the pyOptSparseDriver with the following code:
prob.driver = om.pyOptSparseDriver(hist_file=’OptView.hst’)
I get an error:
KeyError: “pyOptSparseDriver: Option ‘hist_file’ cannot be set because it has not been declared.”
What am I doing wrong? Unfortunately, I couldn’t find any information about using this option in the manual. I think it’s a file extension issue. What extension is supported?
And do I understand correctly that in order to use the hotstart_file option I must specify the hist_file?
Gittwell is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1