hi_solver_set_sparse_solution: Set Sparse Solution for Warm-Start
Description
Sets a sparse primal solution (by index/value pairs) for warm-starting.
Usage
hi_solver_set_sparse_solution(solver, index, value)
Value
An integer status code (0 = OK).
Arguments
- solver
An object of class "highs_solver".
- index
Integer vector of column indices (0-based).
- value
Numeric vector of values for those columns.