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
) -> HighsInt
Expand description
Get a column of the inverse basis matrix B^{-1}
.
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 The index of the column to compute. @param col_vector An array of length [num_row] in which to store the values of the non-zero elements. @param col_num_nz The number of non-zeros in the column. @param col_index An array of length [num_row] in which to store the indices of the non-zero elements.
@returns A kHighsStatus
constant indicating whether the call succeeded.