Adds a log_file attribute to a JuMP/HiGHS solver option set, so the solver
writes its iteration log where it can be watched and kept.
Details
The log lands in the run's solver/ directory, alongside the generated
model, so it can be followed while the solve runs:
Without it, HiGHS logs to stdout, which a piped R session buffers – the output appears only when the process ends, and nothing is retained.
See also
solver_options (the shipped solver option sets)
Other interpolation:
interpolate_model(),
subset_model_regions()
Examples
if (FALSE) { # \dontrun{
# barrier, with a followable log
opt <- with_solver_log(solver_options$julia_highs_barrier)
scen <- write_script(scen, solver = opt)
} # }
