Andrew,
I got this error.
~
Assertion failed: str2num(buf, num) == 0
Error detected in file ..\src\glpsql.c at line 900
Doing this, Reading data from a query, not a table.
~
table qryCroptype IN ODBC
'DSN=Otago_mdb'
'SELECT * FROM qryCroptype':
Hello Xypron,
I recompiled glpsol with the new patched glpsql.c, it still not solve
the problem. I still the same error.
I sent you a copy of this mdb - Otago.mdb (Otago.rar) the other day.
Did you get it. Please have a look at the query qryCrorptype. It
seems that this table produce by query
Andrew, Thanks.
Corrected now. Now, .val for .value.
Running perfectly in glpk4.44.
Interested? See the example below copy and paste to the
transp_csv.mod. This model from Xypron.
Noli
solve;
table tab_result{(i,j) in K} OUT CSV result.csv :
i ~ plant, j ~ market, x[i,j] ~
Hi Chris,
I applied your mps.patch to mps.c
However, I got this error.
api/mps.c: In function 'read_ranges':
api/mps.c:710:41: error: 'rns' undeclared (first use in this function)
api/mps.c:710:41: note: each undeclared identifier is reported only
once for each function it appears in
make[2]: