Skip to main content

Why Gurobi cannot find the solution to a simple Quadratic Optimization Problem?

Answered

Comments

3 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.
  • Ahmed Azab
    • Gurobi Staff

    Hi,
    I solved your model using Gurobi version 11.0.3. 

    Optimal solution found (tolerance 1.00e-04)
    Best objective 1.661528493733e-02, best bound 1.661528493733e-02, gap 0.0000%

    Note that the default lower bound value for the variables is 0.

    Regards
    -Ahmed


    0
  • Zhongjin Lu
    • Gurobi-versary
    • First Question
    • First Comment

    Ahmed,

    Thanks a lot. I didn't realize that the default lower bound value is 0. Once I relax it, Gurobi finds the correct answer. Thanks!

    Zhongjin

    0

Post is closed for comments.