> I am presently working with GLPK, and would find it very useful to have > a function which reads data from a string. > > Similar to the glp_mpl_read_data(glp_tran *tran, const char > *fname),however rather than having to write the data to a file, I could > directly interact with the model through a string describing the data > requirements. >
Probably such a feature would be useful, however, it seems quite exotic. I think you might consider two alternatives: i) writing a wrapper that copies the data from the string to a temporary file and then calls glp_mpl_read_data; or ii) using glpk api. Best regards, Andrew Makhorin _______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
