Is there a difference in performance within JuMP, MOI, and/or the third-party MILP solver between the two possible ways of defining a binary variable given below?
- @variable(m, b, Int, lower_bound = 0, upper_bound = 1)
- @variable(m, b, Bin)
Is there a difference in performance within JuMP, MOI, and/or the third-party MILP solver between the two possible ways of defining a binary variable given below?
In general, no, they’re the same.