help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Problem glpk using mysql, error "string literal too lon


From: Marcello Henrique
Subject: Re: [Help-glpk] Problem glpk using mysql, error "string literal too long".
Date: Thu, 1 Oct 2009 15:22:05 -0300

I use compiled package in debian lenny  repository is necessary
download source code, change then and compile again?
You might say what should I change?

Thank by advices!

On Thu, Oct 1, 2009 at 15:13, Yaron Kretchmer <address@hidden> wrote:
> in the glpk source code (one of the .h files- I forget which one),
> there is a constant which defines that max. string length. Change it
> to something big (1000), and you should be good to go.
>
> Cheers
> Yaron
>
>
> On Thu, Oct 1, 2009 at 10:23 AM, Marcello Henrique <address@hidden> wrote:
>> Hello all,
>>
>> I use glpk over Debian Lenny "GLPSOL: GLPK LP/MIP Solver 4.38", I have
>> error message "nurse.mod:35: string literal too long" my line 35 this
>> file nurse.mod is:
>>
>> table days_shifts_cost_work IN "MySQL" ...
>> 'SELECT day,shift,days_shifts.cost,days_shifts.work FROM days_shifts
>> INNER JOIN days ON days_shifts.day_id=days.id INNER JOIN shifts ON
>> days_shifts.shift_id=shifts.id' : [ shift,day ], Cal_cost~cost,
>> Cal_work~work;
>>
>>
>> Anybody help me?
>>
>> --
>> Marcello Henrique
>> Associação Software Livre de Goiás (www.aslgo.org.br)
>> Cercomp - UFG (www.cercomp.ufg.br)
>>
>>
>> _______________________________________________
>> Help-glpk mailing list
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/help-glpk
>>
>



-- 
Marcello Henrique
Associação Software Livre de Goiás (www.aslgo.org.br)
Cercomp - UFG (www.cercomp.ufg.br)




reply via email to

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