get_col_name, get_origcol_nameGets the name of a column in the lp. char *get_col_name(lprec *lp, int column); char *get_origcol_name(lprec *lp, int column); Return Value get_col_name and get_origcol_name return the name of the specified column. A return value of NULL indicates an error. The difference between get_col_name and get_origcol_name is only when a presolve (set_presolve) was done. Presolve can result in deletion of columns in the model. In get_col_name, column specifies the original column number before the presolve was done. In get_origcol_name, column specifies the new column number after the presolve was done. If presolve is not active then both functions are equal. 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 column The column for which the name must be retrieved. Must be between 1 and the number of columns in the lp. In get_col_name, column specifies the original column number before the presolve was done. In get_origcol_name, column specifies the new column number after the presolve was done. Remarks The get_col_name and get_origcol_name functions return the name of
the column. Example
See Also make_lp, read_lp, read_LP, read_lpt, read_LPT, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI, set_col_name, set_row_name, get_row_name, get_origrow_name, set_presolve |