help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] verify equation


From: glpk xypron
Subject: Re: [Help-glpk] verify equation
Date: Wed, 15 Aug 2012 08:22:53 +0200

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]