How can I convert equality constraints into inequality constraints?
28 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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.
0 Kommentare
Antworten (2)
Matt J
am 13 Jun. 2017
See these threads
4 Kommentare
Matt J
am 16 Jun. 2017
Bearbeitet: Matt J
am 16 Jun. 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.
Alan Weiss
am 14 Jun. 2017
Did you see the documentation dealing with equality constraints for mixed-integer optimization using ga?
Alan Weiss
MATLAB mathematical toolbox documentation
Siehe auch
Kategorien
Mehr zu Get Started with Optimization Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!