I am not certain, but my best guess from the information given is that it is related to MOSEK. Matlab’s MOSEK interface includes files that override Matlab’s Optimization Toolbox versions of some files (esp. linprog.m, quadprog.m). It’s possible that removing these files from your path (as I do) will resolve the issue. I’m guessing that MATPOWER *thinks* you have the Optimization Toolbox installed because it can find a function called linprog().
-- Ray Zimmerman Senior Research Associate B30 Warren Hall, Cornell University, Ithaca, NY 14853 phone: (607) 255-9645 On Apr 30, 2014, at 12:49 PM, Sohail Khan <[email protected]> wrote: > Hello, > > I have followed the installation steps on Matlab but when i run test_matpower > following error is emerged. > > t_loadcase..........ok > t_ext2int2ext.......ok > t_jacobian..........ok > t_hessian...........ok > t_totcost...........ok > t_modcost...........ok > t_hasPQcap..........ok > t_mips..............ok > t_qps_matpower......??? Error using ==> optimset at 181 > Invalid value for OPTIONS parameter MaxNodes: must be a real non-negative > integer. > > Error in ==> qps_ot at 229 > ot_opt = optimset('linprog'); > > Error in ==> qps_matpower at 240 > [x, f, eflag, output, lambda] = ... > > Error in ==> t_qps_matpower at 78 > [x, f, s, out, lam] = qps_matpower([], c, A, l, u, xmin, [], [], opt); > > Error in ==> t_run_tests at 79 > feval( test_names{k}, ~verbose ); > > Error in ==> test_matpower at 135 > t_run_tests( tests, verbose ); > > I have installed following toolboxes in Matlab: > > YALMIP > MOSEK > SEDUMI > > Following is the version information: > MATLAB R2010a > Matpower 4.1 > > Please guide me how this error can be removed. Thank you! > > Best wishes > Sohail > > PhD student > Austrian Institute of Technology >
