get_rowGet all row elements from the matrix. int get_row(lprec *lp, int rownr, REAL *row); Return Value
get_row 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 rownr Row number of the matrix. Must be between 0 and number of rows in the lp. Row 0 is objective function. row Array in which the values are returned. The array must be dimensioned with at least 1 plus number of columns elements in the lp. Remarks
This function retrieves all values for the given row. Example
See Also make_lp, copy_lp, read_lp, read_lp_file, read_LP, read_mps, read_MPS, get_mat, mat_elm, get_column, set_rh, set_rh_vec, str_set_rh_vec, add_constraint, add_column |