[Top][All Lists]

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

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

From: Ted Poe
Subject: Re: [Help-glpk] [Q] Include statement?
Date: Thu, 17 May 2007 17:56:31 -0700 (PDT)

...or a little bash programming and cat'ing the sub-files together. 
Thanks.  I wasn't thinking of the obvious today.


--- Andrew Makhorin <address@hidden> wrote:

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