zfista : A globally convergent fast iterative shrinkage-thresholding algorithm with a new momentum factor for single and multi-objective (convex) optimization
This code repository provides a solver for the proximal gradient method (ISTA) and its acceleration (FISTA) for both single and multi-objective optimization problems, including the experimental code for the Paper1 and Paper2.
An accelerated proximal gradient method for multiobjective optimization
Hiroki Tanabe, Ellen H. Fukuda, and Nobuo Yamashita
A globally convergent fast iterative shrinkage-thresholding algorithm with a new momentum factor for single and multi-objective convex optimization
Hiroki Tanabe, Ellen H. Fukuda, and Nobuo Yamashita
The solver can deal with the unconstrained problem written by
$$ \min_{x \in \mathbf{R}^n} \quad F(x) \coloneqq f(x) + g(x), $$
where $f$ and $g$ are scalar or vector valued function, $f$ is continuously differentiable, $g$ is closed, proper and convex. Note that FISTA also requires $f$ to be convex.
- Documentation: https://zalgo3.github.io/zfista/
Requirements
- Python 3.9 or later
Install
pip install zfista
Quickstart
from zfista import minimize_proximal_gradient
help(minimize_proximal_gradient)
For developers
Installation
pip install -e .
Examples
You can run some examples on jupyter notebooks.
pip install -e ".[examples]"
jupyter notebook
Testing
You can run all tests by
pip install tox
tox
Benchmark
You can run the benchmark by
pip install -e ".[bench]"
python runtests.py
Metadata
Release files for zfista 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| zfista-0.0.3.tar.gz | 20.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zfista-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.9 kB
Release files / zfista-0.0.3.tar.gz
| Download URL | zfista-0.0.3.tar.gz |
|---|---|
| Size | 20.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7cb88cfd9d46a6cd695a2ba5c7bffa8019ca8a0633d2bc573fe8fff44890aace
|
|
BLAKE2b-256 checksum How to use checksums |
82760a3d9111caf452cba4bf3c965eb66d4c77093b3e39280ce2f3903979dc8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / zfista-0.0.3-py3-none-any.whl
| Download URL | zfista-0.0.3-py3-none-any.whl |
|---|---|
| Size | 13.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d468fdea177b0ff295f90ab465b95a38f40201eadf3968def06697c6fe250c1d
|
|
BLAKE2b-256 checksum How to use checksums |
1ef0d644385085db3aea1738d1f1398cb8865678728bc860e95e72e6f5f7ab94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for zfista 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.