Augmented Lagrangian and PANOC solvers for nonconvex numerical optimization.
Project description
alpaqa is an efficient implementation of an augmented Lagrangian method for general nonlinear programming problems, which uses the first-order, matrix-free PANOC algorithm as an inner solver. The numerical algorithms themselves are implemented in C++ for optimal performance, and they are exposed as an easy-to-use Python package.
The solvers in this library solve minimization problems of the following form:
\begin{equation*}
\begin{aligned}
& \underset{x}{\textbf{minimize}}
& & f(x) &&&& f : {{\rm I\mathchoice{\hspace{-2pt}}{\hspace{-2pt}}{\hspace{-1.75pt}}{\hspace{-1.7pt}}R}}^n \rightarrow {{\rm I\mathchoice{\hspace{-2pt}}{\hspace{-2pt}}{\hspace{-1.75pt}}{\hspace{-1.7pt}}R}} \\
& \textbf{subject to}
& & \underline{x} \le x \le \overline{x} \\
&&& \underline{z} \le g(x) \le \overline{z} &&&& g : {{\rm I\mathchoice{\hspace{-2pt}}{\hspace{-2pt}}{\hspace{-1.75pt}}{\hspace{-1.7pt}}R}}^n \rightarrow {{\rm I\mathchoice{\hspace{-2pt}}{\hspace{-2pt}}{\hspace{-1.75pt}}{\hspace{-1.7pt}}R}}^m
\end{aligned}
\end{equation*}
Documentation
Installation
The Python interface can be installed directly from PyPI:
python3 -m pip install alpaqa
For more information, please see the full installation instructions.
Publications
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
alpaqa-1.0.0a1.tar.gz
(70.8 kB
view hashes)
Built Distributions
Close
Hashes for alpaqa-1.0.0a1-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 194ae232d84ee2e9004baa84cb64b04cb5d53531a04e7cac821e52eefdf6cde2 |
|
MD5 | 9873f68fd3dace3fe938c87b3cf4af6d |
|
BLAKE2b-256 | f507b76e1943b569a86b19a469181d96ac0df39ad7553038aa57b3645cb41451 |
Close
Hashes for alpaqa-1.0.0a1-cp311-cp311-manylinux_2_27_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c805ca7e31d17abbd40c37691d369d3ad924500549feaa9abd9742a278598ba8 |
|
MD5 | 0365ca8f766fe899d2ec0f6932d50ee3 |
|
BLAKE2b-256 | af7a33ed742e4da4db95f679852a15d72bf562d2b601e2404b6b379704bde780 |
Close
Hashes for alpaqa-1.0.0a1-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3c9b4ae7c2bc4b9edea229f414b838ef3e20e5bab36459a03033eb13bcedfb5 |
|
MD5 | 8ef7b97a8e0e5b82648e1ff3afdd1219 |
|
BLAKE2b-256 | f181650748c3d8fb0a0b45d9a43d99a2090ccd454e685077d7931572915f8cb3 |
Close
Hashes for alpaqa-1.0.0a1-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7445672da07f77975fce0a07f7077b09d1350c3322610a25d6da61dd099ecea |
|
MD5 | 9d57266e7a1fb702e9ffba8708fd3280 |
|
BLAKE2b-256 | d38576259975d2078c778bcd1bd18a5d6cfdfd33480592631323805e796c92c4 |
Close
Hashes for alpaqa-1.0.0a1-cp310-cp310-manylinux_2_27_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff03488fff569b3e2f05c8e62ea63bafc1907bad371106d7937fd3bab2517fd9 |
|
MD5 | 7c1ea4b8cb6a6ed8b9a3e9b4d47a5fde |
|
BLAKE2b-256 | bc19f269563aa77fc4753ee359bd5f7d591d179a5634ff4da305b933e1691386 |
Close
Hashes for alpaqa-1.0.0a1-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41b173800ec35167ba5843f312948ff7508e834237495730da8d19c0d1bead63 |
|
MD5 | 9b9c3c07c074a3eda33a9d77af0bd886 |
|
BLAKE2b-256 | 9e9e8a80598149a1435bda5e972b387d4fb4b1e88fb2fd449b6fede79469b304 |
Close
Hashes for alpaqa-1.0.0a1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dc7401783645cf656da55a916a5392b26917fab06808541a9e8b5e74f411aa8 |
|
MD5 | d6d03df1f2fb53fd03c05078099617c9 |
|
BLAKE2b-256 | edad02bbdcae90c88374aed4f2afd07e2e82e8c10808bb010202614ca6e2ceec |
Close
Hashes for alpaqa-1.0.0a1-cp39-cp39-manylinux_2_27_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f8c5f3cdd3237755f96093c2d753cc4da2c84f9a90f7dbee8aa8bf371e5ed42 |
|
MD5 | 33ddf37d051f549fe00b47eb8b7f20af |
|
BLAKE2b-256 | 62c98822895dc02ceefd0523ef9b4066a39e6b13ab4d8c66de28d0747540a50b |
Close
Hashes for alpaqa-1.0.0a1-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3db9d19d89326d64642e6151eab5725509a4904b69c9d878183440dc5599e041 |
|
MD5 | a30d135ce94371f0694f27aa85b61c8e |
|
BLAKE2b-256 | ed7916261ac816077ff7aa89b68275986d61127098ccbc5623d00a1dee34c11e |
Close
Hashes for alpaqa-1.0.0a1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0de4cef7e388eebdd5ffccdc995e6eca5456fe51cd37ea1ba99dad9a5f5e4d1 |
|
MD5 | 4f24596a3fd1bb7fe78598222a698b8d |
|
BLAKE2b-256 | bff2d64f6535b48f7bf883bebd8dee0d8c6673af78bbd2a3d21d32e75158d6be |
Close
Hashes for alpaqa-1.0.0a1-cp38-cp38-manylinux_2_27_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00bfb19f1deaeb23c64e4b8ed69dcc5753c69bccdc3e81b12d626dd7ea291af5 |
|
MD5 | b49e6e90dd187d98e6169827b4d34a84 |
|
BLAKE2b-256 | 256c58f82143216b21b37eede8150627b5b55f80f293c80b669335db9cfac730 |
Close
Hashes for alpaqa-1.0.0a1-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d706737e215006edc87cf85ccf5c2f3150eea85628d367208b49df61443bb0a |
|
MD5 | 93b3b9d39157ad030fa82739ded13eff |
|
BLAKE2b-256 | eab8fcb1f6a9a05ee30042745adf3a7e09ba6410a860e2868b3515b7a9cdf6c4 |
Close
Hashes for alpaqa-1.0.0a1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6b5a8e0ec0519ce6832c39650b385d627ce505804eb5b3a59f53440ddc6cec7 |
|
MD5 | 00fefec26ace823ffad13f0a35fbc077 |
|
BLAKE2b-256 | c53ec99c879330816c68a155f2219c1a7972979a76ebe2e4b2ea79c63901c0bd |
Close
Hashes for alpaqa-1.0.0a1-cp37-cp37m-manylinux_2_27_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f26e640a17cb9ae9f302824dd2f83ffb48a81d2c7b06134f8e0d19a6a6499747 |
|
MD5 | 097cfb9a22fef3d33dd6b60dc55eb2fc |
|
BLAKE2b-256 | b0d25dbfb80310466a228d7458f7ea730262aa9e6a512c7eecad57da2c1c7d08 |
Close
Hashes for alpaqa-1.0.0a1-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bba544609bfa0b009e524e4da0201e5879330e68fae84821e572e043067b975f |
|
MD5 | 6fc84da860b9fe517672d18f66b4ec2c |
|
BLAKE2b-256 | b3a2ad2fb6403edbc0a574d5410483a6a8cd7f5c278bc871191284560aa442b9 |