Difference between revisions of "GLPK"

From CBLFS
Jump to navigationJump to search
(Added page.)
 
 
(9 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| ftp://ftp.gnu.org/gnu/glpk/glpk-4.11.tar.gz
+
| ftp://ftp.gnu.org/gnu/glpk/glpk-{{GLPK-Version}}.tar.gz
 
|}
 
|}
  
GLPK is the GNU Linear Programming Kit.  It is intended for solving large-scale linear programming (LP), mixed integer programming (MIP), and other related problems. It is a set of routines written in ANSI C and organized in the form of a callable library.
+
----
 +
 
 +
{{Package-Introduction|GLPK is the GNU Linear Programming Kit.  It is intended for solving large-scale linear programming (LP), mixed integer programming (MIP), and other related problems. It is a set of routines written in ANSI C and organized in the form of a callable library.}}
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 11: Line 13:
 
Compile the package:
 
Compile the package:
  
    ./configure --prefix=/opt/gnu &&
+
./configure --prefix=/usr &&
    make
+
make
  
 
Install the package:
 
Install the package:
  
    make install
+
make install
 
 
There are examples that are not installed automatically.  You may want to copy them out of the source tree for future use.
 
 
 
    install -dv /home/<you>/glpksamps &&
 
    cp -v examples/*.{dat,mps,mpd,tsp} /home/<you>/glpksamps
 
  
 
== Multilib ==
 
== Multilib ==
Line 29: Line 26:
 
Compile the package:
 
Compile the package:
  
    CC="gcc ${BUILD32}" ./configure --prefix=/opt/gnu --libdir=/opt/gnu/lib &&
+
CC="gcc ${BUILD32}" ./configure --prefix=/usr \
    make
+
    --libdir=/usr/lib &&
 +
make
  
 
Install the package:
 
Install the package:
  
    make install
+
make install
  
 
=== N32 ===
 
=== N32 ===
  
 
Compile the package:
 
Compile the package:
 +
 +
CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
 +
    --libdir=/usr/lib32 &&
 +
make
  
 
Install the package:
 
Install the package:
 +
 +
make install
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 46: Line 50:
 
Compile the package:
 
Compile the package:
  
    CC="gcc ${BUILD64}" ./configure --prefix=/opt/gnu --libdir=/opt/gnu/lib64 &&
+
CC="gcc ${BUILD64}" ./configure --prefix=/usr \
    make
+
    --libdir=/usr/lib64 &&
 +
make
  
 
Install the package:
 
Install the package:
  
    make install
+
make install
  
There are examples that are not installed automatically.  You may want to copy them out of the source tree for future use.
+
== Documentation ==
  
    install -dv /home/<you>/glpksamps &&
+
Install the postscript documentation for GLPK:
    cp -v examples/*.{dat,mps,mpd,tsp} /home/<you>/glpksamps
+
 
 +
  install -d -m755 -v /usr/share/doc/glpk-{{GLPK-Version}} &&
 +
  cp -v doc/*.ps /usr/share/doc/glpk-{{GLPK-Version}}
 +
 
 +
There are examples that are not installed automatically.  You may want to copy them out of the source tree for future use and reference.
 +
 
 +
install -d -m755 -v /usr/share/doc/glpk-{{GLPK-Version}}/examples &&
 +
install -v examples/*.{dat,mps,mod,tsp} /usr/share/doc/glpk-{{GLPK-Version}}/examples
  
 
== Contents ==
 
== Contents ==
  
* Installed Programs: /opt/gnu/bin/glpsol, /opt/gnu/bin/tspsol
+
{|style="text-align: left"
* Installed Libraries: /opt/gnu/lib/libglpk.a
+
|-valign="top"
 +
!Installed Directories:
 +
|None
 +
|-valign="top"
 +
!Installed Programs:
 +
|glpsol
 +
|-valign="top"
 +
!Installed Libraries:
 +
|libglpk.{a,la,so}
 +
|-valign="top"
 +
!Symlinks:
 +
|None
 +
|}
 +
 
 +
=== Short Descriptions ===
 +
 
 +
{|style="text-align: left"
 +
|-valign="top"
 +
!glpsol
 +
|
 +
|}
 +
 
 +
[[Category:Science_Engineering]]

Latest revision as of 10:21, 18 August 2008

Download Source: ftp://ftp.gnu.org/gnu/glpk/glpk-4.28.tar.gz

Introduction to GLPK

GLPK is the GNU Linear Programming Kit. It is intended for solving large-scale linear programming (LP), mixed integer programming (MIP), and other related problems. It is a set of routines written in ANSI C and organized in the form of a callable library.

Project Homepage: Unknown

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr \
    --libdir=/usr/lib &&
make

Install the package:

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
    --libdir=/usr/lib32 &&
make

Install the package:

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package:

make install

Documentation

Install the postscript documentation for GLPK:

 install -d -m755 -v /usr/share/doc/glpk-4.28 &&
 cp -v doc/*.ps /usr/share/doc/glpk-4.28

There are examples that are not installed automatically. You may want to copy them out of the source tree for future use and reference.

install -d -m755 -v /usr/share/doc/glpk-4.28/examples &&
install -v examples/*.{dat,mps,mod,tsp} /usr/share/doc/glpk-4.28/examples

Contents

Installed Directories: None
Installed Programs: glpsol
Installed Libraries: libglpk.{a,la,so}
Symlinks: None

Short Descriptions

glpsol
Retrieved from "?title=GLPK&oldid=15011"