How to implement general nonlinear objective function?
AnsweredI think the version 11 can handle general MINLP now? But I'm not clear how to implement the following objective function in C++ API (Model.addGenConstrPoly() seems not suitable in this case):
600 * x1*x2*x3 + 100 * x2*x3*x4 + 300 * x1*x2*x4
0
-
It is currently not possible to directly implement multilinear terms. However, we discuss a way to implement these in the Knowledge Base article How do I model multilinear terms in Gurobi?
0
Please sign in to leave a comment.
Comments
1 comment