pyoptsparse icon indicating copy to clipboard operation
pyoptsparse copied to clipboard

Improve temp file usage in History class

Open ewu63 opened this issue 4 years ago • 0 comments

Description

In the pyOpt_optimizer class, we currently use tempfile.mktemp() which is deprecated. We should instead use the existing temp file capabilities of the sqlitedict package.

This fix would involve both the pyOpt_optimizer and History classes, and the temp option should be handled inside the history class instead of delegating the tempfile stuff to the user.

ewu63 avatar Mar 20 '21 00:03 ewu63