Risk-Based Optimization tool using CVXPY and CVXPYgen
Project description
CVXPY Risk Optimization
A package for risk-based optimization using CVXPY and CVXPYgen.
Installation
- create and activate conda env
conda create --name cvxRiskOpt python=3.10 pip -y
conda activate cvxRiskOpt
- install dependencies
pip install cvxpy>=1.4.1
pip install cvxpygen>=0.3.4
pip install scipy>=1.11.4
pip install numpy>=1.26.2
pip install matplotlib>=3.8.0
For development, also install:
pip install pytest==7.4.0
pip install polytope==0.2.5
pip install Sphinx==7.2.6
- install the package
python3 -m pip install -e .
Tests
To run tests,
pytest
Examples
There are several examples in examples
demonstrating the usage of the package's functionality.
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.2.tar.gz
(28.3 kB
view hashes)
Built Distribution
cvxRiskOpt-0.1.2-py3-none-any.whl
(25.3 kB
view hashes)
Close
Hashes for cvxRiskOpt-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbc964bc2960ea3b8ba73b62025091bb87946012bb9f223d2c68ef3c99ae4514 |
|
MD5 | 5d81b140d03cf8917aafe539562b84a1 |
|
BLAKE2b-256 | 4ab5ac12c7c5ac6627ad0b95eee43ca398ccc4aecc5705a547c680939b3c03ce |