| Actually, no it doesn't mean that the Optimization Toolbox is not available. Several others have asked about this and here is a copy of my response ...
The test failures are because fmincon's interior-point method (which is now the default, i.e. MATPOWER option ' FMC_ALG' is now 4 instead of 1) was not accurate enough in Matlab versions 7.6-7.9. So if you plan to use fmincon for running optimal power flows ( OPF_ALG = 520), I suggest you limit yourself to using the active-set method ( FMC_ALG = 1).
I have attached an updated version of t_opf_fmincon.m that uses the active-set method for fmincon for the tests under those versions of Matlab.
-- Ray Zimmerman Senior Research Associate 419A Warren Hall, Cornell University, Ithaca, NY 14853 phone: (607) 255-9645
|
t_opf_fmincon.m
Description: Binary data
On Mar 13, 2012, at 8:28 AM, Johnny wrote: If I am not mistaken, fmincon is an optimisation toolbox function and I hazard a guess that this message indicates you do not have the optimisation toolbox. Ebisa Negeri - EWI < [email protected]> writes: Hi all,
I am just starting to use the matpower software.
When I type the 'test_matpower' at the matlab prompt, I get the list below. As
you might observe, it reports that "t_opf_fmnincon" is not ok. Does it mean
that matpower is not installed successfully?
Kind regards,
Eb
test_matpower
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......ok (180 of 288 skipped)
t_pf................ok
t_opf_fmincon.......not ok
##### Ran 101 of 101 tests: 65 passed, 36 failed
t_opf_mips..........ok
t_opf_mips_sc.......ok
t_opf_dc_mips.......ok
t_opf_dc_mips_sc....ok
t_opf_dc_ot.........ok
t_opf_userfcns......ok
t_runopf_w_res......ok
t_dcline............ok
t_makePTDF..........ok
t_makeLODF..........ok
t_total_load........ok
t_scale_load........ok
Ran 1768 of 1768 tests: 1552 passed, 36 failed, 180 skipped
Elapsed time 43.34 seconds.
-- Johnny
|