Function highs_sys::Highs_getBasisTransposeSolve
source · pub unsafe extern "C" fn Highs_getBasisTransposeSolve(
highs: *const c_void,
rhs: *const f64,
solution_vector: *mut f64,
solution_nz: *mut HighsInt,
solution_index: *mut HighsInt
) -> HighsIntExpand description
Compute \mathbf{x}=B^{-T}\mathbf{b} for a given vector
\mathbf{b}.
See Highs_getBasicVariables for a description of the B matrix.
The arrays solution_vector and solution_index must have an allocated
length of [num_row]. However, check solution_num_nz to see how many
non-zero elements are actually stored.
@param highs A pointer to the Highs instance.
@param rhs The right-hand side vector b
@param solution_vector An array of length [num_row] in whcih to store the
values of the non-zero elements.
@param solution_num_nz The number of non-zeros in the solution.
@param solution_index An array of length [num_row] in whcih to store the
indices of the non-zero elements.
@returns A kHighsStatus constant indicating whether the call succeeded.