help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] GLPK reading <LP-file> problem


From: Andrew Makhorin
Subject: Re: [Help-glpk] GLPK reading <LP-file> problem
Date: Thu, 15 Jun 2017 17:49:29 +0300

> 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. 
> 

:)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]