help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] reading Excel table into GLPK


From: Andrew Makhorin
Subject: Re: [Help-glpk] reading Excel table into GLPK
Date: Fri, 10 Dec 2010 20:05:26 +0300

On Fri, 2010-12-10 at 20:03 +0300, Andrew Makhorin wrote:
> > The error I am receiving is:
> > diettable.mod 16:argument expression has invalid type
> > 
> > Context: {NUTR, FOOD} >= 0; table f IN '...'...'...' NUTR <-
> > 
> > I also attached the excel file I am trying to read from.
> 
> [...]
> 
> >         
> >         table f IN 'ODBC' 
> >         'Driver={Microsoft Excel Driver (*.xls)};dbq=newdiet.xls'
> >         'SELECT * FROM [Nutr$]'
> >         NUTR <- [NUTR],n_min,n_max;
> 
> I think you missed a semicolon before NUTR:
> 
> table f IN 'ODBC' 
>         'Driver={Microsoft Excel Driver (*.xls)};dbq=newdiet.xls'
>         'SELECT * FROM [Nutr$]' :
>         NUTR <- [NUTR],n_min,n_max;
>         

That is, a colon (:), not a semicolon, of course.




reply via email to

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