Andrew Thank you for the fast reply. I have already broken up my queries as you suggest and this is working for me.
Michael Michael Bleau & associés 514 247 2944 [email protected] (NEW) [email protected] (THIS STILL WORKS) -----Original Message----- From: Andrew Makhorin [mailto:[email protected]] Sent: November-05-09 2:47 PM To: Michael Bleau Cc: [email protected] Subject: Re: [Bug-glpk] dmp_get_atom: size = 289; invalid atom size > I am using gplsol.exe v4.40 in standalone mode: > 32 bit version compiled with Visual Studio Express 9.0 > I am using the ODBC driver Running on Windows 7 64 bit > > I made a single change in glpmpl.h in order to accommodate large ODBC > queries (string literals): > #define MAX_LENGTH 1024 was 100 > > I now get the error message you can see at the bottom of the listing > below. I have also attached the model code in case that might be > useful. Unfortunately MAX_LENGTH in glpmpl.h cannot be assigned a value greater than 255 that limits the maximal length of any symbolic value in the model to 255 chars. At the moment you can try to resolve the problem using only features provided by sql. Sorry. In a next version of the package the syntax of the table statement will be expanded to allow longer sql statements. _______________________________________________ Bug-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-glpk
