Hello Andrew AMPL allows multiple data files: http://www.ampl.com/SOLVERS/GUIDE.lpsolve.html "The model and one (or more) data files are fed into the AMPL program."
Your example for "gcc.exe -E" did not work for me: C:\>"c:\MinGW\bin\gcc.exe" -E c:\temp\text.txt -o test1.txt gcc.exe: c:\temp\text.txt: linker input file unused because linking not done "copy" (or "cat") could of cause be used for creating merged files. But the parts could not be valid AMPL files. Best regards Xypron Andrew Makhorin wrote: > > ... > Thank you. Please keep the changes for a while. Currently I need to > rewrite glpsol to get rid of using obsolete api routines. > > BTW, why not to use any alternative way? For example, one could write > > data; > #include "data1" > #include "data2" > end; > > and then use the C preprocessor 'gcc -E' to build the data file. > > ... > -- View this message in context: http://www.nabble.com/Only-one-data-file-allowed-in-GLPK-tp19704801p19727077.html Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com. _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
