Quadratic equations (x*y) calculation
AnsweredHello guys, do you know how does Gurobi handle the multiplication of two continuous variables under the hood? I was searching how to linearize this calculation and I came across McCormick envelopes https://optimization.cbe.cornell.edu/index.php?title=McCormick_envelopes
and another trick from AIMMS manual on pg 85 here:
https://download.aimms.com/aimms/download/manuals/AIMMS3OM_IntegerProgrammingTricks.pdf
Kind regards
Iason
-
Official comment
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. -
Hi Iason,
Gurobi uses the McCormick envelopes which you mentioned to construct the convex and concave envelope of a bilinear product. I would recommend watching our webinars and Tech Talk about nonconvex quadratic optimization
- Non-Convex Quadratic Optimization in Gurobi 9.0
- Nonconvex Quadratic Optimization with Gurobi
- Tech Talk: A Practical Tour Through Non-Convex Optimization
The contents may overlap quite a bit but each presentation provides a slightly different view and insight into the nonconvex world.
Best regards,
Jaromił0 -
Thanks Jaromił
0
Post is closed for comments.
Comments
3 comments