GithubHelp home page GithubHelp logo

cvxgrp / cvx_short_course Goto Github PK

View Code? Open in Web Editor NEW
310.0 27.0 118.0 19.97 MB

Materials for a short course on convex optimization.

License: Apache License 2.0

Jupyter Notebook 99.83% Python 0.06% Makefile 0.11%

cvx_short_course's Introduction

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.

cvx_short_course's People

Contributors

akshayka avatar dependabot[bot] avatar enzbus avatar gitriley avatar jaehyunp avatar junziz avatar phschiele avatar ptnobel avatar stevediamond avatar tschm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cvx_short_course's Issues

Radiation treatment example

@SteveDiamond wrote about the slow inpaiting example:

This example is not impressive anymore given all that's happened in computer vision. We should drop it. When I give the talk I use a radiation treatment planning example instead.

Please add the example

Sigma is not positive semi-definite in Simple portfolio optimization

Hi! First of all, I apologize if this is something that was already taken into account or not the appropriate place to comment this.

I came across this repo in Boyd's website and decided to follow the exercises. Then, when I tried to optimize the problem an error occurred saying the objective wasn't DCP. After a while, comparing with Boyd's notebook, I noticed that Sigma wasn't being positive semi-definite, and thus not convex.

Screen Shot 2022-06-22 at 7 05 26 PM

Does this make sense or is it just due to the randomness when creating the values?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.