help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Limiting basic variables to integers


From: Andrew Makhorin
Subject: Re: [Help-glpk] Limiting basic variables to integers
Date: Tue, 19 Apr 2011 15:55:37 +0400

> I am following this tutorial
> http://www.ibm.com/developerworks/linux/library/l-glpk1/ for solving a
> simple LPP problem.
> However, the solution returned is usually in floating point numbers.
> I want it to be in integer.

Integrality does not depend of the numeric format used. Integers can be
represented in fixed-point as well as floating-point formats.

> Am using the glpsol tool through the command line on linux.
> Needed urgently for final year project.

Follow 2nd and 3rd parts of the tutorial that explain about using
integer and binary variables:
http://www.ibm.com/developerworks/linux/library/l-glpk2/
http://www.ibm.com/developerworks/linux/library/l-glpk3/




reply via email to

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