[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] [Fwd: GLPK enhancement]
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] [Fwd: GLPK enhancement] |
Date: |
Wed, 18 Mar 2015 14:40:25 +0300 |
> 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