How can I convert equality constraints into inequality constraints?

조회 수: 10 (최근 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 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