> well, as far I read the LP-file generated by glpk, it put the name in > the first line as > " > \* Problem: Level_1 *\ > > Minimize > obj: - 8 x_1.............................. > " > > although this is just a comment line, but we (you) have put the > LP_Name here. > > So, I think this is the way to get a file name there.
It is not a good idea, because it would be a non-standard feature. If you need to keep all problem components on reading the instance, which was previously written to a file with glpk, I'd recommend you using the glpk lp format. > > > So, it looks that <glp_write_lp> and <glp_read_lp> are not > compatible. > :) _______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
