Skip to main content

clustering and SOS constraints

Answered

Comments

3 comments

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

    It depends.

    Do you want that each point is in exactly 1 cluster? Then go for the equality constraint.

    Do you want that each point is in at most 1 cluster? Then go for the SOS1 constraint.

    Best regards,
    Jaromił

    0
  • Permanently deleted user
    • Gurobi-versary
    • First Comment
    • First Question

    Each point must end up exactly in 1 cluster. Equality constraint it is then.  

    Thank you!

    Dudley

    0

Post is closed for comments.