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:03:33 +0300

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




reply via email to

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