[Top][All Lists]

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

Re: [Help-glpk] [Q] Include statement?

From: Andrew Makhorin
Subject: Re: [Help-glpk] [Q] Include statement?
Date: Thu, 17 May 2007 19:49:49 +0400

> Although the MathProg manual doesn't list it, is there an 'include'
> statement that can be used in an input file?  Currently, I'm developing
> a number of scenarios of daily data over an entire year.  It would be
> nice to be able to 'include' data by reference, instead of copying it
> into each file.  Code readability would be improved and there would be
> less chance of operator error. ;)

You can use the C preprocessor as follows:

gcc -E foo.mod > bar.mod

reply via email to

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