Limited-memory LDL factorization in Python
Details of the implemented method are published in the folling paper: D. Orban. Limited-Memory LDLT Factorization of Symmetric Quasi-Definite Matrices with Application to Constrained Optimization. Cahier du GERAD G-2013-87. GERAD, Montreal, Canada.
For the Python version:
For the Cython version, include everything needed for the Python version and add:
To run the tests:
- pytest.
LLDL.py
provides facilities for sparse matrices coming from the CySparse
library.
-
Clone this repo
git clone https://github.com/PythonOptimizers/LLDL.py
-
Copy
site.template.cfg
tosite.cfg
and modifysite.cfg
to match your configurationcp site.template.cfg site.cfg
-
Install
LLDL.py
python setup.py build python setup.py install [--prefix=...]
Additionnal dependencies:
bash pip install Cython pip install cygenja
-
Clone this repo
git clone https://github.com/PythonOptimizers/LLDL.py
-
Copy
site.template.cfg
tosite.cfg
and modifysite.cfg
to match your configurationcp site.template.cfg site.cfg
-
Install
LLDL.py
python generate_code.py python setup.py build python setup.py install [--prefix=...]
py.test -v tests