Maximize L2 norm under linear constraints?

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?

回答(1 个)

help quadprog
Use
H = -eye(n,n)

1 个评论

@John D'Errico: I see quadprog solves only convex problems. I see my problem is non-convex, and also NP-hard.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Quadratic Programming and Cone Programming 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by