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 \f$\mathbf{x}=B^{-T}\mathbf{b}\f$ for a given vector \f$\mathbf{b}\f$.
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 values of the non-zero elements
@param solution_num_nz the number of non-zeros in the solution
@param solution_index indices of the non-zero elements
@returns a kHighsStatus constant indicating whether the call succeeded