Jeff said that to make things faster "You could try specifying a starting solution for the optimization process - that might help speed things up." Looking into this, you can do this when you add the solver. e.g.,
add_cbc_solver(x, gap = 0.1, time_limit = .Machine$integer.max, presolve = TRUE, threads = 1, first_feasible = FALSE, start_solution = NULL, verbose = TRUE)
We could try to set start_solution to a previous solution that is likely to be similar
Jeff said that to make things faster "You could try specifying a starting solution for the optimization process - that might help speed things up." Looking into this, you can do this when you add the solver. e.g.,
add_cbc_solver(x, gap = 0.1, time_limit = .Machine$integer.max, presolve = TRUE, threads = 1, first_feasible = FALSE, start_solution = NULL, verbose = TRUE)We could try to set
start_solutionto a previous solution that is likely to be similar