Function Highs_setSparseSolution

Source
pub unsafe extern "C" fn Highs_setSparseSolution(
    highs: *mut c_void,
    num_entries: HighsInt,
    index: *const HighsInt,
    value: *const f64,
) -> HighsInt
Expand description

Set a partial primal solution by passing values for a set of variables

@param highs A pointer to the Highs instance. @param num_entries Number of variables in the set @param index Indices of variables in the set @param value Values of variables in the set

@returns A kHighsStatus constant indicating whether the call succeeded.