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