How can I convert equality constraints into inequality constraints?

11 vues (au cours des 30 derniers jours)
John
John le 13 Juin 2017
Modifié(e) : Matt J le 16 Juin 2017
I m solving a problem using ga with equality and inequality constraints and want to optimise it while using binary variables. But do not solve it with equality constraints.

Réponses (2)

Matt J
Matt J le 13 Juin 2017
  4 commentaires
John
John le 16 Juin 2017
Modifié(e) : John le 16 Juin 2017
Thank Matt J.
But what is the P here and should we eliminate Q at end? If we convert all equality constraints into inequality constraints by this way then may be we get infeasible solution.
Matt J
Matt J le 16 Juin 2017
Modifié(e) : Matt J le 16 Juin 2017
But what is the P here and should we eliminate Q at end?
Q is not an unknown variable. It is an NxN invertible matrix formed from linearly independent columns of Aeq. You can identify these columns using licols.m attached. P is a matrix formed from the remaining columns.
If we convert all equality constraints into inequality constraints by this way then may be we get infeasible solution.
I don't see why you would. The reduced problem should be equivalent to the original.

Connectez-vous pour commenter.


Alan Weiss
Alan Weiss le 14 Juin 2017
Alan Weiss
MATLAB mathematical toolbox documentation
  1 commentaire
John
John le 16 Juin 2017
Yes I read it and also some other threads. But by converting equality constraints into inequality constraints they will cancel each other and we will get infeasible solution.

Connectez-vous pour commenter.

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