How can I convert equality constraints into inequality constraints?

8 ビュー (過去 30 日間)
John
John 2017 年 6 月 13 日
編集済み: Matt J 2017 年 6 月 16 日
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.

回答 (2 件)

Matt J
Matt J 2017 年 6 月 13 日
  4 件のコメント
John
John 2017 年 6 月 16 日
編集済み: John 2017 年 6 月 16 日
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 2017 年 6 月 16 日
編集済み: Matt J 2017 年 6 月 16 日
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.

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


Alan Weiss
Alan Weiss 2017 年 6 月 14 日
Alan Weiss
MATLAB mathematical toolbox documentation
  1 件のコメント
John
John 2017 年 6 月 16 日
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.

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

カテゴリ

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