Null space algorithm for nonlinear constrained optimization
Project description
Null space optimizer
nullspace_optimizer
is a package implementing the null space algorithm for nonlinear constrained
optimization.
Please cite the following references when using this source:
FEPPON, Florian, ALLAIRE, Grégoire, et DAPOGNY, Charles. Null space gradient flows for constrained optimization with applications to shape optimization. 2019. HAL preprint hal-01972915.
FEPPON, Florian. Shape and topology optimization of multiphysics systems. 2019. Université Paris-Saclay. Thèse préparée à l'École polytechnique.
Installation
# Light version
pip install nullspace_optimizer
# Full dependencies including colored output and plotting features
pip install nullspace_optimizer[colored,matplotlib]
Running examples
A few examples of 2-d inequality constrained optimization are available in the `examples' folder. They can be run from command line with
python -m nullspace_optimizer.examples.ex0
python -m nullspace_optimizer.examples.ex1
python -m nullspace_optimizer.examples.ex2
and so on.
For instance, running python -m nullspace_optimizer.examples.ex1
should produce the following figure:
Requirements
Runs with python 3.6 and the following libraries:
- numpy (>=1.12.1)
- scipy (>=0.19.1)
- cvxopt (>=1.2.1)
Optional dependencies:
- colored (>=1.3.93) (for colored output)
- matplotlib (>=2.0.2) (for displaying figures while running examples)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for nullspace_optimizer-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2349fb1336dbf04197ec9233a099708eece650bf9b770f07f0612272c7b672ed |
|
MD5 | 69b2f3f6d5b4da5fe5a32b1023547f19 |
|
BLAKE2b-256 | a7f20835a266071df085a10f9ac928e5fdd0712efea93ac347f6937613f6bf4f |
Hashes for nullspace_optimizer-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d23ad4de7e2f271aa6be2cf47ecd096b945773a756c867a4ae663a55ad106e56 |
|
MD5 | 02feeed94135932b6698bb2561f5b907 |
|
BLAKE2b-256 | c305f9a62b1239f57131bc0d259d67d3413d9aebb037e0bedcf4221d518e1a70 |