[2072] in Software_Announce

home help back first fref pref prev next nref lref last post

GLPK installed on Athena

daemon@ATHENA.MIT.EDU (Alex T Prengel)
Fri Aug 18 15:43:14 2006

To: software-announce@MIT.EDU
cc: alexp@MIT.EDU, facdev@MIT.EDU, cfyi@MIT.EDU
Date: Fri, 18 Aug 2006 15:43:06 -0400
From: Alex T Prengel <alexp@MIT.EDU>


I've installed GLPK (GNU Linear Programming Kit) on Athena for Sun and Linux.
GLPK is  a set of routines packaged up into a library (libglpk.a) and a 
solver (glpsol) for solving linear programming (LP), mixed integer linear
programming (MIP), and other related problems. The solver processes 
directives in a language called the "GNU MathProg modeling language" that is 
a subset of AMPL.

The simplest way to use it is to use the solver to process a file of MathProg
commands:

	add glpk
	glpsol -m sample.mod -o sample.sol 

(sample.sol is the output containing the problem solution). 

There is a manual in various formats in the /mit/glpk/doc directory; a
good tutorial article on the Web is at
http://www-128.ibm.com/developerworks/linux/library/l-glpk1/

See also /mit/glpk/GLPK_FAQ.txt in the glpk locker.

                                        Alex

home help back first fref pref prev next nref lref last post