Skip to main content

model the minimization of sum of inverse functions

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 Miranda,

    Indeed, your problem can be solved as a second order cone problem. You can reformulate

    \[ x \cdot z \geq 1\]

    as

    \[ \begin{align}x^2 + x\cdot z + z^2 - x^2 - z^2 &\geq 1\\
    (x + z)^2 &\geq x^2 + z^2 + 1\\
    x + z & \geq \sqrt{x^2 + z^2 + 1} \end{align}\]

    which is a rotated second order cone. Thus, Gurobi reformulates your problem and can solve it as a convex problem. You do not have to set the NonConvex parameter. Note that this is possible as long as \(x,z \geq 0\)

    Best regards,
    Jaromił

    0

Post is closed for comments.