Skip to content

cvxgrp/cvx_short_course

Repository files navigation

CVXPY is an open source Python-embedded modeling language for convex optimization problems. It lets you express your problem in a natural way that follows the math, rather than in the restrictive standard form required by solvers. This tutorial will cover the basics of convex optimization, and how to use CVXPY to specify and solve convex optimization problems, with an emphasis on real-world applications. No prior knowledge of convex optimization is assumed.

Getting started

  1. Clone this repository.
  2. Install CVXPY following these instructions. We recommend Python 3.10 and CVXPY 1.3.
  3. Test your CVXPY installation by running test.py in the repository.