New answers tagged

4 votes

Difference between constraint formulation and performance

The answers to the questions may be solver dependent, because many solvers (including I think all the commercial ones) will either linearize the products of variables or perhaps bake them into the ...
user avatar
  • 29.7k
4 votes
Accepted

Difference between constraint formulation and performance

Instead of deciding between linear and nonlinear (quadratic) constraints, I think one should rather decide in terms of convexity as a rule of thumb. For integer problems, one should decide in terms of ...
user avatar
  • 1,192
5 votes

Linearize function

One approach is to perform the usual linearization of a product of a bounded variable and a binary variable, by introducing a new variable to represent the product, along with additional linear ...
user avatar
  • 22.2k

Top 50 recent answers are included