[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## Re: [Help-glpk] The question about the sequence of column(About lpk_get_

**From**: |
Andrew Makhorin |

**Subject**: |
Re: [Help-glpk] The question about the sequence of column(About lpk_get_col_prim) |

**Date**: |
Thu, 10 Aug 2006 12:19:38 +0400 |

>* So I am wondering how GLPK generate sequence of*
>* columns(variables).*
Variables are generated "by need", i.e. when they are actually
referenced in constraints, so the order of variables in LPX object
is unpredictable.
>* In *
>* this case, suppose I don't how sequence of X is generated, how I can*
>* retrieve *
>* value for X.*
Use api routine lpx_find_col to determine ordinal number of a variable
by its name. For more details see
http://lists.gnu.org/archive/html/help-glpk/2006-07/msg00012.html