[Top][All Lists]

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

Re: [Help-glpk] glp_find_col

From: Andrew Makhorin
Subject: Re: [Help-glpk] glp_find_col
Date: Thu, 03 Sep 2015 21:53:37 +0300

On Thu, 2015-09-03 at 16:36 +0200, Yaser Tohidi wrote:
> I cannot use "glp_find_col". It retrieves zero always even I use the
> following code. I also create index at the beginning by
> glp_create-index.
> const char *name;
> name= glp_get_col_name(lp1,j);
> i=glp_find_col(lp1,name);
> Please let me know what I'm missing.

Looks like you didn't assign a name to j-th column, so glp_get_col_name
returns NULL.

reply via email to

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