Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.
Originally posted by: NguyenHuuTRi
Hi,
Could you please help me the way to set the number of iterations as I would like to stop my model with the limited iterations due to time consumption. For your information, I solved my model by MIP in CPLEX
Thanks very much.
Hi
cplex.tilim=10;
inside an execute block if you want cplex to stop after 10 seconds
regards
I am using the code you provided but after 10 seconds, CPLEX is still running. Could you please advise me the reason why it still run. Thanks.
execute{ cplex.tilim=10; }
can you attach your full model ?
Hi Alex,
here it is. Thanks.
in order to use your .ops file testsize.ops you should add it to your run configuration.
Otherwise you may add
in your .mod before the subject to block.
Regards
I have tried to do what you suggested but it does not work at all.
I wonder if there is any missing steps or setting.
Thanks.
the 10s start when the solve starts.
You seem to have a problem that takes some time at extraction and that is why after 10s you do not have any result.
You should improve your model.