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

The same LP-relaxation and root node relaxation

ユーザーの入力を待っています。

コメント

5件のコメント

  • 正式なコメント
    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.
  • Michel Soares
    • Gurobi-versary
    • Thought Leader

    Hi Saeedeh,

    The root node of a MIP is indeed the solution of the relaxed model. Indeed, there are many cuts that can be added in the root node to speed up finding a good integer solution. If you want to increase the number of cuts, you can specify the parameter Cuts = 3 and see the impact in the report of cuts used at the end of optimization and the different in the optimization time.

    0
  • Saeedeh Ahmadi Basir
    • Gurobi-versary
    • First Comment
    • First Question

    Thank you for your response. My question is how can I count the number of cuts that are added in root node relaxation? I want to know the reason for the same root node relaxation and LP-relaxation. I checked the solution of the LP-relaxation. It is not an integer solution.

    0
  • Michel Soares
    • Gurobi-versary
    • Thought Leader

    You can get the number of cuts added using callbacks. You can get the number of cuts added so far (MIP_CUTCNT) in a MIP node (MIPNODE and MIPNODE_NODCNT = 0): that should give you the number of cuts added in the root node.

    0
  • Saeedeh Ahmadi Basir
    • Gurobi-versary
    • First Comment
    • First Question

    Thank you very much. 

    0

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