Extracting incumbent solution when terminating early in R
AnsweredWhen the MILP solver stops early because the time limit has been reached and an incumbent solution happens to have been found, I would like to extract it after the early termination, but it is not in the output. How to get it?
-
Hi Guillaume,
You can access the solution value and the optimization variable values via
result$objval
result$xThis is described in more detail in the documentation of the R gurobi() function.
Best regards,
Jaromił
Please sign in to leave a comment.
Comments
1 comment