Maximize L2 norm under linear constraints?

1 回表示 (過去 30 日間)
Anver Hisham
Anver Hisham 2016 年 9 月 29 日
コメント済み: Anver Hisham 2016 年 9 月 29 日
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 件)

John D'Errico
John D'Errico 2016 年 9 月 29 日
help quadprog
Use
H = -eye(n,n)
  1 件のコメント
Anver Hisham
Anver Hisham 2016 年 9 月 29 日
@John D'Errico: I see quadprog solves only convex problems. I see my problem is non-convex, and also NP-hard.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeQuadratic 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