#include "MpUtil.h" #include "NashEquilibriumMulti.cpp" int N = 5001; int D = 2; int J = 4; Vector Lambda(J); Matrix v(N,D); int Func1(const Vector< Vector > &x, Vector &Util) { Set(Util,Zero); Vector Temp(J); for(int n=0; n &x, Vector &xNew) { Vector Temp(J); Matrix Num(J,D,Zero); Vector Den(J,Zero); for(int n=0; n(J,2)); ne.MaxIter = 100; ne.Lambda = 0.25; ne.Method = 2; ne.Option = 2; //ne.Solve(); ne.PrintLevel = 0; //ne.Option = 1; //ne.Solve(); //Print("ne.x",ne.x); Print("ne.Check()",ne.Check()); Print("ne.CheckLocal()",ne.CheckLocal()); SolveFixed sf(Func2,D*J); for(int i=1; i<=100; i++) { Vector Temp = RandomNormalVector(D*J,RandomSeed); Copy(sf.x,Temp); sf.PrintLevel = 0; sf.Solve(); for(int j=0; j