powered by
This function sets the objective offset in the solver instance.
hi_solver_set_offset(solver, ext_offset)
The solver instance with the updated offset.
An object of class "highs_solver".
A numeric value representing the offset.
solver <- example_solver() hi_solver_set_offset(solver, 5.0)
Run the code above in your browser using DataLab