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
--
[EMAIL PROTECTED]:~/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.0e+00 infeas = 9.000e+02 (0)
* 4: obj = 1.56375e+02 infeas = 0.000e+00 (0)
* 5: obj = 1.53675e+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?
___
Bug-glpk mailing list
Bug-glpk@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-glpk