Skip to main content

Which funtion to use for QCQP?

Answered

Comments

2 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?.
  • Jaromił Najman
    • Gurobi Staff

    Hi Xingyi,

    You can use the addQConstr function. For an example, please have a look at our bilinear_c++ example.

    For the \(\sqrt{\cdot}\), you can use the addGenConstrPow function with \(\texttt{a=0.5}\). Please note that you have to introduce an additional variable when using general constraints.

    Best regards,
    Jaromił

    0

Post is closed for comments.