メインコンテンツへスキップ

Gurobi stuck in root node.

進行中

コメント

2件のコメント

  • 正式なコメント
    Simranjit Kaur
    • Gurobi Staff
    This post is more than two years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support.
  • Mario Ruthmair
    • 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.

    Mario

    0

投稿コメントは受け付けていません。