0

I am trying to solve a mixed integer linear program via YALMIP using Gurobi optimizer. I solve a problem which has a specific result I know. However, when I start Matlab in my computer for the first time it is being solved in 0.5 seconds. I clear everything and run the code again. The same result is coming in 0.8 seconds. Then, 1 seconds and so on. How can I really fix this? I am clearing the workspace after each run!

0 Answers0