Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement the embedding algorithm for a set of well known Convex Optimization problems #1

Open
3 of 9 tasks
GiulioRomualdi opened this issue Apr 20, 2021 · 0 comments
Assignees

Comments

@GiulioRomualdi
Copy link
Owner

GiulioRomualdi commented Apr 20, 2021

SCS solves the problem in this form

 minimize     cᵀx
 subject to   A x + s = b
              s in K

where the cone K can be any Cartesian product of the following primitive cones:

  1. zero cone {x | x = 0 } (dual to the free cone {x | x in R})
  2. positive orthant {x | x >= 0}
  3. second-order cone {(t,x) | ||x||_2 <= t}
  4. positive semidefinite cone { X | min(eig(X)) >= 0, X = Xᵀ }
  5. exponential cone {(x,y,z) | y e^(x/y) <= z, y>0 }
  6. dual exponential cone {(u,v,w) | −u e^(v/u) <= e w, u<0}
  7. power cone {(x,y,z) | x^a * y^(1-a) >= |z|, x>=0, y>=0}
  8. dual power cone {(u,v,w) | (u/a)^a * (v/(1-a))^(1-a) >= |w|, u>=0, v>=0}

In order to use scs to solve simple optimization problems, we should implement the so-called embedding procedure to convert cost and constraints in a form that can be digested by scs

For each component, I should modify the Solver class. I also plan to document the mathematical passages required to perform the conversion

  • Linear Cost
    • Implementation: 449111d
    • Documentation
  • Quadratic Cost
    • Implementation: 428376e
    • Documentation
  • Linear Constraint
    • Implementation: 4df93e8
    • Documentation
@GiulioRomualdi GiulioRomualdi self-assigned this Apr 20, 2021
@GiulioRomualdi GiulioRomualdi changed the title Implement the embedding algorithm for set of well known Convex Optimization problem Implement the embedding algorithm for a set of well known Convex Optimization problem Apr 20, 2021
@GiulioRomualdi GiulioRomualdi changed the title Implement the embedding algorithm for a set of well known Convex Optimization problem Implement the embedding algorithm for a set of well known Convex Optimization problems May 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant