Risk-Based Optimization tool using CVXPY and CVXPYgen
Project description
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 withhomebrew
on MacOS)
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cvxriskopt-0.1.4.tar.gz
(30.4 kB
view hashes)
Built Distribution
cvxRiskOpt-0.1.4-py3-none-any.whl
(26.9 kB
view hashes)
Close
Hashes for cvxRiskOpt-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cd907ef4a63a0db7cad34a699f8abe75db26af3c191e7d3e9211788f2639fbf |
|
MD5 | c9cdf409d4f127178d5f02e90086c7f5 |
|
BLAKE2b-256 | 96fb822829ad50d118285cab9e4eaf75a51d78ef1108266d1a76599a3ee0307a |