help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] testing glpk 4.46 on 64-bit platform


From: Joey Rios
Subject: Re: [Help-glpk] testing glpk 4.46 on 64-bit platform
Date: Thu, 28 Apr 2011 09:06:50 -0700

Hi Andrew,

I ran this under:

* Kubuntu 10.10
* Linux version 2.6.35-25-generic (address@hidden) (gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) ) #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011
* Intel i5 760

>
> 2. Take some (large enough, say, 100-200Kb) lp/mip file, say, foo.mps,
> pack it to foo.mps.gz with gzip or equivalent utility, and pass it to
> glpsol:
>
> glpsol --check foo.mps.gz

address@hidden [09:00] $ ./glpsol --check dw_monolithic.mps.gz
GLPSOL: GLPK LP/MIP Solver, v4.46
Parameter(s) specified in the command line:
 --check dw_monolithic.mps.gz
Reading problem data from `dw_monolithic.mps.gz'...
dw_monolithic.mps.gz:8: warning: missing model name in field 3
Objective: R0000000
3275 rows, 1760 columns, 6888 non-zeros
1760 integer variables, all of which are binary
8579 records were read

>
> 2. Run glpsol as follows:
>
> glpsol --check bar.mps --wmps bar.mps.gz
>
> and make sure that bar.mps.gz can be correctly unpacked with gzip.

Here are some successive command line entries... all worked fine.

address@hidden [09:01] $ ./glpsol --check --cpxlp dw_monolithic.cplex --wmps dw_monolithic.2.mps
GLPSOL: GLPK LP/MIP Solver, v4.46
Parameter(s) specified in the command line:
 --check --cpxlp dw_monolithic.cplex --wmps dw_monolithic.2.mps
Reading problem data from `dw_monolithic.cplex'...
3274 rows, 1760 columns, 6568 non-zeros
1760 integer variables, all of which are binary
6892 lines were read
Writing problem data to `dw_monolithic.2.mps'...
8579 records were written

address@hidden [09:02] $ ./glpsol --check --cpxlp dw_monolithic.cplex --wmps dw_monolithic.2.mps.gz
GLPSOL: GLPK LP/MIP Solver, v4.46
Parameter(s) specified in the command line:
 --check --cpxlp dw_monolithic.cplex --wmps dw_monolithic.2.mps.gz
Reading problem data from `dw_monolithic.cplex'...
3274 rows, 1760 columns, 6568 non-zeros
1760 integer variables, all of which are binary
6892 lines were read
Writing problem data to `dw_monolithic.2.mps.gz'...
8579 records were written

address@hidden [09:02] $ ll dw*
-rw-r--r-- 1 joey joey 322565 2011-04-28 09:02 dw_monolithic.2.mps
-rw-r--r-- 1 joey joey  40503 2011-04-28 09:02 dw_monolithic.2.mps.gz
-rw-r--r-- 1 joey joey 338839 2011-04-28 08:58 dw_monolithic.cplex
-rw-r--r-- 1 joey joey 322565 2011-04-28 08:59 dw_monolithic.mps

address@hidden [09:02] $ ./glpsol --check dw_monolithic.2.mps.gz
GLPSOL: GLPK LP/MIP Solver, v4.46
Parameter(s) specified in the command line:
 --check dw_monolithic.2.mps.gz
Reading problem data from `dw_monolithic.2.mps.gz'...
dw_monolithic.2.mps.gz:8: warning: missing model name in field 3
Objective: R0000000
3275 rows, 1760 columns, 6888 non-zeros
1760 integer variables, all of which are binary
8579 records were read

address@hidden [09:03] $ gunzip dw_monolithic.2.mps.gz
gzip: dw_monolithic.2.mps already exists; do you wish to overwrite (y or n)? y

address@hidden [09:03] $ diff dw_monolithic.mps dw_monolithic.2.mps

address@hidden [09:03] $

>
> Please test the package under both 64-bit Linux and Windows. If there
> will be some compiler warnings, please inform me.

There were no compiler warnings that I noticed.

Later today (at work) I should be able to run similar tests on 64bit Mac Snow Leopard

Hope this is helpful,
Joey


reply via email to

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