set_col_nameSet the name of a column in the lp. unsigned char set_col_name(lprec *lp, int column, char *new_name); Return Value set_col_name returns TRUE (1) if the operation was successful. A return value of FALSE (0) indicates an error. 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 column The column for which the name must be set. Must be between 1 and the number of columns in the lp. new_name The name for the column. Remarks The set_col_name sets the name of the column. Example
See Also make_lp, read_lp, read_LP, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI, get_col_name, get_origcol_name, set_row_name, get_row_name, get_origrow_name, get_nameindex |