Skip to main content

Status of Solution

Answered

Comments

3 comments

  • Maliheh Aramon
    Gurobi Staff Gurobi Staff

    Hi Masoud, 

    In Gurobi C++ API, you can use:

    if (model.get(GRB_IntAttr_Status) == GRB_OPTIMAL)

    Best regards,

    Maliheh

    0
  • Masoud Kavoosi
    Gurobi-versary
    Conversationalist
    First Question

    Thanks, Maliheh, for your help!

    Masoud

    0
  • Amal Nammouchi
    Gurobi-versary
    First Question
    Conversationalist

    Hi,

    I am wondering about the equivalent to this in python API

     

    Amal

    0

Please sign in to leave a comment.