Skip to main content

Adding user cuts derived from optimal simplex tableau

Answered

Comments

2 comments

  • Jaromił Najman
    Gurobi Staff 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

Please sign in to leave a comment.