Skip to main content

Constraint violating solution output

Answered

Comments

2 comments

  • Official comment
    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.
  • Simranjit Kaur
    • Gurobi Staff

    Hi Ryan,

    As the first step to debugging the behaviour you are observing, please write your model in the LP file format using model.write("test.lp") and check if the max_clusters constraints are constructed as per your expectation in the model.

    Best regards,
    Simran

    0

Post is closed for comments.