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

Adding user cuts derived from optimal simplex tableau

回答済み

コメント

3件のコメント

  • 正式なコメント
    Simranjit Kaur
    • Gurobi Staff
    This post is more than three 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 why not try Gurobot?
  • Jaromił Najman
    • Gurobi Staff

    Hi Satender,

    It is currently not possible to get the information you need from within a callback. The only information available in any callback is listed in the Callback documentation.

    I see two possible solutions for your issue.

    If you only want to show the usefulness of your cuts, you could implement a simple B&B algorithm yourself where you call Gurobi in each node to solve an LP. Then, after solving a node LP to optimality, you can extract all information needed via the respective attributes. Note that this approach would lack all MIP technology implemented in Gurobi but would probably still be enough to show the validity of your cuts.

    Alternatively, you could use an open-source solver such as SCIP where you can adjust the code if needed and extract all the information you require. Since SCIP implements most of state-of-the-art MIP technology, this may be the better way to go to implement and test your cuts.

    Best regards, 
    Jaromił

    2
  • Satender .
    • Gurobi-versary
    • First Question
    • First Comment

    Thank you Jaromil for your prompt response. I will try to use other solvers.

     

    0

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