Learn R Programming

raptr (version 0.0.3)

logging.file: Log file

Description

This function returns the Gurobi log file (*.log) associated with solving RAP.

Usage

logging.file(x, y)

# S3 method for RapResults logging.file(x, y = 0)

# S3 method for RapSolved logging.file(x, y = 0)

Arguments

x

RapResults or RapSolved object.

y

NULL to return all values, integer 0 to return the log file for best solution, integer value greater than 0 for log file for the y'th solution.

See Also

RapResults, RapSolved.

Examples

Run this code
# NOT RUN {
data(sim_rs)
# log file for best solution
cat(logging.file(sim_rs, 0))
# log file for second solution
cat(logging.file(sim_rs, 2))
# log files for all solutions
cat(logging.file(sim_rs, NULL))
# }

Run the code above in your browser using DataLab