Hi Prof.Ray and other dears
I have a question when installling matpower 7.1. to MATLAB R2020a. After 
running 'install_matpower.m', and modifying the MATLAB path, I receive the 
following error after running 'test_matpower.m'.
t_test_fcns.............okt_have_feature..........okt_mplinsolve............ok 
(6 of 66 skipped)t_mips..................okt_mips_pardiso..........ok (60 of 60 
skipped)t_qps_mips..............okt_have_fcn..............okt_nested_struct_copy....okt_nleqs_master..........ok
 (30 of 150 skipped)t_qps_master..............ok (252 of 432 
skipped)t_miqps_master..........ok (178 of 288 
skipped)t_nlps_master...........ok (108 of 540 
skipped)t_opt_model.............Error using opt_model/add_lin_constraint (line 
81) @opt_model/add_lin_constraint: sizes of A, l and u must match.
Error in t_opt_model (line 402) om.add_lin_constraint('mylin', {i, j}, A, l, u, 
vs);
Error in t_run_tests (line 61)  feval( test_names{k}, ~verbose );
Error in test_matpower (line 173)       all_ok = t_run_tests( tests, verbose );
 Could you please help me to fix the error?
Best 
regards---------------------------------------------------------------------Yue 
Yu
School of Electrical Engineering, Southeast UniversityNanjing, Jiangsu, 
China---------------------------------------------------------------------

Reply via email to