get_columnGet all column elements from the matrix. unsigned char get_column(lprec *lp, int col_nr, REAL *column); Return Value
get_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, read_lp, read_LP, read_lpt, read_LPT, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI col_nr Column number of the matrix. Must be between 1 and number of columns in the lp. column Array in which the values are returned. The array must be dimensioned with at least 1 plus number of rows elements in the lp. Remarks
This function retrieves all values for the given column. Example
See Also make_lp, read_lp, read_LP, read_lpt, read_LPT, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI, get_mat, get_row, set_rh, set_rh_vec, str_set_rh_vec, add_constraint, add_constraintex, str_add_constraint, add_column, add_columnex, str_add_column |