Skip to main content

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)

Uploaded Source

Built Distribution

cvxRiskOpt-0.1.2-py3-none-any.whl (25.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page