Releases: mdolab/pyoptsparse
Releases · mdolab/pyoptsparse
v2.0.2
v2.0.1
pyOptSparse v2.0.1 release notes
This is a bugfix release. We have removed the git commit hash from the history file due to
- unless the code is pip-installed in place (via
-e
), the approach will not work in extracting the hash - there's a possibility that this causes some segfaults under MPI with PETSc. We're not sure if this is the root cause, but since we haven't fully debugged this we're removing it as a precaution.
v2.0
pyOptSparse v2.0 release notes
Features
- Support for SNOPT v7.2 has been removed. From this version forward the code will not be compatible with SNOPT v7.2. The currently tested version of SNOPT is v7.7. This is due to
pySNOPT
switching to a different entry point for SNOPT (snkerc
instead ofsnoptc
) which allows for a user-specifiedsnstop
function. This allows us to extract optimizer information at major iterations. - (#39) Major iteration counting has been implemented for SNOPT. All
callCounter
s will now contain the keyisMajor
which will beTrue
if the point evaluated was for a major step. Note that this is only supported for SNOPT, andisMajor
will be set to True for all call counters for other optimizers. - (#39) Additional information for the major iterations can now be stored when using SNOPT. The information stored can be selected via the option
Save major iteration variables
option. The choices are:step
merit
feasibility
optimality
penalty
Hessian
slack
lambda
condZHZ
.
The first five values are stored at every major iteration by default. Be careful with theHessian
option as the full Hessian matrix can be rather large, and unnecessarily bloat the history file size.
- (#77) A new
metadata
entry is now stored in the history file. This encodes the following information:optName
: name of the optimizationoptOptions
: all the optimization options usednprocs
: number of procs usedstartTime
: starting time as a stringendTime
: end time as a stringoptTime
: optimization time in secondsoptimizer
: name of the optimizerversion
: the pyOptSparse versiongitHash
: the git hash of the code used (as discussed in #42)
Bugfixes
v1.2
This is another minor release. Notable changes are:
sqlitedict
is now an external dependency, no longer provided by pyoptsparse itself- a
requirements.txt
file is provided to facilitate installation of Python dependencies - IPOPT wrapper has been updated to work with Python 3 (we have not updated the version of IPOPT supported)
- various minor documentation updates
- pyoptsparse is now continuously tested on Travis-CI