bug-glpk
[Top][All Lists]
Advanced

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

RE: [Bug-glpk] dmp_get_atom: size = 289; invalid atom size


From: Michael Bleau
Subject: RE: [Bug-glpk] dmp_get_atom: size = 289; invalid atom size
Date: Thu, 5 Nov 2009 23:20:13 +0300

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
address@hidden (NEW)
address@hidden (THIS STILL WORKS)


-----Original Message-----
From: Andrew Makhorin [mailto:address@hidden
Sent: November-05-09 2:47 PM
To: Michael Bleau
Cc: address@hidden
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.





reply via email to

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