powered by
Executes the optimization solver on the current model.
hi_solver_run(solver, verbose = FALSE)
An integer status code (-1 = error, 0 = success, 1 = warning).
An object of class "highs_solver".
a logical if TRUE, prints solver log messages to the console.
Solver output is controlled by the `output_flag` option: use `hi_solver_set_option(solver, "output_flag", "off")` to suppress logging.
solver <- example_solver() hi_solver_run(solver)
Run the code above in your browser using DataLab