get_lp_indexReturns the index in the lp of the original row/column. int get_lp_index(lprec *lp, int orig_index); Return Value get_lp_index returns the index in the lp of the original row/column. Parameters lp Pointer to previously created lp model. See return value of make_lp, read_lp, read_LP, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI orig_index Original constraint or column number. If orig_index is between 1 and get_Norig_rows then the index is a constraint (row) number. If orig_index is between 1 + get_Norig_rows and get_Norig_rows + get_Norig_columns then the index is a column number. Remarks The get_lp_index function returns the index in the lp of the original row/column. Example
See Also make_lp, read_lp, read_LP, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI, get_orig_index, get_Ncolumns, get_Norig_columns, get_Nrows, get_Norig_rows, get_Lrows, set_presolve |