JuMP takes long time to load the problem/model

There are various things you could probably do to make this problem build faster.

But the bigger question is: should you try to solve a MIP with 10^7 variables on a laptop, and the answer is “no.”