Skip to main content

Gurobi stuck in root node.



1 comment

  • Mario Ruthmair
    Gurobi Staff Gurobi Staff

    Hi Micah,

    Have you tried to remove parameter Method=0? This forces the primal simplex to be used which is in most cases not a good idea. In your case the primal simplex gets quite stuck when solving the root relaxation.

    Your model seems to be quite large, sometimes barrier works quite well in those cases (Method=2). But leaving the default setting runs all LP algorithms in parallel to see which is the best.
    MIPFocus=1 is a good idea to focus on finding feasible solutions.
    You could also try NoRelHeurTime=<time in sec.> to run an optional heuristic (for the given amount of time) before the root relaxation is solved.



Please sign in to leave a comment.