| hi_solver_set_solution | R Documentation |
Sets a complete primal and/or dual solution on the solver for warm-starting.
hi_solver_set_solution(
solver,
col_value,
row_value,
col_dual,
row_dual,
value_valid = TRUE,
dual_valid = TRUE
)
solver |
An object of class "highs_solver". |
col_value |
Numeric vector of primal column values. |
row_value |
Numeric vector of primal row values. |
col_dual |
Numeric vector of dual column values. |
row_dual |
Numeric vector of dual row values. |
value_valid |
Logical, whether the primal values are valid. |
dual_valid |
Logical, whether the dual values are valid. |
An integer status code (0 = OK).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.