[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:23:11 +0300 |
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.
>
>
>
>
- Re: [Help-glpk] GLPK reading <LP-file> problem,
Andrew Makhorin <=