add_column, str_add_columnAdd a column to the lp. int add_column(lprec *lp, REAL *column); int str_add_column(lprec *lp, char *str_column); Return Value add_column and str_add_column 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, copy_lp, read_lp, read_lp_file, read_LP, read_mps, read_MPS column An array with row elements that contains the values of the column. str_row A string with row elements that contains the values of the column. Each element must be separated by space(s). Remarks The add_column, str_add_column functions adds a column to the
model (at the end) and sets all values of the column at once. Example
See Also make_lp, copy_lp, read_lp, read_lp_file, read_LP, read_mps, read_MPS, set_obj_fn, str_set_obj_fn, del_column, add_constraint, str_add_constraint, get_column, get_row, get_mat, mat_elm, column_in_lp |