Function highs_sys::Highs_getReducedRow
source · [−]pub unsafe extern "C" fn Highs_getReducedRow(
highs: *const c_void,
row: HighsInt,
row_vector: *mut f64,
row_num_nz: *mut HighsInt,
row_index: *mut HighsInt
) -> HighsIntExpand description
Compute a row of \f$B^{-1}A\f$.
See Highs_getBasicVariables for a description of the B matrix.
The arrays row_vector and row_index must have an allocated length of
[num_row]. However, check row_num_nz to see how many non-zero elements are
actually stored.
@param highs a pointer to the Highs instance @param row index of the row to compute @param row_vector values of the non-zero elements @param row_num_nz the number of non-zeros in the row @param row_index indices of the non-zero elements
@returns a kHighsStatus constant indicating whether the call succeeded