Originally posted by: Khaled Saeed
Dear all,
I am trying to invoke the cplex tuning tool. Unfortunately, I always got this error
Error using cplexlink1263
(null)
Error in Cplex/tuneParam (line 2326)
Error in Cplex/subsref (line 3969)
and this is the method i use to call the tuning tool
% Build model
Cplex = Cplex('bus.lp');
Cplex.Model.obj=S2;
Cplex.Model.sense='minimize';
Cplex.Model.lb=lb;
Cplex.Model.ub=ub;
Cplex.Model.ctype=ctype;
Cplex.Model.A=A;
Cplex.Model.rhs=rhs;
Cplex.Model.lhs =lhs;
Cplex.writeModel('bus.lp')
Cplex.Param.tune.display.Cur=2;
Cplex.Param.tune.timelimit.Cur=50;
Cplex.Param.tune.repeat.Cur=1;
Cplex.tuneParam();
#CPLEXOptimizers#DecisionOptimization