powered by
This function retrieves the objective coefficients of the linear program.
hi_solver_get_lp_costs(solver)
A numeric vector of objective coefficients.
An object of class "highs_solver".
solver <- example_solver() costs <- hi_solver_get_lp_costs(solver)
Run the code above in your browser using DataLab