On Linux you can create a FIFO with mkfifo and pass the path to the GLPK. On Windows you can create a named pipe and use its path (CreateNamedPipe).
Best regards Heinrich Schuchardt http://www.xypron.de Am 18.03.15 um 13:13 schrieb Andrew Makhorin > > >> I am presently working with GLPK, and would find it very useful to have > > > >> a function which reads data from a string. > > > > > > > > Probably such a feature would be useful, however, it seems quite exotic. > > > > > > Actually, such functionality would be very useful for anyone using GLPK > > > in an interactive shell, so especially for interpreted-language wrappers > > > of GLPK. Creating a temporary file feels like a hack in such contexts. > > > > In any case the model is read from a file, so passing the data via a > > string would not reduce overheads. > > > > > > > > I missed this in the API when working on ecyglpki: > > > > > > https://github.com/equaeghe/ecyglpki/issues/3 > > > > > > For me this is not about interacting with the model (using the API for > > > that seems the right approach), but for visualization and pre- and > > > post-processing purposes. > > > > > > > > > Best, > > > > > > Erik > > > > > > _______________________________________________ > > > Help-glpk mailing list > > > [email protected] > > > https://lists.gnu.org/mailman/listinfo/help-glpk > > > > > > > > > > > _______________________________________________ > > Help-glpk mailing list > > [email protected] > > https://lists.gnu.org/mailman/listinfo/help-glpk _______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
