You’re halfway there with the example, but we need a little more information. In particular, we don’t know what inputs you used for the function. (Number 3 in the PSA.)
To make it simpler (Number 4), try using a small value of I
, J
, and W
(e.g., 1). Does it run? If so, you’re just solving a hard problem. If it still doesn’t run, comment out all of the constraints, and then add them in one-by-one.
The lack of printing is probably because you’re using IJulia. For some reason, it doesn’t flush the Gurobi log to the screen while it’s running.