See Appendix G.4 in the User's Manual.

-- 
Ray Zimmerman
Senior Research Associate
419A Warren Hall, Cornell University, Ithaca, NY 14853
phone: (607) 255-9645




On Nov 7, 2011, at 8:38 AM, Santiago Chamba wrote:

> 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
    • Re: CPLEX Ray Zimmerman

Reply via email to