logging.file | R Documentation |
This function returns the Gurobi log file (*.log) associated with solving an optimization problem.
logging.file(x, y)
## S3 method for class 'RapResults'
logging.file(x, y = 0)
## S3 method for class 'RapSolved'
logging.file(x, y = 0)
x |
|
y |
Available inputs include: |
The term logging file was used due to collisions with the log
function.
RapResults()
, RapSolved()
.
## Not run:
# load data
data(sim_rs)
# log file for the best solution
cat(logging.file(sim_rs, 0))
# log file for the second solution
cat(logging.file(sim_rs, 2))
# log files for all solutions
cat(logging.file(sim_rs, NULL))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.