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: Andrew Makhorin
Subject: Re: [Help-glpk] testing glpk 4.46 on 64-bit platform
Date: Thu, 28 Apr 2011 20:21:06 +0400

Hi Joao,

Thank you very much for testing.

> I compiled and run glpk 4.46 on a Mac OS X 10.6.7 with a Quad-Core
> Intel Xeon.  
> 
> There were some warnings concerning the redefinition of SIZE_T_MAX
> (please check attached file).

SIZE_T_MAX is redefined somewhere in system headers, so these warnings
are not related to glpk code.

> 
> When running the command line you proposed, there were some small
> troubles:
> 
>     $ ./glpsol --check plan.mps --wmps plan2.mps.gz
>     GLPSOL: GLPK LP/MIP Solver, v4.46
>     Parameter(s) specified in the command line:
>      --check plan.mps --wmps plan2.mps.gz
>     Reading problem data from `plan.mps'...
>     Problem: PLAN
>     Objective: VALUE
>     plan.mps:15: row `.15000' not found
>     MPS file processing error
>     $ 
> 
> But explicitly passing --mps worked:
> 
>     $ ./glpsol --mps --check plan.mps --wmps plan2.mps.gz
>     GLPSOL: GLPK LP/MIP Solver, v4.46
>     Parameter(s) specified in the command line:
>      --mps --check plan.mps --wmps plan2.mps.gz
>     Reading problem data from `plan.mps'...
>     Problem: PLAN
>     Objective: VALUE
>     8 rows, 7 columns, 48 non-zeros
>     54 records were read
>     Writing problem data to `plan2.mps.gz'...
>     59 records were written
>     $ 

This is normal, because plan.mps is coded in fixed mps format while by
default glpsol expects the input in free mps format.

> 
> running:
> 
>    $ ./glpsol --mps plan2.mps.gz
>    GLPSOL: GLPK LP/MIP Solver, v4.46
>    Parameter(s) specified in the command line:
>     --mps plan2.mps.gz
>    Reading problem data from `plan2.mps.gz'...
>    Problem: PLAN
>    Objective: VALUE
>    8 rows, 7 columns, 48 non-zeros
>    59 records were read
>    GLPK Simplex Optimizer, v4.46
>    8 rows, 7 columns, 48 non-zeros
>    Preprocessing...
>    7 rows, 7 columns, 41 non-zeros
>    Scaling...
>     A: min|aij| =  1.000e-02  max|aij| =  1.000e+00  ratio =  1.000e+02
>    GM: min|aij| =  2.534e-01  max|aij| =  3.946e+00  ratio =  1.557e+01
>    EQ: min|aij| =  6.422e-02  max|aij| =  1.000e+00  ratio =  1.557e+01
>    Constructing initial basis...
>    Size of triangular part = 7
>          0: obj =   6.500000000e+02  infeas =  3.788e+03 (0)
>    *     2: obj =   4.376770833e+02  infeas =  0.000e+00 (0)
>    *    10: obj =   2.962166065e+02  infeas =  0.000e+00 (0)
>    OPTIMAL SOLUTION FOUND
>    Time used:   0.0 secs
>    Memory used: 0.1 Mb (55774 bytes)
>    $ 
> 
> (also worked fine with "./glpsol plan2.mps.gz".)
> 

Looks like all works correctly. Hope tests on other platforms also will
be successful.


Best regards,

Andrew Makhorin




reply via email to

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