Dear Uriel, Thank you!
With your information, i have found a solution for using the required facility of mosek when required by including the path at the run time and removing it when necessary. For more details. See http://www.alecjacobson.com/weblog/?p=1639 Best wishes Sohail On Fri, May 2, 2014 at 3:25 PM, Uriel Fernando Sandoval < [email protected]> wrote: > Dear Sohail, > > I think Matlab was using "optimset" Mosek function instead the Matlab > built in function. Both have the same name. > > Regards > Uriel > > > > > > El 02/05/2014, a las 04:34, Sohail Khan <[email protected]> escribió: > > Dear fellows, > > I was facing error while running the runtest_matpower. Please find the > details at the end. > > The problem is resolved by removing the path to mosek optimization > toolbox. Now the test_matpower works fine. > > I don't know what caused this error. Please reply if you know a workaround > of using Mosek and Matpower simultaneously. > > > > Best wishes > Sohail > > > > > > > > ---------------------------------------------------------------------------------------------------------------------------------- > In response to my email: > > Hello, > > I have followed the installation steps on Matlab but when i > runtest_matpowerfollowing 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 > > >
