Originally posted by: xlr8t
Hi,
I'm relatively new to cplex but I couldn't find a solution to my problem in this forum nor was Google able to provide me the needed information...
I want to compare execution times of different settings in the cplex solver. And need to tune the parameters of the cplex solver (cplexmiqp to be specific) through MATLAB. When I use
opts = cplexoptimset(
'cplex'); .... % Set parameters [Z,fval,exitflag,output] = ... cplexmiqp(H,f,Ain,bin,Aeq,beq,[],[],[],[],[],ctype,xIC,opts);
in Matlab and set different parameters it seems they don't have an effect on the solver. In the documentation there are lots of parameters mentioned to tune different parameters but it seems that the namings and convention are different for the MATLAB interface and I couldn't find a documentation which one maps to which parameter in the 'cplexoptimset' struct.
Single Threaded
First of all I need to run cplex on a single thread. I couldn't find exactly which parameter is responsible for that in the cplexoptimset struct. Is there any documentation which parameter stands for what in the MATLAB interface?
I tried:
opts.parallel = 1; opts.mip.limits.auxrootthreads = 1;
Cplex always returns 'Parallel mode: deterministic, using up to 4 threads.' while solving.
Preprocessing
I saw in the documentation that there is an option 'DepInd = 0' which should turn of preprocessing but where can I find that parameter in the matlab interface. I want to be able to turn off preprocessing completely off (I know that the manual says that even then it will perform some small preprocessing steps).
Thanks for any help!
#CPLEXOptimizers#DecisionOptimization