absolute value in the objective function
AnsweredHello,
I am wondering what is the equivalent of
m.addConstr(y == abs_(x))
in the C++ interface? It shows that "abs_" is not defined in the C++ interface...
Thank you in advance!
0
-
Official comment
-
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?.
Post is closed for comments.
Comments
2 comments