help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] hi, x1=x2 constraint


From: Michael Hennebry
Subject: Re: [Help-glpk] hi, x1=x2 constraint
Date: Wed, 14 Jan 2004 10:19:27 -0600 (CST)

On Wed, 14 Jan 2004, Nucleus wrote:

> x1=x2; how do I add this constraint in GPLK?
>
> I've used column x1 = 1, column x2 = -1, and fixed
> bound = 0. However, it's not working.

Is there a row involved?
You didn't by any chance set objective coefficients to 1 and -1, did you?

x1 - x2 = 0

is the way to go.



-- 
Mike   address@hidden
"History is written by the winners."  --  the losers





reply via email to

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