How to solve a revised quadratic program problem

조회 수: 1 (최근 30일)
Wan-Yi Chiu
Wan-Yi Chiu 2018년 12월 31일
댓글: Matt J 2019년 1월 1일
I need helps for solving the following quadratic maximum problem.
The quadprog(H, f, A, b) command is designed for solving:
subject to Ax<b.
However, my problem is described as follows:
subject to , where L=(1,1,...1) is the ones vector and k is negative constant.
It is kind of you to offer me the codes or an idea.
Thank you very much.

채택된 답변

Matt J
Matt J 2018년 12월 31일
편집: Matt J 2018년 12월 31일
Use fmincon. Be careful as well of the non-differentiability of the function at x=0. You should introduce a constraint that keeps it away from there.
  댓글 수: 1
Matt J
Matt J 2019년 1월 1일
Wan-Yi Chiu's reply moved here:
Thank you very much.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile 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