Effacer les filtres
Effacer les filtres

How to solve a revised quadratic program problem

2 vues (au cours des 30 derniers jours)
Wan-Yi Chiu
Wan-Yi Chiu le 31 Déc 2018
Commenté : Matt J le 1 Jan 2019
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.

Réponse acceptée

Matt J
Matt J le 31 Déc 2018
Modifié(e) : Matt J le 31 Déc 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.
  1 commentaire
Matt J
Matt J le 1 Jan 2019
Wan-Yi Chiu's reply moved here:
Thank you very much.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Quadratic Programming and Cone Programming dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by