help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] reading in GMPL file questions


From: Louis Luangkesorn
Subject: Re: [Help-glpk] reading in GMPL file questions
Date: Wed, 12 Jul 2006 17:39:41 -0700 (PDT)



----- Original Message ----
From: Andrew Makhorin <address@hidden>
To: Louis Luangkesorn <address@hidden>
Cc: address@hidden
Sent: Saturday, July 1, 2006 3:31:55 PM
Subject: Re: [Help-glpk] reading in GMPL file questions
>
> 2.  Is the order of the rows always correspond to the order in the
>  model file?   I would like to be able to programmatically modify
>  rows, but this requires I be able to predict where the row is based
>  on the model file.

> No, the order in which the translator produces rows and columns is
> unpredictable. Once you have read the model via lpx_read_model, you
> should call the api routine lpx_create_index to index rows and columns
> by their symbolic names, and then use the routines lpx_find_row and
> lpx_find_col to determine ordinal numbers of rows/columns.
> Andrew Makhorin

Where is lpx_create_index documented?  I am using refman V4.8 and it is not included?  Is there a source code file that implements it and has details of the interface?

Louis

reply via email to

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