Mathematical Problems in Engineering

Volume 2014 (2014), Article ID 640960, 8 pages

http://dx.doi.org/10.1155/2014/640960

## A Mixed 0-1 Linear Programming Approach to the Computation of All Pure-Strategy Nash Equilibria of a Finite *n*-Person Game in Normal Form

^{1}Department of Precision Machinery and Precision Instrumentation, University of Science and Technology of China, Hefei 230026, China^{2}Department of Systems Engineering and Engineering Management, City University of Hong Kong, Hong Kong^{3}Department of Engineering, Faculty of Engineering and Science, University of Agder, 4898 Grimstad, Norway^{4}School of Engineering and Information Technology, University of New South Wales at the Australian Defence Force Academy, Canberra, ACT 2600, Australia

Received 19 January 2014; Accepted 3 March 2014; Published 25 March 2014

Academic Editor: Michael Lütjen

Copyright © 2014 Zhengtian Wu et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

A main concern in applications of game theory is how to effectively select a Nash equilibrium, especially a pure-strategy Nash equilibrium for a finite -person game in normal form. This selection process often requires the computation of all Nash equilibria. It is well known that determining whether a finite game has a pure-strategy Nash equilibrium is an NP-hard problem and it is difficult to solve by naive enumeration algorithms. By exploiting the properties of pure strategy and multilinear terms in the payoff functions, this paper formulates a new mixed 0-1 linear program for computing all pure-strategy Nash equilibria. To our knowledge, it is the first method to formulate a mixed 0-1 linear programming for pure-strategy Nash equilibria and it may work well for similar problems. Numerical results show that the approach is effective and this method can be easily distributed in a distributed way.

#### 1. Introduction

Nash equilibrium, as defined in [7], plays a fundamental role in the development of game theory and its diverse applications in areas such as biology, computer science, economics, and management and social sciences. In these applications, a main concern is how to effectively select a Nash equilibrium, especially a pure-strategy Nash equilibrium for a finite -person game in normal form. To tackle this problem, many contributions have been made in the literature.

In recent years, most related work is focused on finding mixed-strategy Nash equilibrium. In terms of computational complexity, it was shown in [1, 2] that the problem of finding one mixed-strategy Nash equilibrium is PPAD-complete. The first method for computing Nash equilibrium of a two-person game was developed in [3] and was extended to computing Nash equilibria of -person games independently in [4, 5]. The existence of Nash equilibrium was established from an application of Brouwer and Kakutani fixed-point theorems in [6, 7]. To approximate fixed points of continuous mappings, simplicial methods were originated in [8] and substantially developed in the literature such as [9–15]. Simplicial methods were adapted for computing Nash equilibria in [16]. Several more advanced simplicial methods for computing Nash equilibria were presented in [17–19]. A pivoting procedure was proposed in [20, 21] for computing the Nash equilibria of two-person games selected by the linear tracing procedure proposed in [22]. This procedure was extended to -person games in [23]. A survey of the literature on the computation of Nash equilibria before 1996 can be found in [24] and on computing equilibria for two-person games in [25]. By exploiting differentiability of the problem, several methods have been developed for computing Nash equilibria in the literature. A smooth logarithmic tracing procedure with two parameters was proposed in [26]. It was proved in [27] that the procedure converges to a Nash equilibrium as two parameters approach zero one after another. The linear tracing procedure together with well-chosen nonlinear transformations of variables of the system of the optimality conditions leads to a differentiable homotopy method in [28]. As a result of Kohlberg and Mertens’ structure theorem [29], the global Newton method in [30] was combined with the homotopy method in [11] to obtain an algorithm for computing Nash equilibrium. A survey on homotopy methods for computing Nash equilibrium is referred to in [31]. Some new related work has been developed in the literature [32–36].

All the algorithms mentioned above can only find a sample Nash equilibrium. Unfortunately, in practice, a game can have many Nash equilibria and which equilibrium should be effectively selected to play is a very challenging issue. The equilibrium selection process often requires the computation of all Nash equilibria of a game. To address this issue, several algorithms have been developed in the literature. A path-following algorithm was described in [37] to compute all Nash equilibria of a bimatrix game. A homotopy algorithm was presented in [38] to find all Nash equilibria of an -person game. Both of these algorithms are based on systems of polynomial equations. A survey on polyhedral homotopy continuation methods for all Nash equilibria can be found in [39]. In [40], a mixed-integer program (MIP) was formulated to find Nash equilibria of a bimatrix game, which can be employed to compute all Nash equilibria of a bimatrix game. Recently, by enumerating vertices of polyhedrons, two algorithms were introduced in [41] for computing all Nash equilibria of a bimatrix game.

As a special example of the mixed-strategy Nash equilibrium, the pure-strategy Nash equilibrium has gotten more attention recently. The work of [42] shows that determining whether a game has a pure-strategy Nash equilibrium is NP-hard. The work of [2] presents a novel generic mapping between graphical games and Markov random fields so that pure Nash equilibria in the former can be found by statistical inference on the latter. Based on a new description format of game-stimulate-response pair, the work of [43] puts forward a constraints’ satisfaction-based algorithm on this data structure to compute pure Nash equilibrium of graphical game. The work of [44] develops an efficient algorithm, which is called Valued Nash Propagation, for computing pure strategy Nash equilibria that satisfy various criteria (such as the utilitarian or Nash-Bernoulli social welfare functions) in games with sparse interaction structure. Some other related work can be found in [2, 45, 46].

As a special case of integer programming, the mixed 0-1 linear programming, in which unknowns are binary, has many applications in operation research. Many classic problems, such as the knapsack problem, facility location problem, production planning problem, and time tabling problem, can be formulated as a mixed 0-1 linear programming. The research of these problems which has a long history and many commercial softwares, most of which are based on branch and bound method, cutting plane method, or branch and cut method, could solve this mixed 0-1 linear programming well.

This paper studies the computation of all pure-strategy Nash equilibria of a finite -person game in normal form. To solve this problem, we formulate a mixed 0-1 linear programming by exploiting the properties of pure strategy and multilinear forms in the payoff functions. An enumeration of all the feasible solutions of the mixed 0-1 linear program yields all pure-strategy Nash equilibria. Numerical results show that the method is promising. To our knowledge, it is the first method to formulate a mixed 0-1 linear programming for pure-strategy Nash equilibria and this method may work well for other similar problems. Furthermore, as an advantage of the formulation, one can apply distributed computation to dramatically speed up the computation.

The rest of the paper is organized as follows. Section 2 formulates a mixed 0-1 linear program for computing all pure-strategy equilibria. Section 3 presents numerical results to show that the approach is effective. The paper is concluded with some remarks in Section 4.

#### 2. A Mixed 0-1 Linear Programming Formulation

In this section a mixed 0-1 linear programming will be formulated to all pure-strategy Nash equilibria of a finite game.

Let be the set of players. The pure strategy set of player is denoted by with . Given with , the set of all pure strategy profiles is . We denote the payoff function of player by . For , let . Then, can be rewritten as with . A mixed strategy of player is a probability distribution on denoted by . Let be the set of all mixed strategies of player . Then, . Thus, for , the probability assigned to pure strategy is equal to . Given with , the set of all mixed strategy profiles is . For , let . Then, can be rewritten as with . If is played, then the probability that a pure strategy profile occurs is . Therefore, for , the expected payoff of player is given by . With these notations, a finite -person game in normal form can be represented as or .

*Definition 1 (Nash, [7]). *A mixed strategy profile is a Nash equilibrium of game if for all and .

With this definition, an application of the optimality condition leads to the fact that is a Nash equilibrium if and only if there are and together with satisfying the system of where .

Lemma 2. *Let be a given positive number such that
**
Then, (1) is equivalent to
*

*Proof. *Let be a solution of the system (3). Suppose that in (3). Then, and . Thus, . Suppose that = 1 in (3). Then, . Thus, . Therefore, is a solution of the system (1).

Let be a solution of the system (1). Since , there must exist some such that . From , we get that . Thus, . Therefore, for any , we obtain from the system (1) that

Suppose that . Let . Thus,
Suppose that . Let . Thus,
Therefore, is a solution of the system (3). This completes the proof.

*This lemma implies that finding a pure-strategy Nash equilibrium is equivalent to finding a solution to the system of
For any , one can obtain from that
Let for . Then,
Substituting this into (7) yields
Observe that since . This property leads to the following result.*

*Lemma 3. For and , the system of
is equivalent to the system of
*

*Proof. *Let be a solution of the system (12). Suppose that , for all . Then,
Thus, .

Suppose that , . Then,
Thus, . Therefore, is a solution of the system (11).

Let be a solution of the system (11). Suppose that , for all . Then, . Thus,
Suppose that , . Then, . Thus,
Therefore, is a solution of the system (12). This completes the proof.

*Replacing of the system (10) with the system (12), we obtain a mixed 0-1 linear program, which is as follows:
As a corollary of Lemma 3, we obtain the following result.*

*Corollary 4. The system (17) is equivalent to the system (7).*

*The above idea is illustrated in the following example.*

*Example 5. *Consider a three-player game , where , , , and are given by

Let . The mixed 0-1 linear program for this game is given by

*3. Numerical Results*

*3. Numerical Results*

*In this section, some numerical results are presented. Under the software Microsoft Visual Studio 2008 and ILOG CPLEX, we use C++ to call ILOG CPLEX API functions which are based on the branch and cut method to solve the mixed 0-1 linear program (17). The MIP (mixed integer programming) search method, which is a dynamic search strategy or branch and cut strategy in ILOG CPLEX, is determined by the ILOG CPLEX automatically. All other parameters are also set automatically by ILOG CPLEX itself.*

*We have run our code on a workstation of Lenovo ThinkStation D20 4155-BM4 with 16 processors and 16 G RAM. In the presentation of numerical results, some symbols are explained as follows: Num: the number of players; Num: the number of strategies for each player; NumEquilibra: the number of pure-strategy Nash equilibria for the instance; Time: the total computational time to solve the problem.*

*Example 1. *Consider a three-player game , where . The number of strategies for each player, , is generated from 3 to 45 randomly. The are generated randomly too. There are three different ranges for in this example, which are from 0 to 10, from 0 to 50, and from 0 to 100.

*Let ; 30 instances have been solved for each range of . Numerical results for each range are presented in Tables 1, 2, and 3, respectively.*

*Example 2. *Consider a five-player game , where . The number of strategies for each player, , is generated from 3 to 7 randomly. The are generated randomly too. There are three different ranges for in this example, which are from 0 to 10, from 0 to 50, and from 0 to 100.

*Let ; 10 instances have been solved for each range of . Numerical results for each range are presented in Tables 4, 5, and 6, respectively.*

*From Tables 1, 2, and 3, one can see that this mixed 0-1 linear programming method can find all pure-strategy Nash equilibria of three-person game effectively. For example, in Table 1 the problem 30 with 45 strategies can be solved in 16992.10 seconds and the number of equilibria is 26. It has been shown that every -person game can be reduced to a three-person game in polynomial time in [47]. However, some five-person games are still solved by this method in our examples in order to test the effectiveness of this mixed 0-1 linear programming approach. The numerical results for five-person can be obtained from Tables 4, 5, and 6. All the numerical results show that this new method can handle all pure-strategy Nash equilibria of -person successfully. However, the computation time increases quickly with the increasing of the problems’ dimension. To tackle this problem, the distributed computation, which is a salient feature of the integer programming, will be considered in our next work. Besides, some similar problems with multilinear terms could be solved by this method too.*

*4. Conclusions*

*4. Conclusions*

*In this paper, a mixed 0-1 linear programming approach has been proposed to find all pure-strategy Nash equilibria of a finite -person game in normal form. This method is based on the properties of pure strategy and multilinear terms in the payoff functions. Some numerical results have been given too. The results are promising. However, there is still some interesting future work to be done in the next step. For one thing, as a nice feature of integer programming, the computation will be implemented in a distributed way, which can significantly speed up the efficiency. For another, more research about the properties of strategy and multilinear terms has to be done in order to compute more general Nash equilibria, mixed-strategy Nash equilibria.*

*Conflict of Interests*

*Conflict of Interests*

*The authors declare that there is no conflict of interests regarding the publication of this paper.*

*Acknowledgment*

*Acknowledgment*

*This work was partially supported by the RCN (Research Council of Norway) DECOFF project number 225231/O70 and by GRF: CityU 112910 of Hong Kong SAR Government.*

*References*

*References*

- X. Chen and X. Deng, “Settling the complexity of two-player Nash equilibrium,” in
*Proceedings of the 47th Annual IEEE Symposium on Foundations of Computer Science (FOCS '06)*, pp. 261–270, Berkeley, Calif, USA, October 2006. View at Publisher · View at Google Scholar · View at Scopus - C. Daskalakis, P. W. Goldberg, and C. H. Papadimitriou, “The complexity of computing a Nash equilibrium,” in
*Proceedings of the 38th Annual ACM Symposium on Theory of Computing (STOC '06)*, pp. 71–78, ACM, New York, NY, USA, 2006. View at Publisher · View at Google Scholar · View at MathSciNet - C. E. Lemke and J. T. Howson, “Equilibrium points of bimatrix games,”
*Journal of the Society for Industrial and Applied Mathematics*, vol. 12, pp. 413–423, 1964. View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - J. Rosenmüller, “On a generalization of the Lemke-Howson algorithm to noncooperative $n$-person games,”
*SIAM Journal on Applied Mathematics*, vol. 21, pp. 73–79, 1971. View at Publisher · View at Google Scholar · View at MathSciNet - R. Wilson, “Computing equilibria of $n$-person games,”
*SIAM Journal on Applied Mathematics*, vol. 21, pp. 80–87, 1971. View at Publisher · View at Google Scholar · View at MathSciNet - J. F. Nash, “Equilibrium points in $n$-person games,”
*Proceedings of the National Academy of Sciences of the United States of America*, vol. 36, pp. 48–49, 1950. View at Publisher · View at Google Scholar · View at MathSciNet - J. F. Nash, “Non-cooperative games,”
*Annals of Mathematics*, vol. 54, no. 2, pp. 286–295, 1951. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - H. Scarf, “The approximation of fixed points of a continuous mapping,”
*SIAM Journal on Applied Mathematics*, vol. 15, pp. 1328–1343, 1967. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - E. L. Allgower and K. Georg, “Piecewise linear methods for nonlinear equations and optimization,”
*Journal of Computational and Applied Mathematics*, vol. 124, no. 1-2, pp. 245–261, 2000. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - C. Y. Dang, “The D1-triangulation of Rn for simplicial algorithms for computing solutions of nonlinear equations,”
*Mathematics of Operations Research*, vol. 16, no. 1, pp. 148–161, 1991. View at Publisher · View at Google Scholar · View at MathSciNet - B. C. Eaves, “Homotopies for computation of fixed points,”
*Mathematical Programming*, vol. 3, pp. 1–22, 1972. View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - C. B. Garcia and W. I. Zangwill,
*Pathways to Solutions, Fixed Points, and Equilibria*, Prentice Hall, Englewood Cliffs, NJ, USA, 1981. - M. Kojima and Y. Yamamoto, “A unified approach to the implementation of several restart fixed point algorithms and a new variable dimension algorithm,”
*Mathematical Programming*, vol. 28, no. 3, pp. 288–328, 1984. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - G. van der Laan and A. J. J. Talman, “A restart algorithm for computing fixed points without an extra dimension,”
*Mathematical Programming*, vol. 17, no. 1, pp. 74–84, 1979. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - M. J. Todd,
*The Computation of Fixed Points and Applications*, vol. 1 of*Lecture Notes in Economics and Mathematical Systems*, Springer, Berlin, Germany, 1976. View at MathSciNet - C. B. Garcia, C. E. Lemke, and H. Luethi, “Simplicial approximation of an equilibrium point of noncooperative $n$-person games,”
*Mathematical Programming*, vol. 4, pp. 227–260, 1973. View at Google Scholar - T. M. Doup and A. J. J. Talman, “A new simplicial variable dimension algorithm to find equilibria on the product space of unit simplices,”
*Mathematical Programming*, vol. 37, no. 3, pp. 319–355, 1987. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - T. M. Doup and A. J. J. Talman, “A continuous deformation algorithm on the product space of unit simplices,”
*Mathematics of Operations Research*, vol. 12, no. 3, pp. 485–521, 1987. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - G. van der Laan, A. J. J. Talman, and L. van der Heyden, “Simplicial variable dimension algorithms for solving the nonlinear complementarity problem on a product of unit simplices using a general labelling,”
*Mathematics of Operations Research*, vol. 12, no. 3, pp. 377–397, 1987. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - A. H. van den Elzen and A. J. J. Talman, “A procedure for finding Nash equilibria in bi-matrix games,”
*Zeitschrift für Operations Research: Mathematical Methods of Operations Research*, vol. 35, no. 1, pp. 27–43, 1991. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - A. van den Elzen and D. Talman, “An algorithmic approach toward the tracing procedure for bi-matrix games,”
*Games and Economic Behavior*, vol. 28, no. 1, pp. 130–145, 1999. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - J. C. Harsanyi, “The tracing procedure: a Bayesian approach to defining a solution for $n$-person noncooperative games,”
*International Journal of Game Theory*, vol. 4, no. 1-2, pp. 61–94, 1975. View at Publisher · View at Google Scholar · View at MathSciNet - P. J.-J. Herings and A. van den Elzen, “Computation of the Nash equilibrium selected by the tracing procedure in $n$-person games,”
*Games and Economic Behavior*, vol. 38, no. 1, pp. 89–117, 2002. View at Publisher · View at Google Scholar · View at MathSciNet - R. D. McKelvey and A. McLennan, “Computation of equilibria in finite games,” in
*Handbook of Computational Economics*, vol. 1, pp. 87–142, North-Holland, Amsterdam, The Netherlands, 1996. View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - B. Von Stengel, “Computing equilibria for two-person games,” in
*Handbook of Game Theory with Economic Applications*, vol. 3, pp. 1723–1759, 2002. View at Publisher · View at Google Scholar · View at Scopus - J. C. Harsanyi and R. Selten,
*A General Theory of Equilibrium Selection in Games*, vol. 1, MIT Press, Cambridge, Mass, USA, 1988. View at MathSciNet - S. H. Schanuel, L. K. Simon, and W. R. Zame, “The algebraic geometry of games and the tracing procedure,”
*Game Equilibrium Models*, vol. 2, pp. 9–43, 1991. View at Google Scholar - P. J.-J. Herings and R. J. A. P. Peeters, “A differentiable homotopy to compute Nash equilibria of $n$-person games,”
*Economic Theory*, vol. 18, no. 1, pp. 159–185, 2001. View at Publisher · View at Google Scholar · View at MathSciNet - S. Govindan and R. Wilson, “A global Newton method to compute Nash equilibria,”
*Journal of Economic Theory*, vol. 110, no. 1, pp. 65–86, 2003. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - S. Smale, “A convergent process of price adjustment and global Newton methods,”
*Journal of Mathematical Economics*, vol. 3, no. 2, pp. 107–120, 1976. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - P. J.-J. Herings and R. J. A. P. Peeters, “Homotopy methods to compute equilibria in game theory,”
*Economic Theory*, vol. 42, no. 1, pp. 119–156, 2010. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - S. Yin, S. X. Ding, A. Haghani, H. Hao, and P. Zhang, “A comparison study of basic data-driven fault diagnosis and process monitoring methods on the benchmark tennessee eastman process,”
*Journal of Process Control*, vol. 22, no. 9, pp. 1567–1581, 2012. View at Publisher · View at Google Scholar - S. Yin, S. X. Ding, A. H. A. Sari, and H. Hao, “Data-driven monitoring for stochastic systems and its application on batch process,”
*International Journal of Systems Science*, vol. 44, no. 7, pp. 1366–1376, 2013. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - H. Zhang, Y. Shi, and J. Wang, “On energy-to-peak filtering for nonuniformly sampled nonlinear systems: a Markovian jump system approach,”
*IEEE Transactions on Fuzzy Systems*, vol. 22, no. 1, pp. 212–222, 2014. View at Publisher · View at Google Scholar - S. Yin, H. Luo, and S. Ding, “Real-time implementation of fault-tolerant control systems with performance optimization,”
*IEEE Transactions on Industrial Electronics*, vol. 61, no. 5, pp. 2402–2411, 2013. View at Google Scholar - H. Zhang, X. Zhang, and J. Wang, “Robust gain-scheduling energy-to-peak control of vehicle lateral dynamics stabilisation,”
*Vehicle System Dynamics*, 2014. View at Publisher · View at Google Scholar - M. M. Kostreva and L. A. Kinard, “A differentiable homotopy approach for solving polynomial optimization problems and noncooperative games,”
*Computers & Mathematics with Applications*, vol. 21, no. 6-7, pp. 135–143, 1991. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - P. J.-J. Herings and R. J. A. P. Peeters, “A globally convergent algorithm to compute all Nash equilibria for $n$-person games,”
*Annals of Operations Research*, vol. 137, no. 1, pp. 349–368, 2005. View at Publisher · View at Google Scholar · View at MathSciNet - R. S. Datta, “Finding all Nash equilibria of a finite game using polynomial algebra,”
*Economic Theory*, vol. 42, no. 1, pp. 55–96, 2010. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - T. Sandholm, A. Gilpin, and V. Conitzer, “Mixed-integer programming methods for finding Nash equilibria,” in
*Proceedings of the 20th National Conference on Artificial Intelligence*, pp. 495–501, July 2005. View at Scopus - D. Avis, G. D. Rosenberg, R. Savani, and B. von Stengel, “Enumeration of Nash equilibria for two-player games,”
*Economic Theory*, vol. 42, no. 1, pp. 9–37, 2010. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - G. Gottlob, G. Greco, and F. Scarcello, “Pure Nash equilibria: hard and easy games,” in
*Proceedings of the 9th Conference on Theoretical Aspects of Rationality and Knowledge*, pp. 215–230, ACM, 2003. - M. Jiang, “Finding pure Nash equilibrium of graphical game via constraints satisfaction approach,” in
*Combinatorics, Algorithms, Probabilistic and Experimental Methodologies*, pp. 483–494, Springer, New York, NY, USA, 2007. View at Google Scholar - A. C. Chapman, A. Farinelli, E. M. de Cote, A. Rogers, and N. R. Jennings, “A distributed algorithm for optimising over pure strategy Nash equilibria,” in
*Proceedings of the 24th AAAI Conference on Artificial Intelligence*, pp. 749–755, Atlanta, Ga, USA, July 2010. View at Scopus - G. Gottlob, G. Greco, and T. Mancini, “Complexity of pure equilibria in bayesian games,” in
*Proceedings of the International Joint Conference on Artificial Intelligence*, pp. 1294–1299, 2007. - A. C. Chapman,
*Control of large distributed systems using games with pure strategy Nash equilibria [Ph.D. thesis]*, University of Southampton, 2009. - V. Bubelis, “On equilibria in finite games,”
*International Journal of Game Theory*, vol. 8, no. 2, pp. 65–79, 1979. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet

*
*