Skip to content

Releases: mdolab/pyoptsparse

v2.1.5

09 Aug 13:52
9ca1b96
Compare
Choose a tag to compare

pyOptSparse v2.1.5 release notes

This releases fixes the following bug:

  • Added negative informs to PSQP (#148)

v2.1.4

07 Aug 17:17
bf971bd
Compare
Choose a tag to compare

pyOptSparse v2.1.4 release notes

This is another bugfix release for pyOptSparse.
Bug fixes

  • Various fixes to the History object (#140, #142, #144)
    Maintenance:
  • Updated setup.py to make optview an entry-point available as a CLI program without needing an alias (#134)

v2.1.3

15 Jul 15:41
772566c
Compare
Choose a tag to compare

pyOptSparse v2.1.3 release notes

This is a patch release for pyOptSparse. Changes are:

  • Updated IPOPT to support v3.13.2 (#133)
  • Properly set the informs for all optimizers that support them (#138)
  • Documentation update (#131)

v2.1.2

20 Jun 02:37
80c70e0
Compare
Choose a tag to compare

pyOptSparse v2.1.2 release notes

This is a new patch release of pyOptSparse.

New features:

  • Added new environment variable controlling MPI import (#118, #121)
  • Added ParOpt support, now pinning ParOpt version 2.0.2

Maintenance updates:

  • Updated documentation (#123, #130)
  • Removed wrapper for FSQP and NLPY_AUGLAG, both of which were deprecated and not usable. This should not impact anyone.

v2.1.1

02 Jun 17:21
30b4ecd
Compare
Choose a tag to compare

pyOptSparse v2.1.1 release notes

This is a new patch release of pyOptSparse.

Bug fixes

  • Fix for multiplier extraction (#103)
  • Fix for complex value in optimization summary print out (#102)
  • Fix bug in setDVs when setting a subset of DVs (#109)

Code Maintenance

  • Added dependencies to setup.py (#106)
  • Various documentation updates
  • Temporarily removed official support for ParOpt (#112). The wrapper will still be provided by pyOptSparse, but we no longer test it until ParOpt provides stable releases, i.e. semantic versioning of the code.

v2.1.0

03 May 17:24
53426d8
Compare
Choose a tag to compare

pyOptSparse v2.1.0 release notes

This is a new minor release of pyOptSparse.

New Features

  • Added new API for accessing pyOptSparse history files (#84, #87, #99)

Bugfixes and Code Maintenance

  • Updated informs from IPOPT (#91)
  • Code cleanup for Python 3 and updated Travis (#92)
  • Updated tests (#95)
  • Refactored the code for performing input/output scaling (#93)
  • Fixed ParOpt wrapper (#97, #98)
  • Adopted black for formatting, and uses flake8 for linting (#100)

v2.0.3

16 Mar 21:36
b8642c0
Compare
Choose a tag to compare

pyOptSparse v2.0.3 release notes

This is a minor bugfix release related to the Lagrange multiplier scaling in the solution object.
See #81 for details.

v2.0.2

05 Mar 21:54
32a61fe
Compare
Choose a tag to compare

pyOptSparse v2.0.2 release notes

This is a bugfix release to address #80 related to hotstarts when saving the history file.

v2.0.1

26 Feb 22:52
907b558
Compare
Choose a tag to compare

pyOptSparse v2.0.1 release notes

This is a bugfix release. We have removed the git commit hash from the history file due to

  1. unless the code is pip-installed in place (via -e), the approach will not work in extracting the hash
  2. 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

19 Feb 18:51
e772e84
Compare
Choose a tag to compare

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 of snoptc) which allows for a user-specified snstop function. This allows us to extract optimizer information at major iterations.
  • (#39) Major iteration counting has been implemented for SNOPT. All callCounters will now contain the key isMajor which will be True if the point evaluated was for a major step. Note that this is only supported for SNOPT, and isMajor 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 the Hessian 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 optimization
    • optOptions: all the optimization options used
    • nprocs: number of procs used
    • startTime: starting time as a string
    • endTime: end time as a string
    • optTime: optimization time in seconds
    • optimizer: name of the optimizer
    • version: the pyOptSparse version
    • gitHash: the git hash of the code used (as discussed in #42)

Bugfixes