bug-glpk
[Top][All Lists]
Advanced

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

[Bug-glpk] Re: table compatibility of GLPK 4.32


From: Andrew Makhorin
Subject: [Bug-glpk] Re: table compatibility of GLPK 4.32
Date: Thu, 23 Oct 2008 03:06:47 +0300

>  I am working on GLPK 4.32 and ran in to the following error while
>  trying to use the table command. Is there a known bug in the version
>  that handles tables ? Many thanks || Sincerely || Rajesh

> ----------------------------------------------------------------------
> address@hidden:~/glpk-4.32/examples/csv$ glpsol  -m transp_csv.mod
> Reading model section from transp_csv.mod...
> transp_csv.mod:38: colon missing where expected
> Context:  , j in J } ; param e { l in L } ; param f ; table tab_plant
> Model processing error
> ---------------------------------------------------------------------

Hmm... It works fine for me:

Reading model section from transp_csv.mod...
70 lines were read
Reading tab_plant...
Reading tab_market...
Reading tab_distance...
Reading tab_parameter...
Generating cost...
Generating supply...
Generating demand...
Model has been successfully generated
glp_simplex: original LP has 6 rows, 6 columns, 18 non-zeros
glp_simplex: presolved LP has 5 rows, 6 columns, 12 non-zeros
Scaling...
 A: min|aij| =  1.000e+00  max|aij| =  1.000e+00  ratio =  1.000e+00
Problem data seem to be well scaled
Crashing...
Size of triangular part = 5
      0: obj =   0.000000000e+00  infeas =  9.000e+02 (0)
*     4: obj =   1.563750000e+02  infeas =  0.000e+00 (0)
*     5: obj =   1.536750000e+02  infeas =  0.000e+00 (0)
OPTIMAL SOLUTION FOUND
Time used:   0.0 secs
Memory used: 0.1 Mb (138775 bytes)
Writing tab_result...
Model has been successfully processed

Looks like the 'table' keyword is not recognized. From where did you
download the distribution tarball? Which options did you pass to the
configure script on building the package? Does glpsol successfully
process other example models?





reply via email to

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