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: Andrew Makhorin
Subject: Re: [Bug-glpk] dmp_get_atom: size = 289; invalid atom size
Date: Thu, 5 Nov 2009 22:47:23 +0300

> 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]