Quadratic optimization with quadratic constraints
Mostrar comentarios más antiguos
Hi everyone,
I have an optimization problem with a quadratic objective function and quadratic constraint functions AND the problem is non-convex.
Is there any Matlab function which can do this? QUADPROG and FMINCON only allow linear constraints afaik. I also tried a solver by MOSEK (<http://mosek.com/>) but this only can deal with convex problems. Is there any tool/function for the non-convex case?
Thanks! René
Respuesta aceptada
Más respuestas (2)
Matt J
el 19 de Jun. de 2016
0 votos
If you have single, L2-norm constraint, then this FEX submission should help,
Steve Grikschat
el 18 de Sept. de 2020
0 votos
As of R2020b, Optimization Toolbox now has a dedicated solver for second-order cone programming, which can be used to solve quadratic constrained problems.
https://www.mathworks.com/help//optim/ug/convert-qp-to-socp.html
Function reference:
coupled with a function to make a second-order cone constraint
For an example see
5 comentarios
rui liu
el 7 de Jun. de 2024
Hello, I have seen how to convert qp to socp(https://ww2.mathworks.cn/help/optim/ug/convert-qp-to-socp.html), however, I have some questions about the derivation process. So I want to ask if there are more documents about it, such as papers.
Steve Grikschat
el 7 de Jun. de 2024
Hi,
This equivalence seems to be stated quite often,but rarely with a thorough explanation. At least, none that I could find. (For example, this paper).
rui liu
el 10 de Jun. de 2024
thank you very much!
rui liu
el 6 de Jul. de 2024
Hello, if there is some methods to accelerate the SOCP computation. I try to generate C code but it says "Function 'secondordercone' not supported for code generation. if there is other methods to make the solver process quick. Thank you!
Steve Grikschat
el 6 de Jul. de 2024
C code generation for coneprog is not supported in the current release, but is on our plans (see if you can access the R2024b pre-release notes which mentions this: https://www.mathworks.com/help/releases/R2024b/optim/release-notes.html)
In the meantime, an option that can have a notable effect on the solve time is the LinearSolver option
If your linear or cone constraints are dense (many nonzeros) or have dense columns, then tuning this option may be helpful.
Categorías
Más información sobre Quadratic Programming and Cone Programming en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!