首先,利用NCP函数,将互补问题转化为一个非光滑方程组问题,然后用凝聚函数对其进行光滑化,进而把互补问题的求解转化为无约束优化问题,最后利用微粒群算法对其进行求解。利用3个测试算例对其进行测试并与其他算法进行比较,计算结果表明:该算法在求解的准确性和有效性方面均优于其他算法。
First,the complementarity problem was reformulated as a system of nonsmooth equations via an NCP-function,and a smoothing approximation to the nonsmooth equations was given by the aggregate function.Furthermore,the complementarity problem could be transformed into unconstrained optimization.Then this problem could be solved by using the particles swarm optimization.The results of three examples show that the method is more effective and accurate as compared with other me-thods.