Borrar filtros
Borrar filtros

Maximize L2 norm under linear constraints?

6 visualizaciones (últimos 30 días)
Anver Hisham
Anver Hisham el 29 de Sept. de 2016
Comentada: Anver Hisham el 29 de Sept. de 2016
I want to maximize L2 norm of a vector under some linear constraints. i.e,
max |x|^2
subject to Ax ≤ b
Could you please help me to find out a way to solve this in Matlab?

Respuestas (1)

John D'Errico
John D'Errico el 29 de Sept. de 2016
help quadprog
Use
H = -eye(n,n)
  1 comentario
Anver Hisham
Anver Hisham el 29 de Sept. de 2016
@John D'Errico: I see quadprog solves only convex problems. I see my problem is non-convex, and also NP-hard.

Iniciar sesión para comentar.

Categorías

Más información sobre Nonlinear Optimization en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by