Marijn
Marijn

Reputation: 21

CPLEX time limit

I am using the IBM ILOG CPLEX Optimization Studio (version 12.6.3) to solve a large optimization problem. Since the problem is so big, CPLEX takes a very long time, so I want to limit the runtime. What is the correct syntax to limit this?

Thanks!

Note: I am not using another language to run the CPLEX model, I am running directly from IBM ILOG CPLEX Otimization Studio

Upvotes: 1

Views: 5744

Answers (2)

Bilaylos
Bilaylos

Reputation: 11

The time can also be reduced if you want to get at least one feasible solution by: in setting --> General --> Mathematical programming --> FeasOpt. You will find the default value of 1.0E-6 that you can reduce as appropriate.

Upvotes: 0

Khái Duy
Khái Duy

Reputation: 69

execute timeTermination {
    cplex.tilim = 40*60;   // set time model stop (second)
    }

Upvotes: 2

Related Questions