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