Dear Prof. Zimmermann,

I want to run a example with cplex, but I have some problems.

For example, I run the opf: 

 

mpopt = mpoption('OPF_ALG_DC', 500);

R=rundcopf('caso4n_sistB_reser_welfare',mpopt)

 

But I have the following responses:

??? Undefined function or method 'cplexoptimset' for input arguments of type
'char'.

 

Error in ==> cplex_options at 112

opt = cplexoptimset('cplex');

 

Error in ==> dcopf_solver at 210

        opt.cplex_opt = cplex_options([], mpopt);

 

Error in ==> opf_execute at 71

  [results, success, raw] = dcopf_solver(om, mpopt);

 

Error in ==> opf at 225

[results, success, raw] = opf_execute(om, mpopt);

 

Error in ==> runopf at 96

[r, success] = opf(casedata, mpopt);

 

Error in ==> rundcopf at 94

[varargout{1:nargout}] = runopf(casedata, mpopt, fname, solvedcase);

 

Is necessary to use TOMLAB? or what is the problem, please??

 

Thanks,

Santiago

 

  • CPLEX Santiago Chamba

Reply via email to