Skip to content

Commit 1c2bc25

Browse files
authored
Switch to using BaseSolver (#193)
* switched to using BaseSolver * updated setup.py * updated init * added checkDefaultOptions * fixed default option type * updated default SNOPT options * renamed def_options * more overhaul of pySNOPT * removed very old numpy warning * added back on set/get options since those are mandatory * updated init API * made IPOPT also not use default options list * bump baseclasses version * renamed optimizer pages due to sphinx being weird * added autodoc mock import for baseclasses * updated capitalization in SNOPT * fixed bug in ALPSO * updated _on_setOption etc. * updated SNOPT doc * bump baseclasses version * version bump * addressed comments
1 parent 09f11d2 commit 1c2bc25

File tree

24 files changed

+155
-599
lines changed

24 files changed

+155
-599
lines changed

doc/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,6 @@
2222
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
2323
# ones.
2424
extensions.extend(["numpydoc", "ext.optimizertable"])
25+
26+
# mock import for autodoc
27+
autodoc_mock_imports = ["baseclasses"]

doc/index.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ To get started, please see the :ref:`install` and the :ref:`quickstart`.
5252
:caption: Optimizers
5353
:hidden:
5454

55-
optimizers/pysnopt
56-
optimizers/pyipopt
57-
optimizers/pyslsqp
58-
optimizers/pynlpqlp
59-
optimizers/pynsga2
60-
optimizers/pypsqp
61-
optimizers/pyparopt
62-
optimizers/pyconmin
63-
optimizers/pyalpso
55+
optimizers/SNOPT
56+
optimizers/IPOPT
57+
optimizers/SLSQP
58+
optimizers/NLPQLP
59+
optimizers/NSGA2
60+
optimizers/PSQP
61+
optimizers/ParOpt
62+
optimizers/CONMIN
63+
optimizers/ALPSO
File renamed without changes.
File renamed without changes.

doc/optimizers/pyipopt.rst renamed to doc/optimizers/IPOPT.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ Here we explain a basic setup using MUMPS as the linear solver, together with ME
7878

7979
Options
8080
-------
81+
Please refer to the `IPOPT website <https://coin-or.github.io/Ipopt/OPTIONS.html>`__ for complete listing of options.
82+
The following are the options which are set by default within pyOptSparse.
83+
All other options take the default value with IPOPT unless specified by the user.
84+
8185
.. optimizertable:: pyoptsparse.pyIPOPT.pyIPOPT.IPOPT
8286
:type: options
8387

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)