本补丁针对电力系统仿真软件MatPower中的Linprog函数错误进行修正,旨在优化软件性能和计算准确性。
使用matpower版本7.1和8.0以及MATLAB R2023a,在输入test_matpower或test_most并遇到以下错误时可以参考:Error using linprog LINPROG(f,A,b,Aeq,beq,LB,UB,X0,OPTIONS) does not accept X0. Use LINPROG(f,A,b,Aeq,beq,LB,UB,OPTIONS) instead. Error in qps_ot (line 268) linprog(c, Ai, bi, Ae, be, xmin, xmax, x0, ot_opt); Error in qps_master (line 266) qps_ot(H, c, A, l, u, xmin, xmax, x0, opt); Error in t_qps_master (line 107) [x,f,s,out,lam] = qps_master([],c,A,l,u,xmin,[],[],opt); Error in t_run_test。此方法亲测有效。