Skip to main content

QUBO solver using Gurobi

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.
  • Elisabeth Rodríguez Heck
    • Gurobi Staff

    Hi Tam,

    Yes, steps 1. and 2. that you suggest are one way of writing a QUBO problem so that you can solve it with Gurobi. If you write your problem in this way, then you can for example use the Python Matrix API. 

    However, QUBOs are nothing else than a particular case of Quadratic Programming problems, namely, quadratic problems where all variables are binary and that have no other constraints. So you could also use the regular Gurobi Python API to model your problem.

    Best regards,

    Elisabeth

    1

Post is closed for comments.