ops=sdpsettings;
>>ops.cplex
ans =
advance: 1 barrier: [1x1 struct] clocktype: 2 conflict: [1x1 struct] cpumask: 'auto' dettimelimit: 1.0000e+75 distmip: [1x1 struct] emphasis: [1x1 struct] feasopt: [1x1 struct] lpmethod: 0 mip: [1x1 struct] network: [1x1 struct] optimalitytarget: 0 output: [1x1 struct] parallel: 0 preprocessing: [1x1 struct] qpmethod: 0 randomseed: 201509044 read: [1x1 struct] sifting: [1x1 struct] simplex: [1x1 struct] solutiontype: 0 solutiontarget: 0 threads: 0 timelimit: 1.0000e+75 tune: [1x1 struct] workdir: '.' workmem: 2048 display: 'off' exportmodel: ''
ops=sdpsettings('solver','cplex');[MODEL,RECOVERYMODEL,DIAGNOSTIC,INTERNAL] = export(Constraints,Obj,ops);[x,fval,exitflag,output]=cplexmilp(MODEL.f,MODEL.Aineq,MODEL.bineq,MODEL.Aeq,MODEL.beq,[],[],[],MODEL.lb,MODEL.ub,MODEL.ctype,MODEL.x0,MODEL.options);
[x,fval,exitflag,output]=cplexmilp(MODEL.f,MODEL.Aineq,MODEL.bineq,MODEL.Aeq,MODEL.beq,[],[],[],MODEL.lb,MODEL.ub,MODEL.ctype',MODEL.x0,MODEL.options);