How to solve a revised quadratic program problem

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.

 Respuesta aceptada

Matt J
Matt J el 31 de Dic. de 2018
Editada: Matt J el 31 de Dic. de 2018
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.

Más respuestas (0)

Categorías

Más información sobre Quadratic Programming and Cone Programming en Centro de ayuda y File Exchange.

Preguntada:

el 31 de Dic. de 2018

Comentada:

el 1 de En. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by