powered by
This function writes the current optimization model to a file.
hi_solver_write_model(solver, filename)
Invisible NULL.
An object of class "highs_solver".
A character string specifying the output file path.
solver <- example_solver() model_file <- tempfile(fileext = ".mps") hi_solver_write_model(solver, model_file)
Run the code above in your browser using DataLab