Skip to main content

Constraints does not work

Answered

Comments

3 comments

  • Official comment
    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 our AI Gurobot?.
  • Alison Cozad
    • Gurobi Staff

    Dongjun, I'd be happy to take a look.  It would be helpful if you could provide a bit more information.  Could you provide the 

    1. Full log file from this solve?
    2. Model statistics from this solve?  If you are using the python interface, you can do this by running Model.printStats().  This function gives you a printout of the maximum constraints, bound, and integrality violations. 
    0
  • Dongjun Cai
    • Gurobi-versary
    • Curious
    • First Comment

    Thanks Alison for your attention.The problem has been resolved. Some mistakes in my code. :)

    0

Post is closed for comments.