write_prm | R Documentation |
Create a .prm file with parameters from Gurobi
write_prm(params, path, filename)
params |
A list of Gurobi parameters |
path |
The directory to store the resulting |
filename |
The name of the resulting |
While gurobi::gurobi_write()
can save Gurobi models, it cannot save
the parameters. The function write_prm
overcomes this limitation
by creating a .prm
file with the parameters.
A .prm
file named filename
in the directory path
that stores params
gurobi_write
## Not run: params <- list(NonConvex = 0) write_prm(params, ".", "example") file.remove("./example.prm") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.