-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #57 from nwu63/cleanup
Minor fixes in preparation for release v1.0
- Loading branch information
Showing
17 changed files
with
124 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.. _alpso: | ||
|
||
ALPSO | ||
====== | ||
Augmented Lagrangian Particle Swarm Optimizer (ALPSO) is a PSO method that uses the augmented Lagrangian approach to handle constraints. | ||
|
||
API | ||
--- | ||
.. currentmodule:: pyoptsparse.pyALPSO.pyALPSO | ||
|
||
.. autoclass:: ALPSO | ||
:members: __call__ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.. _conmin: | ||
|
||
CONMIN | ||
====== | ||
CONstrained function MINimization (CONMIN) is a gradient-based optimizer that uses the methods of feasible directions. | ||
|
||
API | ||
--- | ||
.. currentmodule:: pyoptsparse.pyCONMIN.pyCONMIN | ||
|
||
.. autoclass:: CONMIN | ||
:members: __call__ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.. _paropt: | ||
|
||
ParOpt | ||
====== | ||
ParOpt is a nonlinear interior point optimizer that is designed for large parallel design optimization problems with structured sparse constraints. | ||
ParOpt is open source and can be downloaded at `https://github.com/gjkennedy/paropt <https://github.com/gjkennedy/paropt>`_. | ||
Documentation and examples for ParOpt can be found at `https://gjkennedy.github.io/paropt/ <https://gjkennedy.github.io/paropt/>`_. | ||
ParOpt does not provide version tagging, but the commit ``f692160`` from October 2019 has been verified to work. | ||
|
||
Installation | ||
------------ | ||
Please follow the instructions `here <https://gjkennedy.github.io/paropt/>`_ to install ParOpt as a separate Python package. | ||
Make sure that the package is named ``paropt`` and the installation location can be found by Python, so that ``from paropt import ParOpt`` works within the pyOptSparse folder. | ||
This typically requires installing it in a location which is already present under ``$PYTHONPATH`` environment variable, or you can modify the ``.bashrc`` file and manually append the path. | ||
|
||
API | ||
--- | ||
|
||
.. currentmodule:: pyoptsparse.pyParOpt.ParOpt | ||
|
||
.. autoclass:: ParOpt | ||
:members: __call__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Release Notes for pyOptSparse v1.0 | ||
|
||
October 22, 2019 | ||
|
||
v1.0 is the first major release of pyOptSparse. | ||
As such, the release notes will only highlight a few recent developments, rather than serve as an exhaustive list. | ||
|
||
## Bug Fixes: | ||
- various minor fixes to code testing | ||
|
||
## New Features: | ||
- ParOpt has been added as a new optimizer | ||
- Optimal Lagrange multipliers are now saved in the solution object as `lambdastar`, for those optimizers that provide this variable | ||
|
||
## Changes to code behavior: | ||
- SNOPT will no longer perform the additional function call after finishing the optimization. This was a feature of SNOPT meant for the user to perform any finalization and clean up, and write out any necessary files prior to the end of the program. However, this option was never provided to pySNOPT users, and therefore has been disabled. This will reduce the number of function evaluations for every optimization by one, with no impact on the final result. **However, the user can no longer rely on using `db[db['last']]` to retrieve the optimal design, since it may not be the last function evaluation.** The optimal design vector is stored under the key `xs`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters