Skip to main content

Retrieve dual optimizers?

Answered

Comments

1 comment

  • Jaromił Najman
    • Gurobi Staff Gurobi Staff

    Hi Xuan,

    You can set the parameter QCPDual to 1. This will make Gurobi compute the dual multipliers for continuous convex QCPs by solving the corresponding KKT problem. This would be the \(\lambda\) and \(\nu\) from slide 2 in the PDF file you linked.

    If your model is non-convex and/or has discrete variables, then no duals will be computed. In this case, you could fix some variables participating in nonconvex terms and/or fix all discrete variables to get a convex QCP.

    Best regards, 
    Jaromił

    0

Please sign in to leave a comment.