-
Hi! I'd like to solve a constrained optimization problem like:
I understand it's possible to enforce the first constraint with Many thanks in advance and thanks for the great library! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
After having thought about it, if I get it right:
|
Beta Was this translation helpful? Give feedback.
-
If |
Beta Was this translation helpful? Give feedback.
If
f
is a quadratic function, you can use one of our quadratic programming solvers. Iff
is a more general function, projected gradient + projection_polyhedron would be indeed one way to do it, although the projection needed on each iteration could be expensive to compute. We don't support it in the library yet but ADMM comes to mind for solving this type of problem.