On Thu, 2017-06-15 at 08:29 -0500, Shuo Xu wrote:
> Dear GLPK makers:
> 

> Currently, I am using GLPK to read a cplex-LP file. 
> 
> But ,the lp name is not available while using:
> glp_read_lp(lp, NULL, "Level_1.lp");
>     // get the name 
>     char Prob_Name[100];
>     strcpy(Prob_Name, glp_get_prob_name(lp));
> 
> 
> while checking the source code of glp_read_lp function, there is no
> code to read the LP problem name in the source code.

Yes, because cplex lp format has no feature to specify the problem name
(unlike mps format, for example).

> 
> 
> So, I would like to know if there is any possible to make an update to
> it ? 

You may call glp_set_prob_name to assign any name you want to the
problem object.

> 
> 
> Shuo  XU, PhD.
> 
> Iowa State University, Industrial Engineering. 
> 
> 
> 
> 



_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to