help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] binary variables writing lp format; and MIP bounds


From: Michael Hennebry
Subject: Re: [Help-glpk] binary variables writing lp format; and MIP bounds
Date: Tue, 10 Aug 2004 13:11:40 -0500 (CDT)

On Tue, 10 Aug 2004, Brady Hunsaker wrote:

> 1.  A student I am working with noticed that when writing output in LP
> format, only "General" integer variables are specified, even if they are
> really binary variables.  Is there a reason for omitting the binary
> case?  If not, I'll go ahead and change the code and submit a possible
> correction.

The way to tell whether a GLPK integer
variable is binary is to check its bounds.

So far as I recall, GLPK doesn't do anything special with binaries,
so it wouldn't have any need to flag them specially.

-- 
Mike   address@hidden
"Nothing says it like words if you know how to use them."
                    --  the Professional Organization of English Majors





reply via email to

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