help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] glpk 4.27 release information


From: glpk xypron
Subject: Re: [Help-glpk] glpk 4.27 release information
Date: Sun, 02 Mar 2008 12:36:38 +0100

> GLPK 4.27 -- Release Information
> ********************************
> 
> Release date: Mar 02, 2008
> 
> GLPK (GNU Linear Programming Kit) is intended for solving large-scale
> linear programming (LP), mixed integer linear programming (MIP), and
> other related problems. It is a set of routines written in ANSI C and
> organized as a callable library.
> 
> In this release:
> 
> Three new table drivers were added to the MathProg translator:
> 
>  * xBASE built-in table driver, which allows reading and writing data
>    in .dbf format (only C and N fields are supported);
> 
>  * MySQL table driver, which provides connection to a MySQL database;
> 
>  * iODBC table driver, which provides connection to a database through
>    ODBC.
> 

A documentation for the MySQL and iODBC table driver is contained in:
ftp://glpk.dyndns.org/glpk/tables.txt

Examples can be downloaded from 
ftp://glpk.dyndns.org/glpk/sql_examples.tar.gz 
or
ftp://87.230.79.59/glpk/sql_examples.tar.gz

Assuming MySQL is installed the examples can be set up as follows:

cd glpk-4.27/examples
wget ftp://glpk.dyndns.org/glpk/sql_examples.tar.gz
tar -xzf sql_examples.tar.gz
cd sql
./mysql_setup.sh

mysql_setup.sh does the following:
A database glpk is created.
A user glpk is created.
Tables for the examples are setup and filled.

To run the examples:
../glpsol -m transp_mysql.mod
../glpsol -m transp_odbc.mod
../glpsol -m sudoku_mysql.mod
../glpsol -m sudoku_odbc.mod

The examples are copies of transp.mod and sudoku.mod changed to import data 
from the database and writing the results to the database.

Best regards

Xypron

-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/address@hidden




reply via email to

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