Hello Sagor, linear programming with GLPK can only minimize or maximize one term. So what do you mean by
max(x+y,x'+y') Do you want maximize the maximum of both terms (x+y and x'+y')? Best regards Xypron -------- Original-Nachricht -------- > Datum: Tue, 14 Aug 2012 22:55:49 -0700 (PDT) > Betreff: [Help-glpk] verify equation > Hi, > > Is it possible to solve this equation using glpk? > > max(x+y,x'+y') > > x + x' = 1 > y + y' = 1 > variables are binary. It can only take 0 or 1. Maybe the constraints are > not necessary. > Can you please help if the equations are correct? I am kind of new in > linear programming > and will appreciate the help. > > Thanks > Sagor _______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
