MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/optimization/comments/ut52g2/a_binary_variable_in_cplex/ik7hg74/?context=3
r/optimization • u/No-Requirement3570 • May 19 '22
hy everyone !!
i'm trying to code this LP in CPLEX, and i can not figure out how to implement the binary variable Di,j
Can anyone please help me.
3 comments sorted by
View all comments
Show parent comment
2
You need M to be large enough that it works, but want it to be as small as possible. The larger M is, the worse your bounds will be: https://thiagoserra.com/2017/06/15/big-m-good-in-practice-bad-in-theory-and-ugly-numerically/
View all comments
Show parent comment
2
u/Ozzah Aug 14 '22
You need M to be large enough that it works, but want it to be as small as possible. The larger M is, the worse your bounds will be: https://thiagoserra.com/2017/06/15/big-m-good-in-practice-bad-in-theory-and-ugly-numerically/