[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Read Scalar Value via ODBC
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] Read Scalar Value via ODBC |
Date: |
Wed, 20 Oct 2010 16:02:03 +0400 |
> Is it possible to read a simple scalar paramter from Access DB via
> ODBC.
>
> e.g.: param test := 100
>
> The 100 should be read in via the table statement.
Scalar parameters are not allowed in the table statements. However, you
can define an array of scalar parameters, e.g.
set N; /* parameter names */
param p{N}; /* parameter values */
read S and p{S} from a table, and then use p["test"] in the model.