Skip to main content

[MATLAB] Modeling QCQP(Quadratically Constrained Quadratic Problems)

Answered

Comments

2 comments

  • Riley Clement
    Gurobi Staff Gurobi Staff

    Hi Yooseung,

    I don't have the working knowledge to answer this, maybe someone else will, but it seems like something you could easily test?

    You can write out an LP file with gurobi_write() and inspect it.

    - Riley

    1
  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    Hi Yooseung,

    If I understand your post correctly, your concern is about defining a linear constraint via the quadcon struct. It should be no problem to define a linear constraint via the quadcon struct, i.e., set the \(Q\) matrix = 0. If you see some suspicious or wrong behavior, please let us know.

    As Riley suggested, you can always write out an LP file and analyze what is happening.

    Best regards, 
    Jaromił

    1

Please sign in to leave a comment.