CVXPY Risk Optimization
A package for risk-based optimization using CVXPY and CVXPYgen.
Installation
Installing from PyPI
The package can be installed using pip:
pip install cvxRiskOpt
Notes:
- The installation will also include cvxpy and cvxpygen.
- Please refer to cvxpy's documentation for installing additional solvers.
- Compiling code with Clarabel requires
Rust,Eigen, andcbindgen. (e.g. These can be installed withhomebrewon MacOS) - Compiled code using the ECOS solver is licensed under the GNU General Public License v3.0.
- Please refer to the cvxpygen documentation for more details about compiled code.
Installing from source
- Clone/Download the package
- Create and activate conda env
conda create --name cvxRiskOpt python=3.10 pip -y
conda activate cvxRiskOpt
- Install dependencies (see
setup.py) - Install the package
python3 -m pip install -e .
Tests
To run tests, execute the following from the root of the package.
pytest
Examples
There are several examples in examples demonstrating the usage of the package.
Metadata
Release files for cvxRiskOpt 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cvxriskopt-0.2.0.tar.gz | 22.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cvxRiskOpt-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.0 kB
Release files / cvxriskopt-0.2.0.tar.gz
| Download URL | cvxriskopt-0.2.0.tar.gz |
|---|---|
| Size | 22.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b21e1b6421ba7c0d41ccfee1e44ecdd99b8b8b5ab46dc3cc409a57171020ae41
|
|
BLAKE2b-256 checksum How to use checksums |
a00258a53aa5a1e8194dbe8ad64911e5f8bef5772cc42d6abfedd19fa3510b99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.14
|
Release files / cvxRiskOpt-0.2.0-py3-none-any.whl
| Download URL | cvxRiskOpt-0.2.0-py3-none-any.whl |
|---|---|
| Size | 18.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f91b04e8a3770076f75e5ac11b6bdd4e97d4940599d9526f7c10e56987223183
|
|
BLAKE2b-256 checksum How to use checksums |
ec975bdcc38df0413c548592b11069561739dde043de2eaf367d55b4fa7c6613
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.14
|