Multiplication of multiple variables
AnsweredFirst of all, I am new to gurobi. I want to implement a function which looks like following,

where n is an array of gurobi decision variable. How do i achieve that?
Note: I'm trying to solve it in python.
1
-
Official comment
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?. -
In order to model this multilinear term, you have to introduce \(k\) auxiliary variables and constraints. Please have a look at the Knowledge Base article How do I model multilinear terms in Gurobi?
Best regards,
Jaromił1
Post is closed for comments.
Comments
2 comments