1. Current versions of Gurobi include their own Matlab interface, so it is no 
longer necessary to build your own Gurobi MEX interface. In fact, MATPOWER 5 no 
longer supports the older Gurobi MEX interface used in MATPOWER 4. If you have 
Gurobi 5.x installed, you should only need to ensure that the appropriate 
directories are included in your Matlab path.

2. Please check your Matlab path to ensure that it does not have any old 
MATPOWER paths (from previous versions) or other files that might conflict with 
MATPOWER functions. Also, make sure that in only includes the MATPOWER paths 
listed in the installation instructions (if you add all sub-directories you get 
extra things that aren’t needed and might potentially cause problems). If you 
still have the error, then please send me off-list the output of the following 
commands …

path
mpver
t_opf_model


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

On Jul 14, 2014, at 9:23 PM, Saurav Mansingh Basnet <[email protected]> 
wrote:

> Hi There,
> I have 2 quires.
> 1. I am having problem  solving Gurobi. I did download Gurobi mex and also C 
> compiler, but it did not help. I followed  following link to install Gurobi.
> http://www.convexoptimization.com/wikimization/index.php/Gurobi_Mex:_A_MATLAB_interface_for_Gurobi#Download.2C_Installation.2C_and_Limitations
> 
> 
> 2. When I ran test_matpower for version 5, it gives me following error.
> >> test_matpower
>  t_nested_struct_copy....ok
>  t_mpoption..............ok
>  t_loadcase..............ok
>  t_ext2int2ext...........ok
>  t_jacobian..............ok
>  t_hessian...............ok
>  t_margcost..............ok
>  t_totcost...............ok
>  t_modcost...............ok
>  t_hasPQcap..............ok
>  t_mips..................ok
>  t_qps_matpower..........ok (180 of 324 skipped)
>  t_pf....................ok
>  t_cpf...................ok
>  t_islands...............ok
>  t_opf_model.............??? Reference to non-existent field 'var'.
>  Error in ==> opf_model.getN at 51
> 
> 
> I appreciate your help and support.
> Best regards
> Saurav

Reply via email to