scieee AI-readable full text Open interactive document viewer

Mathematical programming based approaches for classes of complex network problems : economical and sociological applications

Nasini, Stefano

Abstract

The thesis deals with the theoretical and practical study of mathematical programming methodologies to the analysis complex networks and their application in economic and social problems. More specifically, it applies models and methods for solving linear and integer programming problems to network models exploiting the matrix structure of such models, resulting in efficient computational procedures and small processing time. As a consequence, it allows the study of larger and more complex networks models that arise in many economical and sociological applications. The main efforts have been addressed to the development of a rigorous mathematical programming based framework, which is able to capture many classes of complex network problems. Such a framework involves a general and flexible modeling approach, based on linear and integer programmin, as well as a collection of efficient probabilistic procedures to deal with these models. The computer implementation has been carried out by high level programming languages, such as Java, MatLab, R and AMPL. The final chapter of the thesis introduced an extension of the analyzed model to the case of microeconomic interaction, providing a fruitful mathematical linkage between its optimization-like properties and its multi-agents properties. The theoretical and practical use of optimization methods represents the trait-de-union of the different chapters. The overall structure of the thesis manuscript contains three parts: Part I: The fine-grained structure of complex networks: theories, models and methods; Chapter 1 and Chapter 2. Part II: Mathematical Programming based approaches for random models of network formation; Chapter 3, Chapter 4 and Chapter 5. Part III: Strategic models of network formation. Chapter 6. Results of this research have generated four working papers in quality scientific journals: one has been accepted and three are under review. Some results have been also presented in four international conferences.

Full text

Polytechnic University of Catalonia Department of Statistics and Operational Research PhD Thesis Mathematical programming based approaches for classes of complex network problems Economical and sociological applications Author: Stefano Nasini Supervisor: Jordi Castro Perez December 10, 2014 ii To my parents iii iv Contents Acknowledgements ix Symbols and abbreviations xi Preface xiii I The fine-grained structure of complex networks: theories, models and methods 1 1 Overview and preliminaries 5 1.1 Complex Networks: theories, models and methods ................. 5 1.1.1 The starting problems of network-based models in economical and social sciences ..................................... 5 1.1.2 Mathematical framework and notation .................... 6 1.1.3 Complex networks in the sociological literature ............... 7 1.1.4 Computational methods in the analysis of complex networks ....... 13 1.2 Models of economical interaction ........................... 22 1.3 Objectives and contributions ............................. 27 2 Novel representation of network structures by spectral theory considerations 29 2.1 Purposes and preliminary overview .......................... 29 2.2 A new doubly-stochastic representation of binary and valued networks ...... 30 2.3 The MSS and VSS of observed network structures ................. 38 2.3.1 Berdnard and Killworth fraternity ...................... 39 2.3.2 Berdnard and Killworth office ......................... 40 2.3.3 Kapferer Tailor shop .............................. 41 2.3.4 Lusseau’s dolphins network .......................... 43 2.3.5 Newman’s scientific collaboration ....................... 44 2.3.6 Renaissance Florentine families ........................ 45 2.3.7 Kapferer’s mine ................................. 46 2.4 The MSS and VSS of simulated networks ...................... 47 v II Mathematical Programming based approaches for random models of network formation 59 3 Families of networks as systems of linear constrains 63 3.1 Purposes and preliminary overview .......................... 63 3.2 Families of binary networks and extreme points of polytopes ............ 64 3.2.1 Basic models of networks conditioned to linear constraints ......... 65 3.3 Specialized computational procedures ........................ 67 3.3.1 Sequential r-blocks algorithm ......................... 67 3.3.2 Sequential s-pivots algorithm ......................... 68 3.3.3 Sequential q-kernel algorithm ......................... 70 3.4 Efficiency of the sampling procedures ......................... 73 3.5 Dealing with fractional extreme points ........................ 75 4 Specialized interior point methodologies 79 4.1 Purposes and preliminary overview .......................... 79 4.2 Specialized interior point methods for some classes of primal-block angular problems 79 4.3 A new preconditioner for block-angular problems .................. 82 4.3.1 Geometrical and spectral properties ..................... 82 4.4 Numerical validation .................................. 86 4.5 Multicommodity network flow problem with nodal capacity ............ 90 4.6 Edge-colored network problems ............................ 92 5 Efficiency and correctness of network simulation 95 5.1 Purposes and preliminary overview .......................... 95 5.2 Conditionally uniform random networks ....................... 96 5.3 The probability of networks as primal-dual solutions ................ 99 5.3.1 Irreducibility and aperiodicity of the Markov chain of µ-solutions . . . . . 107 5.3.2 Truncated distribution of primal-dual solutions ............... 107 5.3.3 Generating conditionally uniform random networks: numerical analysis . 108 5.4 Goodness of fit of random network models ...................... 114 5.5 Exponential family of random networks ....................... 118 5.5.1 Maximizing graph probability under conditionally exponential models . . 121 III Strategic models of network formation 123 6 Mathematical programming approaches for different scenarios of bilateral bartering 127 6.1 Social capital and the economic effect of the interaction structure ......... 127 6.2 Markets with fixed exogenous prices ......................... 130 6.2.1 The elementary reallocation problem ..................... 130 6.2.2 Taking a unique direction of movement ................... 135 6.2.3 Linear objectives ................................ 136 6.2.4 The final allocation and the convergence of the SER ............ 137 6.2.5 The SER within the graph Hamiltonian of a CERGM ........... 138 6.3 Applications in computational economics ...................... 139 6.3.1 Numerical comparison between the simultaneous reallocation and the SERs140 6.3.2 The effect of preferences, prices, endowments ................ 144 vi 7 Conclusions 153 A Glossary of Complex Networks 157 B Primal-dual interior point methods 163 C A specialized interior point method for markets with exogenous prices 165 D Random pivoting 169 E MCMC methods to sample from an arbitrary random vector 171 vii viii Acknowledgements Foremost, this thesis would not have been possible without the aid of several people, whose continuous support allowed me a constant commitment to my Ph.D study and research. I would like to express my sincere gratitude to my supervisor, Dr. Jordi Castro, who shared with me a lot of his knowledge and scientific expertise. His guidance helped me in all the time of research and writing of this thesis. A special thanks must be addressed to Prof. Pau Fonseca i Casas, whose technical support gave rise to substantial mathematical and computational advances in several parts of the thesis. Besides my advisor and tutor, I would like to thank Prof. Francisco Saldanha da Gama, for offering me the summer internship opportunities in his group and leading me working on diverse exciting projects. I wish to thank to the whole research group of numerical optimization and modeling (GNOM), which provided me with remarkably useful technical support during the long journey of my Ph.D. project. It was a pleasure to work with, and to be part of, this group. I thank my colleagues and officemate in the Polytechnic University of Catalonia: Francesc Lopez Ramos, Hajar Nasr and Nima Rabei, for the stimulating discussions, for the sleepless nights we were working together, and for all the fun we have had in the last years. Most importantly, a special thanks must be addressed to my entire family for providing a loving environment for me: my parents Flavio Nasini and Simonetta Ferracuti, for giving birth to me at the first place and supporting me spiritually throughout my life; my wife Yolima del Rocio Marin Valencia, who was really patient during these years and inciting me into a full commitment to this thesis. In conclusion, I recognize that this research would not have been possible without the financial assistance of the FPI-UPC grant and the grants MTM2012-31440 of the Spanish research program and SGR-2009-1122 of the Government of Catalonia. ix Preface •Nasini S., Castro J., Fonseca P., (2015), A Mathematical programming approach for different scenarios of bilateral bartering, accepted to SORT-Statistics and Operation Research Transactions. –Corresponding to Chapter 6. •Nasini S., Castro J., Fonseca P., (2013), Novel representation of network structures by spectral theory consideration, under review in Journal of Social Networks. –Corresponding to Chapter 2. •Castro J., Nasini S., (2013), Mathematical programming approach for classes of random network problems, under review in European Journal of Operation Research. –Corresponding to chapters 3and 5. Scientific conferences •Nasini S., Castro J., Specialized interior point methods for classes of random network problem, 20th Conference of the International Federation of Operational Research Societies IFORS, Polytechnic University of Catalonia, Barcelona, Catalonia, July 2014. Invited presentation. –Corresponding to chapters 4and 5. •Nasini S., Castro J., Preconditioning IPMs for block-angular problems with ”almost linearly dependent” constraints, International Conference on Applied Mathematical Programming and Modelling APMOD, University of Warwick, Warwick, United Kingdom, April 2014. Invited presentation. –Corresponding to Chapter 4. •Nasini S., Castro J., Generating random networks by linear programming approaches, Joint International 26th European Conference on Operational Research (EURO 2013)- INFORMS, Rome, Italy, July 2013. Invited presentation. –Corresponding to chapters 3and 5. •Nasini S., Castro J., Generating conditional uniform random networks by optimization procedures, International Network Optimization Conference 2013, Tenerife, Spain, May 2013. –Corresponding to Chapter 3. Research reports •Nasini S., (2014), Maximizing graph probability under conditionally exponential models, Arxiv-Cornell University Library, available at http://arxiv.org/abs/1409.5476. –Corresponding to sections 2.4 and 5.5. •Nasini S., Castro J., Fonseca P., (2014), Bartering integer commodities with exogenous prices, accepted by Arxiv-Cornell University Library,http://arxiv.org/abs/1401.3145. –Corresponding to Chapter 6. xvi Preface I hope this thesis might be able to give the reader a clear idea about the great variety of the existing modeling possibilities, when dealing with social and economic phenomena. Preferably, it would have been much easier for me to have followed a more canonical and confirmatory research line, rather than such an explorative journey into the great variety of methodological possibilities that Mathematical Programming can provide to the field of CNs. Nonetheless, the main advances and progresses in Science are achieved when many small attempts of deviating the canonical ways of thinking result in a unified and consistent paradigm. Because of this, some degree of cross-disciplinary and exploratory strategy is absolutely needed in Science to avoid getting stuck into ”stagnant local optima”. xvii Preface xviii Part I The fine-grained structure of complex networks: theories, models and methods 1 Abstract This part of the thesis includes two chapters, whose primary scope is to establish methodological and empirical connections between different fields of complex network theory, laying the foundation of the mathematical programming-based approaches described and used throughout the thesis. From an economical outlook, Chapter 1investigates different methodological approaches to deal with the seminal problem of structure and agency in social and economic theory (the interdependence between the individual actions and the macroscopical social phenomena), taking into account the effect that a complex structure of social relations might have on relevant economical phenomena, such as commodity production and distribution. A critical cross-disciplinary overview of the state–of–the–art will be provided and compared with the proposed mathematical programming framework. Based on these considerations, Chapter 2introduces a novel methodological approach for the problem of low-dimensional representations of networks and proposes a general Spectral Theory based method to summarize structural network properties, which is valid for both cases of binary and valued networks. The numerical validation of the correctness of the described methodologies is based on both optimization-based models and probabilistic models of network formation, resulting in a cross-fertilization between areas of network analysis, which are usually treated as separated research fields: structural similarity, network centralization, assortative mixing, triadic closure and community structure. Keywords: Complex Networks, Social Network Analysis, Mathematical Programming, Spectral Theory, Structural Similarity. 3 4 Chapter 1 Overview and preliminaries 1.1 Complex Networks: theories, models and methods 1.1.1 The starting problems of network-based models in economical and social sciences The past few decades have seen an increasing interest in the application of the Theory of Networks (or Graph Theory), outside the traditional areas of transportation, routing, logistic and epidemiology, modeling a great variety of large-scale economical and sociological phenomena (social segmentation, economical stratification, dissemination of culture and social learning, etc.). In its basic notion, the interconnected objects of a network (or graph) Gare represented by a finite set of elements, say V(G), conventionally named vertices or nodes, and the links that connect some pairs of vertices, called edges, say E(G)⊆ V(G)× V(G). Generally, these mathematical objects are graphically depicted as a collection of dots for the nodes, joined by lines for the edges. Extensions of this basic framework, designed to accommodate complex real-world situations, are many and varied. One possibility is to avoid the assumption of dichotomous relationships by allowing edges to carry numerical or categorical labels [108,150,164]. Another proposed extension was to introduce multilateral relationships (such as group memberships), as in the case of hyperedges involving arbitrarily many nodes [224]. It must be stressed that the increase of complexity often resulted in less robust models, with high sensitivity on the researcher’s assumptions, or poorly informative about the specific question that the researcher wanted to address. In fact, it is precisely the naive nature of graphical structures that has facilitated the achievement of a high mathematical development [30] and technological applications [171] of network-based approaches. One of the main line of application, which is of particular interest in the context of this thesis, is given by different classes of multi-agent simulation, where social and biological agents (individuals, groups, countries, etc.) are linked in complex connection structures. Suppose, for instance, we had information about trade-flows of mdifferent commodities among nnations of the world. Here, the nnations can be thought of as nodes, and the amount of each commodity exported from each nation to each of the other n−1 can be thought of as 5 CHAPTER 1: Overview and preliminaries the strength of a directed tie from the focal nation to the other. A social scientist might be interested in studying what are the most significative factors which effect trades among nations and which particular structure of connections has been built by the different nations. The answer might probably depend on the mathematical formalization of the problem and specifically by the formal definition of nations and trades. As argued by Butts [45], two question should be addressed before dealing with applications in this area: i. when is a node a node? ii. when is an edge an edge? The answer of these questions has not only a theoretical importance but also effective consequence on modeling decisions and interpretation of the results of networks analysis. In SNs the nodes might be either individual humans [120,224] or aggregates such as groups, households, or organizations [18,58,145]. Any change of the node set can substantially influence the size, density and topology of the resulting network, with considerable implications for subsequent analysis, as different aggregation decisions can produce networks with very different structural features. A similar reasoning is valid when taking into account the set of dyadic links, as noted by Borgatti et al. [37]. In the above example concerning trades among nations, the inclusion of the different components of the balances of payments might result in different definition of dyadic links. This fact will be clear in section 5.4 and 6.3, where different definition of dyadic links will give rise to different numerical results in the statistical analysis. Besides this problem of node and edge definition, an open issue (a prominent line of research) which must be mentioned is associated to the mathematical and computational difficulties of dealing with network data sets. Social networks are usually big in size and the problem of describing and managing the resulting information can easily become computationally intractable. A lot of researches are currently devoted in finding polynomial algorithms to efficiently deal with problems involving large networks and some chapters of this thesis represent a further effort in this line of research. The computational difficulties of dealing with network data sets appear clearer when the observed data set are regarded as a sample of an unknown probability distribution we wish to infer. In this context the absence of closed-form mathematical results for most of the probabilistic models of networks implies the need of massive statistical simulation of random networks, as discussed in chapters 3,4and 5. 1.1.2 Mathematical framework and notation The preliminary requisites this thesis demands to a reader is: i) a robust knowledge of Linear Algebra and Mathematical Programming; ii) a first course in Probability and Statistical Inference, iii) a general comprehension of Microeconomics and sociological theories. The concept of network (or graph) will be continuously used throughout the thesis and requires a proper and formal definition. A graph G=hV,Ei, with |V(G)|=nand E(G)⊆ V(G)×V(G), is normally represented in terms of a n×nbinary matrix X(G), called adjacency matrix (AM from now on), whose (i, j)-entry, xij, are equal to 1 if there is a link between the corresponding row and column elements and 0 otherwise. A simple graph has no loop, so that the diagonal elements of X(G) are null. A valued graph is a graph in which each link is given a numerical value. The set E(G)⊆ V(G)×V(G) of pairs of nodes is replaced by the set of values associated to each couple of nodes 6 CHAPTER 1: Overview and preliminaries ω:V(G)×V(G)−→ Rand the valued adjacency matrix became X(G)∈Rn×n, whose (i, j)-entry, xij, is equal to the value (or tie strength) between iand j. When the network we are talking about is clear, the label Gwill be omitted in denoting the node set, so that we will write V,Eand X, instead of V(G), E(G) and X(G). The number of nodes will be denoted either by nor |V|. The AM is an element of the set of binary matrices χ={xij ∈ {0,1},(i, j)∈ H2}, where H2={(i, j) : 1 ≤i≤n−1, i < j ≤n}for undirected graphs or H2={(i, j):1≤i≤n, 1≤j≤n, i 6=j}for directed graphs. (1.1) This representation of set of networks by solutions of system of algebraic equation will be particularly important in chapters 3,4and 5. When Xis regarded as an outcome of an underlying unknown random process, χwill represent a sample space of networks and (χ, Pχ,=) a probability space, where =is a σ-algebra and Pχa probability measure used to model the uncertainty on the network structure. Throughout the thesis we denote the vector of variables associated to the components of the AM as either xT=x12, . . . , x1n, x23, . . . , x(n−1)n, x21, . . . , xn(n−1)(i.e., the rowwise upper triangle of AM followed by its columnwise lower triangle) for directed graphs, or xT= x12, . . . , x1n, x23, . . . , x(n−1)n(only the rowwise upper triangle of AM) for undirected graphs. Another interesting matrix representation of a network is the Laplacian matrix, as will be seen in Chapter 2. Let fibe the degree of a vertex i, that is fi=Pj∈V(G)xij and D(G) = diag(f1, . . . , fn). The Laplacian matrix of Gis defined as L(G) = D(G)−X(G)1. The sequence λ(L 1, . . . , λ(L n, being the multiset of eigenvalues of L(G), is called graph spectrum. Two nonisomorphic graphs can share the same spectrum and an open area of research is the one dealing with the relation between graph properties and the eigenvalues of the Laplacian matrix. The present chapter keeps the discussion somewhat broad and define, in general and conceptual form, the central mathematical programming problems that will concern us in the rest of this thesis. 1.1.3 Complex networks in the sociological literature From a sociological viewpoint, a nifty definition of interpersonal tie would consider interactioncarrying connections between individual agents. As noted in Subsection 1.1.1, the nature of these connections might involve many overlapping properties, as the number of interactions performed in a period, the length of the interacting period, the content of those interactions, etc. A comprehensive social network theory should take into account such a multivariate nature and construct on its bases explanatory models of social phenomena. However, despite the presence of multiple properties, the most important features of interpersonal ties appear to be highly correlated in real SNs and a formal characterization by means of a numerical or categorical label might sometimes represent a reasonable reduction of redundancy and facilitate a parsimonious low dimensional representation of our data2. The strength of an interpersonal tie has been often adopted by network scientists [108,150,164] to this end. 1A set of nnon negative numbers f1,...,fnmight represent the row (or column) sums of an adjacency matrix if and only if it verifies [Pk i=1 fi≤k(k−1) + Pn i=k+1 min(fi, k)].(for more details see Erdos [86]). 2The curse of dimensionality is the name used to refer to various phenomena that arise when analyzing data in high-dimensional spaces that do not occur in low-dimensional settings. The reduction of the dimensionality prior to any modeling decision is often used to avoid the effects of data redundancy and the curse of dimensionality. 7 CHAPTER 1: Overview and preliminaries i. Blockmodels, graph clustering and community detection. To start with, consider the problem of constructing subgraphs in large real-world graphs based on some principles of internal homogeneity. This problem represented a computationally difficult task since the very beginning o the Network Theory. As far as I know, the first application of this problem in the analysis of SN is related to the studies of blockmodelling [39,151,224] and the ones of statistical cluster analysis [232]. A blockmodel is a node partition into discrete positions, called blocks, consisting of square submatrices of structurally equivalent nodes or structurally similar nodes (nodes with very similar, if not identical, relations with the rest of the network). Definition 2 (Blockmodel).A blockmodel BM = (P, B)of a graph Gconsists of two parts: - A partition P= (P1, . . . , PL)of Vinto Ldisjoint subsets called the positions of G; - A density matrix representing relations among positions13. Blockmodels reproduce relations among nodes occupying structurally equivalent positions (blocks) in networks. A blockmodel could be built by requiring the positions to represent structurally equivalent blocks, such as the workers of different industries. CONCOR (a short form of CONvergence of iterated CORrelations) has been for three decades the most popular method to deal with the problem of partitioning nodes based on their structural similarities. Starting from the Pearson product-moment correlation coefficient among couples of rows (call it C1∈[−1,1]n×n) of the AM, the CONCOR obtains the correlation matrix of the rows of C1and iteratively calculates correlations of correlations. This process is supposed to converge to a steady-state correlation matrix, call it C∗, whose entries are either −1 or +1. The function Algorithm 1 CONCOR Set k= 0 and C0as the initial matrix repeat Ck+1 = Corr(Ck); k=k+ 1. until Convergence Corr : Rn×n−→ Rn×nreturns a matrix whose components are the Pearson product-moment correlation coefficient between the columns of the matrix, passed as input. The rows of C∗can be partitioned into two groups so that every +1 occurs between rows and columns in the same group, and every −1 occurs between vertices in different groups. Repeating these procedures, CONCOR can split each of the two initial blocks into two more blocks, and so on. The decision about where to stop the division process will determine the ultimate number of obtained blocks. We mentioned in the previous section that the statistical measures of structural similarity between two nodes operationalize the idea of how similar their respective patterns of connections with the rest of the network are. A direct consequence of Granovetters theory describen in Section 1.1.3 is that nodes which are strongly connected are also likely to share many common contacts inside the community, so that a positive association between structural similarity (overlapping) and strength of a tie must appear, turning into a substantial level of community structure and supporting the previously proved implication between (1.4) and (1.3). From this outlook the problem of detecting highly connected communities in networks might be seen as a generalization of blockmodelling problem, when the within-group similarity criterion is not specified, so that the within-group homogeneity might be based on arbitrary nodal features 13A density matrix has groups rather than individual people as its rows and columns, so that the partitioning leads to the problem of deciding how the subsets relate to each other. 14 CHAPTER 1: Overview and preliminaries and/or pattern of connectivity. In fact,the studies of blockmodelling and the ones of statistical cluster analysis started overlap in several novel researches by the last decade [81,208], resulting in a substantial interdisciplinary connection between graph theory and statistics. In its basic framework, the problem of detecting communities involves an unknown number of clusters which are supposed to have an internally high connectivity and/or to be similar with respect to some nodal feature. An objective function can be chosen to capture this intuition, resulting in well defined Mathematical Programming problems, which are typically NP-hard to be optimized exactly [208]. When the number of communities are a priori known, an integer programming problem to assign nodes to communities might be: minimize ψzik, i ∈ V, k ∈ K subject to X k∈K zik = 1 i∈ V, zik ∈ {0,1}i∈ V, k ∈ K, (1.14) where Kis the set of communities, Vis the set of nodes, Eis the set of edges. The decision variable zik denotes whether the node ibelongs to community j; function ψis a real-valued function representing the cost of adding a node to a group and might be defined in term of an optimization problem or as a closed-form expression, such as ψ=P(i,j)∈E,k∈K δijzikzjk or ψ= max{δijzikzjk : (i, j)∈ E, k ∈ K}, where δij is a measure of distance between node iand node j. In the case δij is the geodesic distance in the graph (the shortest path between node i and node j), then the optimal solution of (1.14) is the assignment of nodes to communities in such a way that the largest diameter (the largest distance within the community) is minimized. A similar idea is valid for arbitrary measure δij, such as the ones associated to the spaces of nodal attributes. Heuristics or approximation algorithms for community detection [174] have been successfully developed [191], ushering in the beginning of a massive research in mathematical programming based approaches for this prominent field of complex networks. ii. Spectral graph theory. The main achievements in spectral graph theory, as the science which studies mathematical connections between spectral properties of graph matrices and topological network features, have also occurred during the eighteen’s and nineteen’s [32,106,161, 217], resulting in a great amount of heterogeneous applications is social sciences and engineering [66]. To provide a brief description of such mathematical connections between spectral properties of graph matrices and topological network features, let λ(L 1, . . . , λ(L nbe the multiset of eigenvalues of Land {λ(A 1, . . . , λ(A n}the multiset of eigenvalues of X. The following statements illustrate some important facts about {λ(L 1, . . . , λ(L n}and {λ(A 1, . . . , λ(A n}. i. The number of times 0 appears as an eigenvalue in the Laplacian is the number of connected components in the graph. ii. The second smallest eigenvalue of Lis the algebraic connectivity of G, whose magnitude reflects how well connected the overall graph is. iii. In the binary case, the summation of the squares of the adjacency matrix eigenvalues (λ(A 1, . . . , λ(A n) is equal to the network absolute density: Pi(λ(A i)2=Pij xij. The advantage of looking at the eigenvalues is that they can in fact be efficiently computed by polynomial algorithms and provides important information concerning the structure of the network. 15 CHAPTER 1: Overview and preliminaries The QR-algorithm is one of the best known numerical procedure to calculate the eigenvalues and eigenvectors of a matrix. The basic idea is to perform a QR-decomposition and to iteratively multiply the factors in the reverse order. Similarly, power iteration is one of many eigenvalue algorithms that may be used to find the dominant eigenvector. Chapter 2will be entirely devoted to the description of novel representation of complex networks based on the multiset of eigenvalue of the of L. Its application will be clear in Chapter 5, when the proposed spectral-based representation will be apply to the problem of assessing the goodness of fit of random network models. iii. Node centrality. Another popular network problem where the use of computational methods resulted in successful engineering applications is associated to the construction of webpage ranking [41]. The PageRank is perhaps one of the most popular method to rank web-sites in search engine results [184]. It was first developed by Larry Page and Sergey Brin in 1996 with the aim of estimating the relative importance of a web-page within the internet. Algorithms for web-page ranking are typically based on nodal centrality, measuring the relative importance of nodes within a network [32,96,130]. Usual taxonomies of the main measures of centrality consider four classes, associated with the degree, the betweenness, the closeness, and the eigenvector. (To have a more detailed explanation of centrality indexes, see the glossary of complex networks in Appendix A.) Formally, the centrality of node iis defined in term of the centralities of the other nodes: ci=1 λmax X j∈V xijcj(1.15) where λmax is a constant corresponding to the greatest eigenvalue of the AM, so that Xc= λmaxc. A generalized eigenvector centrality has been proposed by Bonacich [32,33]: ci(α, β) = X j∈V (α+βcj(α, β))xij,(1.16) where eis a vector of ones, βreflects the degree to which a node’s centrality is a function of the centralities of its neighbors and αis a scaling parameter. In matrix form we have c(α, β) = βXTc(α, β) + αXe, so that c(α, β) = α(I−βX)−1Xe. Bonacichs approach is base on the differentiation between power and centrality: a node is central when it has many connections within its local network (degree), whereas its power depends on the power of its neighbors (recursive definition). The goodness of being connected with powerful or powerless neighbors depends on the type of commodity flowing within the network. If the utility of nodes are related to the amount of obtained information, the non rival nature of information suggest a positive association between the power of a node and the power of its neighbors. To stress this point Bonacich [32] claimed that a set of exchange relations is positive if exchange in one relation is contingent on exchange in others and negative if exchange in one relation precludes exchange in others. In communication networks, exchanged information is usually received from others, and so the system is positive, but, when exchanging a commodity with one person precludes exchange with another, the relation is negative. These would be modeled with positive and negative values of βrespective. (See Bonacich [32], page 1171.) The main idea behind the eigenvector centrality (both is its original version and in Bonacich’s generalization) is to somehow take into account indirect connections. Another variant of eigenvector centrality which is also oriented to balance the contribution of directed and indirected 16 CHAPTER 1: Overview and preliminaries links is the Katz centrality [135]: ci(α) = ∞ X k=1 X j∈V αk(Xk)ij (1.17) where (Xk)ij is the (i, j) component of the kth power of the AM. It can be seen that the limit of Katz centrality as αapproaches 1/λmax is the principal eigenvector, so that Katz centrality can be similarly regarded a generalization of the original eigenvector centrality. A similar argument is valid for PageRank, one of the most popularized centrality measures to rank internet websites. PageRank satisfies the following system: ci(α) = αX j∈V cj(α)xij fj +1−α n(1.18) where fjis the degree of node j. PageRank might also be seen as the probability that an internet user randomly clicking on links will arrive at any particular page. In this sense, αrepresents a damping factor, that is, the probability, at any step, that the internet user will eventually continue clicking. iv. Statistical inference and simulation of random graph models. Random models are usually adopted to capture qualitative properties observed in large-scale network data. This area of NA is sometimes quite disconnected from the previously described research fields and begins with the seminal work of P. Erd¨os and A. Rainyi [86], who considered a fixed set of nodes and an independent and equal probability of observing edges among them. There are two closely related variants of the Erd¨os-Rainyi model: •the G(n, p)model, where a network is constructed by connecting nodes randomly with independent probability p; •the G(n, m)model, where a network is chosen uniformly at random from the collection of all graphs with nnodes and medges. Both models possess the considerable advantage of being exactly solvable for many of their average properties: clustering coefficient, average path length, giant component, etc. (For more details about network properties, see Bollobas [29], and Wasserman and Faust [224].) Nonetheless, most of random graph models have very few analytical results and the simulation of large random samples of networks is required to obtain empirical distributions of their average properties. Typical approaches for network simulation – mainly developed within the fields of mathematical sociology – were based on fixing topological properties, named conditional random networks [29]. These models are very useful when assessing the hypothesis of whether a particular network property is likely to appear under a uniform distribution of all networks verifying given constraints. Simulating from this models generally results in highly combinatorial procedures, such as the ones to generate uniform random directed networks with given in- and out-degree sequences [62,194,203,216,222]. The analytical study of these models involves binary matrices with specified properties and some combinatorial results have been obtained by Ryser [202]. The construction and development of general simulation procedure which are valid both for binary and valued networks, represents indeed the main purpose of the second part of this Ph.D. thesis, where mathematical programming models of several families of networks are introduced. Consider the probability space (χ, Pχ,=), where χis the set of all AMs of directed networks – denoted in vector form xT= [x12, x13, . . . , x1n, x23, x24, . . . , x2n, . . . , x(n−1)n, x21, x31, x32, 17 CHAPTER 1: Overview and preliminaries x41, . . . , xn1] – verifying a specified collection of linear constraints Ax=b,=is a σ-algebra on χand Pχa probability measure. For a given random cost vector c∼fCa way to simulate from (χ, Pχ,=) is to solve the LP: minimize cTx subject to Ax=b x∈ {0,1}n (1.19) where H={(i, j)|i= 1 . . . n −1; i < j ≤n}. The continuous relaxation of χ, name it CR(χ), is obtained by replacing xij ∈ {0,1}by xij ∈[0,1], in (1.19). If Ais totally unimodular (TU, from now on) then all extreme points of CR(χ) are binary vectors, representing networks14. As shown in [115], the next theorem provides sufficient conditions for a matrix to be TU: Theorem 1. Let A∈ {−1,0,1}m×nbe a matrix obtained by elementary operations of B∈Zm×n and consider a partition of the rows of Ain two disjoint sets J1and J2. The following three conditions together are sufficient for Bto be TU: 1. Every column of Acontains at most two non-zero entries, which are either 1 or −1. 2. If two non-zero entries in a column of Ahave the same sign, then the row of one is in J1, and the other in J2. 3. If two non-zero entries in a column of Ahave opposite signs, then the rows of both are either in J1or J2. Therefore, it is possible to generate a bunch of graphs by merely solving linear programs (LP) with random gradients in the objective function, or by non-degenerated simplex pivoting, starting from a given initial extreme point [182]. Beyond that, they can be generated in polynomial time if interior point methods are used [231]. If the gradient of the objective function cis a properly defined random vector of density function fC(c), then the solution of (1.19) is also a random vector whose probability distribution can be computed as Pχ(x) = ZΩ fC(c)dc,(1.20) where Ω is the set of gradients for which b xis an optimal solution. The gradient and optimal solutions are related through the KKT conditions of the LP and this fact will be exploited in Chapter 5to derive a closed-form probabilistic relation between fC– the probability distribution of the objective costs – and Pχ– the probability distribution of networks verifying the specified system of linear constraints –. These properties will be extensively used in next chapters 3,4and 5, where random network generators will be introduced, along with specialized interior point methods to algorithmically deal with this class of problems. v. Network flow optimization problems. Network flow optimization problems stand in the frontier that separates continuous and integer optimization. The boundary between these two fields results from the characterization of the constraint polyhedron by the convex hull of its extreme points. In this class of problems, it is usually possible to identify a subset of the system of linear constraints for which the extreme points of the associated polyhedron are integer and represent solutions of combinatorial problems that are seemingly unrelated to linear 14If B∈Zm×nis a TU matrix and bis integer, then polyhedrons of the form ϕ={y∈Rn:By =b;y≥0} have only integer extreme points, as every non singular m×msubmatrix of Bhas integer inverse. (For more details on Unimodularity in Integer Programming see [209], [142] and [144]). 18 CHAPTER 1: Overview and preliminaries programming [1]. Mathematically, a flow in a network is a real-valued function ω:V×V −→ R, which is denoted as xij =ω(i, j), for (i, j)∈ V ×V, with the following properties – known as flow conservation or balance equations – for all nodes i∈ V: X (j,h)∈E xjh −X (h,u)∈E xhu =bh, h ∈ V (1.21) where biis the demand/supply of flow in node i, that is to say, the total flow departing from node iless the total flow arriving at i. The matrix structure associated to the balance equations (1.21) is known as the node-arc incidence matrix and has the nice property of being TU. A feasibility condition is that Ph∈V bh= 0. A well known network flow optimization problem is to maximize the total flow from an origin, say vo∈ V, to a destination, say vd∈ V, subject to the edge capacities. This is known as the maximum flow problem15. In Chapter 4, a particular attention will be given in this thesis to multicommodity network flow problems, which have been shown to be challenging for state-of-the-art solvers [51,55]. The basic idea is the simultaneous conservation of flows of a set Cof commodities, resulting in k=|C| systems of balance equations: P(j,h)∈E xi jh −P(h,v)∈E xi hv =bc h, for i∈ C, h ∈ V. Sometimes there may be capacities on the total flows of arcs: X i∈C xi jh ≤qjh,(h, j)∈ E,(1.22) or on the total in-out-flow of nodes: X i∈C  X j∈V xi hj +X j∈V xi jh ≤qh, h ∈ V.(1.23) Given a directed network of n0arcs and nnodes, the general formulation for multicommodity network flow problem is: min X i∈C (ciTxi+xiTQixi) (1.24a) subject to        N0 N0 .... . . N0 L L . . . L I               x1 x2 . . . xk x0        =       b1 b2 . . . bk q        (1.24b) 0≤xi≤uii= 0 . . . k. (1.24c) Vectors xi∈Rn0,i∈ C are the flows for commodity i. In the case of dealing with capacities on the total flows of arcs x0∈Rn0are the slacks of arc capacities constraints, whereas x0∈Rn are the slacks of nodal capacities constraints when total out-flow of nodes is considered. The node-arc incidence matrix of the directed graph is N∈Rn0×(n−1). The arc capacities for all the commodities are u∈Rn0, while ui∈Rn0, i = 1, . . . , k, are the individual capacities per commodity; u0are the upper bounds of slacks x0; vectors bi∈Rn−1, i ∈ C, are the node supply/demands for each commodity. Vectors ci∈Rn0, i ∈ C, are the arc linear costs per 15Other examples of network flow optimization problems include shortest path problems, minimum cost flow problems, minimum cost equal-flow problems, multicommodity flows problems, etc. They can be used to model several complex systems in which some entity travels through a network of nodes, such as traffic in a road system, fluids in pipes, electrical circuit, etc. 19 CHAPTER 1: Overview and preliminaries commodity, and the diagonal positive semidefinite matrices Qi∈Rn0×n0, i ∈ C, denote the arc quadratic costs. The linking constraints matrix Lis either a n0-dimensional identity matrix with the associated right hand term q∈Rn0, when edge capacities are taken into account, or defined as abs(N) with the associated right hand term q∈Rn, when nodal capacities are considered, where abs(N) is the matrix derived from Nby switching all negative signs to positive. Some of the solution strategies can be broadly classified into four main categories: simplexbased methods [57,159], decomposition methods [11,90], approximation methods [27], and interior point methods [11,50]. Some of the approaches for linear multicommodity flows were compared in [61]. Significant advances have also been made for nonlinear multicommodity flows. Among them we find active set methods [57], ACCPM approaches [10], interior point methods for quadratic problems [52], proximal point algorithms [178], and bundle-type decomposition [147]. A description and empirical evaluation of additional nonlinear multicommodity algorithms can be found in the survey [179]. vi. Graphical games and multi-agent system. Several recent works have introduced graph-theoretic frameworks into multi-agent systems [136,177], so that each node represents a single agent, and the edges represent pairwise interaction between agents. Game theory is typically used to model multi-agent interactions, and the global states of interest are the socalled Nash equilibria, in which no agent has a unilateral incentive to deviate. Graphical games are games consisting of nplayers, each with a finite set of actions available, along with a specification of the utility to each player. Let Ξibe the space of actions of player i, and vi∈Ξi. A pure strategy profile is a vector of strategies to players, that is an n-tuple v= [v1. . . vn], such that v1∈Ξ1,. . .,vn∈Ξn. Let Ξ= Ξ1×. . . ×Ξn. The preference relation iof player i∈ V on Ξis represented by the utility function ui:Ξ→R, resulting from the joint action: ui(v| G), where Gis the network structure, which is regarded as a parameter of the problem. (Introductory concepts of Game Theory are provided in Appendix A.) In a graphical game [136], each player iis represented by a node in an undirected graph Gand what is relevant for the utility of agent iis the only action of its neighbors in G. We use N(i)⊆ V to denote the neighborhood of player iin G— that is, those vertices jsuch that the edge (i, j) appears in G. By convention N(i) always includes iitself as well. If vis a joint action, vN(i)is used to denote the induced vector of actions just on the players in N(i), so that the utility function of player iresults to be ui(vN(i)| G). The analogy between graphical games and general multi-agent systems become clear when the latter are practically applied for the numerical computation of stable equilibria16. A multiagent system is a dynamical process involving entities (called agents) who are required to take specified actions within an environment. Perhaps one of the main referential multi-agent system in the analysis of social interaction is the Axelrod’s simulation [6] of the dissemination of culture. In its modern version agents are associated to nodes of a graph G, and the individual attributes of each node are defined by a set of Ffeatures, each taking one of qpossible traits. This means that each agent ihas a cultural state vector [vi 1, vi 2, ..., vi F]. Each component (cultural features) vi f(f= 1, . . . , F) takes any of the qvalues, which are initially assigned to each agent independently and with an equal probability of 1/q. Culture satisfies two simple premises: •agents are more likely to interact with others who share many of their cultural attributes; •interactions between two agents tend to increase the knowledge they share. 16The problem of computing exact Nash equilibria in sparse graphs is computationally difficult, as suggested by its combinatorial nature. In a recent paper Kearns et al. [136] described an exact algorithm for computing Nash equilibria of graphical games. 20 CHAPTER 1: Overview and preliminaries In accordance with this assumptions, the discrete time dynamics of the model is governed by the principle that the probability that a cultural feature is transmitted from one agent to another increases with the number of features that they already share. Adjacent sites iand jcannot interact if either they share all traits (lij =F) or none of them (lij = 0) and the bond between iand jis regarded as inactive. When two agents linked by an active bond interact, one of their different features switches in accordance with the state of the neighbor. When all bonds are inactive the configuration is absorbing and the process stops evolving17. The pseudo-code for the simulation is the following. Algorithm 2 Axelrod’s multi-agent system for the dissemination of culture. repeat Select at random a site iand any of its neighbors j Calculate the number of common features: lij =PF f=1 δvi fvj f. Edge ij is active if lij <0. if the edge is active and there exist a non-common cultural feature then Change the value of one non common feature of agent jto that of agent iwith probability lij /F end if until No active bond exist If cultural features are randomly assigned to nodes of a network, in accordance with a principle of homophyly, the cultural profiles of adjacent nodes become more similar and then more likely to interact in the next iteration of the dynamic process. Axelrod used the relative size of the largest homogeneous domain Smax/n, as an order-disorder measure and observed a phase transition of Smax/n as function of the number of traits q. Note that equilibria of graphical games as well as steady state of multi-agent systems are not necessarily optimal under a global point of view. More precisely, if a global objective function is defined to aggregate the individual utilities φ(u1(vN(1) |G), . . . , un(vN(n)|G)) then an interesting problem might be to compare in term of φthe equilibrium solution with the optimal solution. In this context the price of anarchy [177] is a popular measure of inefficiency of an equilibrium. It is defined as the ratio between the worst objective function value of an equilibrium of the game and that of an optimal outcome (social optimum). Sometimes the set of strategies to be played by player iis given by the set of nodes to be included in N(i), that is to say, iis selecting which nodes he wishes to be linked with. This class of game are generally known as games of network formation, as first proposed by Aumann and Myerson [9] and popularized by Jackson [121]. In the original version, players sequentially propose links which are then accepted or rejected. Myerson [167] suggests to formulate the strategy space of each player as list of other players, so that they simultaneously announce which other players they wish to be connected to. If s∈S1×. . . ×Snis the set of strategies played, then link (i, j) forms if and only if both j∈sj and i∈si. This simultaneous move game captures the notion of Nash equilibrium by a small computational cost, but with generally large multiplicity of equilibria, as no player possibly suggests any links under the correct expectation that no other player reciprocate. The contribution of this thesis to the analysis multi-agent systems based on graph-theoretic frameworks is exclusively concerned with the comparative goodness of different network structures with respect to the optimal aggregates utilities (from a point of view of a global planner). The use of a aggregates utilities also allows to model the network formation, as it will be studied in Chapter 6. 17The Axelrod’s model is a particular version of the stepping stone model, first proposed by Kimura [137] in 1953. It constitute an absorbing Markov chain, formalized by an n×narray of squares, where each square is initially any one of kdifferent colors. For each step, a square is chosen at random and one of its eight neighbors is randomly ”contaminated”, by assuming the color of that neighbor 21 CHAPTER 1: Overview and preliminaries 1.2 Models of economical interaction With some explanations and definitions in hand, we introduce in this section a problem which will be extensively analyzed in the third part of this thesis. Starting from the 1970’s, many studies of computer simulation have attempted to reproduce the process of interactions which leads to the emergence of macroscopic social phenomena, such as the spread of rumors and information, the mutual influence [6,137], the allocation of goods and services [229], the establishment of norms [157,230], etc. The mathematical and computational results obtained in the context of the previously described graphical games and multi-agent systems casted a light into the ways in which the structure of interpersonal relationship affects the performance of those macroscopic social phenomena, as well as social tasks and processes. Such an effect of the network structure relates to the famously difficult-to-define term of social capital [68,149,190,192], which reflects the network externality and the benefit obtained from the existence of a structure of social interactions. Based on the classical taxonomy of goods, social capital is (partially) excludible, as it might often be possible to keep non-payers from its consumption, by marginalization and social exclusion, and is non-rivalrous, as the use of the social capital by one agent does not reduce the access, participation and consumption of others (generally the participation and affiliation in social activities and groups neither prevent the membership of others nor damage the capacity of a community to carry out social tasks and processes, but this fact must be precisely evaluated for each specific social task). Excludable Non-excludable Rivalrous Private goods Common goods Non-rivalrous Club goods Public goods Table 1.3: Taxonomy of commodities. The application of the classical taxonomy of commodities in accordance with the rivalrousness and excludability, as shown in Table 1.3, to social capital – in the sense we conceive it – might be further formalized by the aid of the game-theoretic-framework introduced in Subsection 1.1.4. In that context the payoff of agent i∈ V has been defined in term of the actions of its neighbors in the network G, that is ui(vN(i)| G). The G-parameterized utility reflects the use/consumption of the relational resource. In the example of economical trades between nodes of a network, it might be seen that the presence of many agents who take part in and advantage of the mutual trades of commodities increases the possibility of trading and finding better opportunities for majority of agents. To clarify this notion, consider the classical scenario proposed by Harrison and Hirshleife [114], where homogeneous nodes must decide whether to produce (call it action 1) or not (call it action 0) a non-rivalrous good. The action of each node i∈ V represents an effort and his/her utility depends on the aggregate efforts of him/herself and that of his/her neighbors, minus some cost for his/her own effort, as summarized by the utility function: ui(v| G) =    1−cif vi= 1 1 if vi= 0 and vj= 1 for some j∈N(i) 0 if vi= 0 and vj= 0 for all j∈N(i) ,(1.25) 22 CHAPTER 1: Overview and preliminaries where 1 >c>0, N(i) is the set of neighbors of node iand vis strategy profile of nodes in the specified exogenous network G. It might be easily observed that a Nash equilibrium of this game is such that for any link (i, j), not both nodes iand jdecide to produce the commodity; but for any non producing node i(i.e. vi= 0) there must exist a node j∈N(i) such that vj= 1. If the network structure Gis a star, one of the two equilibria gives rise to the highest possible payoff, which is the one obtained under a global maximization – the central node plays one and the others play zero. A sensitivity analysis of the effects of adding links to a network on the equilibrium strategy profile has been carried out by Galeotti et al. [99]. He considered an example in which a disconnected network made of two stars with nnodes were in equilibrium, so that the two centers choose one (buying the public good), while the 2(n−1) peripheral nodes choose zero (acting as free-riders). The aggregate utility in this equilibrium is 2n−2c. If this state is perturbed by adding a link between the centres of the two stars, the old strategy profile is no longer in equilibrium and the two centres has an incentive to act as a free-rider with respect to the other. It might be shown that in any of the equilibria associated with the addition of a link, the aggregate utilities are lower than in the starting equilibrium. Nonetheless, despite this surprising results of Galeotti et al. [99], if the global maximization is adopted as a solution concept, rather than the one of Nash equilibrium, we see that under no circumstances the solution of the problem of maximizing the aggregate utilities reduces when adding links to the existing network, as the effect of this changes only perturbs the myopic local behavior of nodes, not the one of a global planner (solver). Using pairwise stability as a solution concept, other games of network formation has been studied by Jackson [121–123]. Well studied cases where the network effect are related to diffusion processes [148]. Suppose the utilities of agents reflect their amount of knowledge. A person- to-person information network is defined, by considering the existence of a non-rivalrous good (the information and knowledge) circulating within the network and giving rise to an epidemic process, reaching progressively larger area of the networks. As noted in Subsection 1.1.4, multi-agent systems, such as the Axelrod’s process for the dissemination of culture, represent general approaches to study the diffusion thought networks. Klemm et al. [139] studied the effect of a randomized perturbation of the network structure to the diffusion of cultural attributes in the Axelrod’s model. Starting from a 2-dimensional lattice as an initial network configuration, they considered a parameter πas the probability of rewriting a link of the original configuration – in the case π= 0 we have the 2-dimensional lattice and in the case π= 1 we have an Erdos Reni Random Graph –. For different values of πthey have analyzed the expected phase transaction of Smax/n (the relative size of the largest homogeneous domain in Algorithm 2), showing that the more the relational structure is ordered the lower is the phase transaction from polarization to globalization. In other words, the phase transaction increases with the amount of spatial disorder. Despite the diffusion, circulation and sharing of public goods among network agents has been the center of the attention of several network analysts and game theorists for more than two decades [114,121–123,139,148], the effect of the structure of interaction on the exchange and allocation of private goods certainly received a much more modest considerations [8,13,229]. In Chapter 6the effect of the network structure on the final allocation of private goods is taken into account from the optimization point of view and several barter processes to allocate fixed quantities among self-interested agents will be analyzed. Consider a collection of mtypes of commodities, call it C, a commodity space Ξi(representing the feasible bundle of commodity that agent i∈ V may hold and usually given by a subset of the nonnegative orthant in Rm), the initial endowments qi j∈Ξiof agent i∈ V for each commodity j∈ C (corresponding a budget constraints) and utility functions ui:Ξ7−→ R, representing 23 CHAPTER 2: Novel representation of network structures by spectral theory considerations concerning the structure of the network. For instance, Takaguchi and Miyazaki [218] studied spectral properties of a random walk on V(G) for the case of binary networks exhibiting the small-world property. Let Wbe a transaction probability matrix of a random walk on V(G) and let {λ(W 1, . . . , λ(W n}be the multiset of eigenvalues of W, which are arranged in descending order of their real parts. Takaguchi and Miyazaki defined λ(W) (i,i+1), the nearest neighbor eigenvalue spacing (NNES) between λW iand λW i+1, for i= 1, . . . , n −1, and observed the λ(W) (1,2) is strictly related with the rewriting probability of a Watt-Strogatz process [226]. Numerical evidence showed that the expected λ(W) (1,2) linearly depends on the rewriting probability of a Watt-Strogatz process. Another example on this line of research has been proposed by Golender [106], who introduced a doubly stochastic matrix representation based on the inverse of I−L(G). In the case of simple graphs, the determinant of I−L(G) is an interesting graph invariant, representing the number of spanning trees of the graph obtained by adding to the original graph a vertex connected with all vertices. Since the number of spanning trees of such a redefined network must be positive, I−L(G) cannot be singular. Golender showed that the doubly stochastic matrix Γ=(I−L(G))−1has many nice properties: i. Γ is symmetric and entrywise positive iff the underlying network is connected; ii. Γii >Γij for each i6=j(diagonal maximality); iii. the metric ρ(i, j)=Γii + Γjj −2Γij verifies the triangular inequality; iv. for any three different vertices i, j, k, Γij >Γik iff the underlying network contains a path from ito jand each path from ito kincludes j. In this chapter, we confine ourselves to undirected valued and binary networks and claim that the sequence {Pi(1−(maxifi)−1λ(L i)k}∞ k=1 provides a highly relevant information to study the pattern of transitivity and connectivity characterizing the trade off between open and closed network structures. 2.2 A new doubly-stochastic representation of binary and valued networks Consider the symmetric doubly stochastic matrix Λ(G) = I−∆−1 maxL(G). For whatever binary or valued network G, matrix Λ(G) belongs to the family of all doubly stochastic matrices of the form I−L(G)diag(f+t)−1, where d= (f1, . . . , fn)Tis the row marginal of the AM (degree sequence in the binary case) and t= (t1, . . . , tn)T∈Rnverifies ti−tj=fj−fi,ti≥0, for (i, j)∈ V ×V. We claim that Λ(G) represents the unique doubly stochastic matrix of the form I−L(G)diag(f+ t)−1, for a specific value of t, providing maximal information about G, in the sense of minimizing the diagonal elements of the matrix power (I−L(G)diag(f+t)−1)τ, for every non-negative integer τ. To see why this is the case, let T={t∈Rn:ti−tj=fj−fi,(i, j)∈ V×V} =T=t+N(T), where tis an arbitrary point in Tand N(T) is the null space of matrix T∈Rn(n−1)/2×n, associated to the linear system defining T. By Gaussian elimination on T, it might be easily seen that, (∆max −f1,∆max −f2, . . . , ∆max −dn)∈Tand that the null space of Tis simply {(θ, θ, . . . , θ)∈Rn:θ∈R}. Thus, we have 30 CHAPTER 2: Novel representation of network structures by spectral theory considerations T=              ∆max +θ−f1 ∆max +θ−f2 . . . ∆max +θ−fn     ;θ∈R         ,(2.1) and the space of doubly stochastic matrices I−L(G)diag(f+t)−1, for t∈Tis                              1−f1 (∆max +θ) x12 (∆max +θ). . . x1n (∆max +θ) x12 (∆max +θ)1−f2 (∆max +θ) . . .... x1n (∆max +θ)1−fn (∆max +θ)           ∈Rn×n:θ∈R                    .(2.2) To ensure that 1 −fi(∆max +θ)−1≥0 and xij(∆max +θ)−1≥0, for i, j = 1, . . . , n, it is necessary that θ≥max{di−∆max;i= 1, . . . , n}= 0. Let b Dθ= diag(∆max +θ−f1, . . . , ∆max +θ−dn) and Λθ(G) = (I−L(G)b D−1 θ). Expanding the matrix power Λθ(G)τwe have that for τ≥2 the ith diagonal element has the form Λθ(G)τ ii = (Λθ(G)ii)τ+ τ−2 X h=0 (Λθ(G)ii)hX j6=i Λθ(G)ijΛ(τ−h−1) θ(G)ij = (2.3) =1−fi ∆max +θτ + τ−2 X h=0 1−fi ∆max +θhX j6=i xij ∆max +θΛ(τ−h−1) θ(G)ij.(2.4) Applying the limit for θgoing to infinity, we find limθ→∞ Λθ(G)τ ii = 1. Since Λθ(G)τis doubly stochastic for every τ, then limθ→∞ Λθ(G)τ ij = 0, for i6=j. In other words, in the large limit of θ, matrix Λθ(G)τtends to the identity matrix, for each τand (more importantly) for each G. The main consequence is that the trace of powers of Λθ(G)τbecomes less and less dependent (informative) on the structure of Gwhen θincreases, so that I−∆−1 maxL(G) = Λθ(G)|θ=0 results to be the most informative doubly stochastic representation of Gwithin the family {I−L(G)diag(d+t)−1∈Rn×n +:t∈T}. Comparing the two doubly stochastic representations (I−L(G))−1and I−∆−1 maxL(G) in terms of their diagonal components, we realize that, while (I−L(G))−1produces a kind of diagonal maximality, as noted by Golender [106], which guarantees that (I−L(G))−1 ii >(I− L)−1 ij , for all i6=j, matrix I−∆−1 maxL(G) gives rise to a diagonal minimality inside the family {I−L(G)diag(f+t)−1∈Rn×n +:t∈T}, as just shown. A fundamental result about Markov chains is that any ergodic chain has a unique stationary distribution πand, regardless of the initial state, the time-tdistribution of the chain converges to πas ttends to infinity. Thus, given a connected valued network represented by L(G), the doubly stochastic matrix I−∆−1 maxL(G) represents an ergodic Markov process, whose stationary distribution is a vector with components πi= 1/n, for i= 1 . . . n. Definition 4 (Relative pointwise distance and mixing time).Consider the Markov chain represented by the doubly stochastic matrix Λ = I−∆−1 maxL(G)and its stationary distribution π. The relative pointwise distance between the transaction probability at step τand the stationary probability is ||Λ(G)τ−π|| =X i,j∈V |Λ(G)τ ij −πj| πj (2.5) 31 CHAPTER 2: Novel representation of network structures by spectral theory considerations The mixing time is the number of steps until the total variation distance between the current distribution and the stationary distribution has decreased to ε: Tmix(ε) = {t > 0 : ||Λ(G)τ−π|| < ε}(2.6) The rate of convergence of ||Λ(G)τ ij −π|| depends on λ(Λ 1, . . . , λ(Λ n, the eigenvalues of Λ(G). Tools for proving the mixing time include also arguments based on conductance, which is away to measure how difficult it is to leave a small subgraph. This measure of communication between subsystems relates with our discussion concerning the level of closeness of the network structure. Let Qi,j =πiΛ(G)ij = (∆maxKi)−1xij, where Kiis the number of nodes in the connected component in which iis located. If Gis connected, Qi,j =πiΛ(G)ij =πjΛ(G)(ij)= (∆max|V|)−1xij (the chain is time-reversibe). The conductance of a subset of nodes V∗⊆ V(G) of the chain represented by I−∆−1 maxL(G) is φΛ(V∗)= X i∈V∗, j∈V∗ Qi,j X i∈V∗ πi =1 ∆max|V∗|X i∈V∗, j∈V∗ xij,(2.7) where V∗is the complement of V∗with respect to V(G). The conductance of the overall chain is defined in (2.8), as the minimum conductance among all subsets of nodes V∗⊆ V(G): φΛ= min V∗⊂V(G) X i∈V∗, j∈V∗ Qi,j Pi∈V∗πi = min V∗⊂V(G) 1 ∆max|V∗|X i∈V∗, j∈V∗ xij (2.8) Theorem 2 (Sinclair and Jerrum [217]).Let λ(Λ sbe the second absolute greatest eigenvalue of Λ(G), i.e. λ(Λ s= max{|λ(Λ 2|,|λ(Λ n|}. The following three inequality must hold: X i,j∈V ||nΛτ(G)ij −1|| ≤ n(λ(Λ s)τ(2.9a) 1−2φΛ≤λ(Λ s≤1−(φΛ)2 2(2.9b) (1 −2φΛ)τ≤X i,j∈V ||nΛτ(G)ij −1|| ≤ n1−(φΛ)2 2τ (2.9c) From theorem 2and from the discussion of the previous chapter, we learned that a high conductance leads to faster convergence but also to a poor association between structural similarity and tie strength (community structure) and low level of triadic closure. Beside, the mixing time of (I−∆−1 maxL(G))τ, and the association between structural similarity and tie strength, can be algebraically linked by considering that, for every couple of nodes i, j ∈ V(G), the measure of structural similarity (1.2) represents the transaction probability of moving from ito jin two steps: Π(xi, xj)=Λ2(G)ij. This fact suggests the possibility of considering structural similarities of higher order, that is to say, how similar nodes are with respect to their pattern of structural similarity itself. This idea is captured by further exponentiation of Λ(G). For τ≥0, let Π(τ)(xi, xj) = Λτ+1(G)ij, Λ2τ(G)ij =PkΠ(τ−1)(xi, xk)·Π(τ−1)(xj, xk) and Λτ(G)ij =PkΠ(τ)(xi, xk)·Λ(G)jk. We have that Π(τ)(xi, xj) is a convex combination of 32 CHAPTER 2: Novel representation of network structures by spectral theory considerations Π(τ−1)(xi, x1),...,Π(τ−1)(xi, xn), where the loads of the combination are indeed the j’s normalized strengths of the ties: xj1/∆max,...,1−dj/∆max, . . . , xjn/∆max. Given a node i∈ V(G), the information provided by Π(τ)(xi, xi), i.e. the i’s diagonal component of Λτ(G), has a straightforward interpretation: - Λ(G)ii tells about the range of the degree distribution (the presence of hubs, which make the ratio between fiand ∆max go to zero); - Λ2(G)ii constitutes a measure of dispersion of the strength of i’ ties, i.e. if ihas few strong friends or plenty of weak acquaintances; - Λ3(G)ii, which is the scalar product between [Π(xi, x1). . . Π(xi, xn)] and [xi1/∆max,...,1− fi/∆max . . . xin/∆max], measures the association between the tie strengths of node iand its structural similarities, which is Granovetter’s main hypothesis. In general, the ith diagonal component of Λτ(G) gives information about the association between the (τ−1)-step walks linking iwith its neighbors and the strength of the respective ties with them, which is the association between structural similarities of order τ−1 and the tie strengths. Expanding the matrix power Λτ(G) as in (2.3) and defining Π(0)(xi, xj)=∆−1 maxxij, for τ≥2 we observe that Λτ(G)ii = (1 −∆−1 maxfi)τ+ ∆−1 max τ−2 X h=0 (1 −∆−1 maxfi)hX j6=i xijΠ(τ−h−2)(xi, xj).(2.10) When dealing with homogeneous row marginals of the AM it reduces to Λτ(G)ii = ∆−1 max X j6=i xijΠ(τ−2)(xi, xj),(2.11) which is the association between the structural similarities of order τ−2 and the tie strengths. We call IMARSIM (a short form for Iterative MARkovian SIMilarities) this repeated exponentiation of Λ(G). Let S(τ−h−2)(i)=∆−1 max Pj∈V xijΠ(τ−h−2)(xi, xj) and r(i) = (1 −∆−1 maxfi). For a fixed τ, we have that Pτ−2 h=0 rh(i)S(τ−h−2)(i) is a linear combination of the association between the strengths of the ties and the structural similarities of order τ−h−2, for h= 0, . . . , τ −2. The loads of this combination decreases when the order of the similarity decreases (rh(i) goes to zero as h increases if the network has non uniform row marginals of the AM), suggesting that similarities of lower order will have smaller and smaller effect in the level of Λτ(G)ii. Given the equality between the trace of a matrix and the sum of its eigenvalues and recognizing in Pτ−2 h=0 rh(i) a geometric series, we find that X i∈V(G) (1 −∆−1 maxλ(L i)τ=X i∈V(G) Λ(G)τ ii ≤X i∈V(G)rτ(i) + 1−rτ−1(i) 1−r(i) ≤X i∈V(G) 1 + (1 −∆−1 maxfi)τ−1 ∆−1 maxfi ≤n∆max ∆min 1 + ∆max −∆min ∆max τ, (2.12) which goes to n∆max/∆min in the large limit of τand the speed of convergence depends on the relative range (∆max −∆min)/∆max (∆min is the minimum row marginal of the AM). 33 CHAPTER 2: Novel representation of network structures by spectral theory considerations A similar reasoning can also be applied to deduce a mathematical connection between the range (∆max −∆min) and the generalized eigenvector centrality measure proposed by Bonacich [32,33], as introduced in Subsection 1.1.4, i.e. c(α, β) = α(I−βX(G))−1X(G)e, where eis a vector of ones, βreflects the degree to which a node’s centrality is a function of the centralities of its neighbors and αis a scaling parameter. Since X(G)=∆max(Λ(G)−I) + D(G) and that diag(Λ(G)) = I−∆−1 maxD(G), we have α(I−βX(G))−1X(G)e=α ∞ X k=1 βk−1X(G)k!e =α ∞ X k=1 ∆k maxβk−1(Λ(G)−diag(Λ(G)))k!e. (2.13a) The infinite sum in (2.13a) converges only if |β|<1/λ(A 1. By the definition of diag(Λ(G)) and Λ(G), it might be proved that (Λ(G)−diag(Λ(G)))ke≤(I−diag(Λ(G))k)e, for each k≥11. We find c(α, β)≤α ∞ X k=1 ∆k maxβk−1(I−diag(Λ(G))k)!e =α β ∞ X k=1 (β∆maxI)k− ∞ X k=1 (β∆maxdiag(Λ(G)))k!e =α ββ∆max (1 −β∆max)I−b De (2.13c) Matrix b Dis diagonal with elements β(∆max −fi)/(1 −β(∆max −fi)), for i= 1, . . . , n. Thus, we obtain that the centrality of the ith node is ci(α, β)≤α(1 −β∆max)∆max −(∆max −fi)(1 −β∆max) (1 −β∆max)(1 −β(∆max −fi) =αfi 1−β∆max(∆max −fi) ≤α∆max 1−β∆max(∆max −∆min) (2.13d) The upper bound of the generalized eigenvector centrality measure [32,33] depends again on the range ∆max −∆min. As mentioned in Subsection 1.1.3, in sparse networks high range of the degree sequence facilitates the coexistence of triadic closure and high connectivity. A high range of the degree sequence might be the result of the concentration of nodes in the diagonal cells of the nodal taxonomy in Tables 1.2, where the endpoints of strong highly embedded ties and weak local bridges are grouped, in accordance with the nodal embeddness and degree. Consider the partition V= Γ11 ∪Γ12 ∪Γ21 ∪Γ22, in accordance with the nodal 1We prove it by induction. For k= 1 we have ∆−1 maxfi≤∆−1 maxfi. For the inductive step, note that (Λ(G)− diag(Λ(G)))k= ∆−k maxX(G)kand that each element of Xk(G)eis bounded from above by ∆k maxe. We claim that, if ∆−k maxX(G)ke≤(I−diag(Λ(G))k)e, for an arbitrary positive integer k, then ∆−(k+1) max X(G)k+1e≤(I− diag(Λ(G))k+1)e. To see why this is the case, note that X(G)k+1e≤∆maxX(G)ke ∆−(k+1) max X(G)k+1e≤∆−(k+1) max ∆maxX(G)ke ∆−(k+1) max X(G)k+1e≤∆−k maxX(G)ke. (2.13b) It turns out that, if ∆−k maxX(G)k≤(I−diag(Λ(G))k)efor an arbitrary positive integer k, we have ∆−(k+1) max Xk+1(G)e ≤∆−k maxXk(G)e≤(I−diag(Λ(G))k)e≤(I−diag(Λ(G))k+1)e. This means that (Λ(G)−diag(Λ(G)))ke≤ (I−diag(Λ(G))k)e, for any positive integer k. 34 CHAPTER 2: Novel representation of network structures by spectral theory considerations taxonomy of Tables 1.2, where Γ11 is the set of conservative nodes (low degree, high embedness) and Γ22 is the set of adventurer (high degree, low embedness). - For each i∈Γ11, the sequence {Λτ(G)ii}∞ τ=1 can be approximated by the upper bound 1+Pτ−2 h=0 Sτ−h−2(i) (since rτ(i)∼1), which only reflect the association between structural similarities and tie strength. - For each i∈Γ22, the sequence {Λτ(G)ii}∞ τ=1 can be approximated by the lower bound {rτ(i)}∞ τ=2 (since Sτ−h−2(i)∼0), which behave as a geometric sequence. We mentioned that a network with high community structure and weak local bridges might exhibit high connectivity only if most nodes belong to Γ11 and Γ22, since the presence of few highly connected hubs increases the network connectivity and might support the appearance of triadic closure even in very sparse networks. In other words, small world valued networks verifying Granovetter’s hypothesis and Boorman principle are such that the adventurer and the conservative nodes are associated to sequences {Λ(G)ii}∞ τ=1 which quickly decrease starting from a value closed to one. However, for conservative nodes this decreasing pattern depends on the vanishing association between structural similarity of order τand tie strength, as it could be seen by deducing from (2.10) the following difference: Λ(G)τ ii −Λ(G)τ+1 ii ≤ τ−2 X h=0 X j6=i xij Π(τ−h−2)(xi, xj)−Π(τ−h−1)(xi, xj) ∆max +g(fi),(2.14) where g(fi)≤1 is a function which only depends on fi. Thus, under a vanishing association between structural similarity of order τand tie strength, the expected consequence for small world valued networks verifying Granovetter’s hypothesis and Boorman principle is that the sequence Tr(Λ(G)), Tr(Λ2(G)), . . ., Tr(Λτ(G)) is supposed to drop off quickly starting from a value closed to n. Let GK,κ be the family of valued networks composed by Kdisconnected cliques with κnodes per clique, such that each within-clique connection has value u > 0 and the between-clique connections have zero value. It can be seen that, for each network gK,κ ∈ GK,κ, we have Λ(gK,κ)ij is either 0 (when iand jbelong to different groups) or (κ−1)−1(when iand jbelong to the same group) for i6=j. By repeated matrix product we observe that Λτ(gK,κ)ij =κ−2 κ−1Λτ−1(gK,κ)ij +1 κ−1Λτ−1(gK,κ)ii (2.15) Λτ(gK,κ)ii = Λτ−1(gK,κ)ij,(2.16) for j6=ibelonging to the same group. Solving the difference equation system we find Λτ+1(gK,κ)ij Λτ+1(gK,κ)ii =κ−2 κ−1 1 κ−1 1 0 τ1 κ−1 0,(2.17) and by singular value decomposition Λτ+1(gK,κ)ij Λτ+1(gK,κ)ii =1−1 κ−1 1 1 1 0 0−1 κ−1τ1−1 κ−1 1 1 −11 κ−1 0.(2.18) This implies Λτ+1(gK,κ)ij =1 κ+(−1)τ(κ−1)−τ+ 1 κ(κ−1) , Λτ+1(gK,κ)ii =−(−1)τ(κ−1)−τ−1 κ (2.19) 35 CHAPTER 2: Novel representation of network structures by spectral theory considerations Tr(Λτ(gK,κ)) −Tr(Λτ+1(gK,κ)) = (−1)τKκ (κ−1)τ(2.20) The network plots in Fig. 2.3 shows three cases of Kdisconnected cliques with κ= 2,3,4 nodes per clique. Figure 2.1: Sequence Tr(Λτ(gK,κ)) for τ= 1,...,Kκ, associated to disconnected cliques with (K, κ) = (10,2). Figure 2.2: Sequence Tr(Λτ(gK,κ)) for τ= 1,...,Kκ, associated to disconnected cliques with (K, κ) = (7,3). Figure 2.3: Sequence Tr(Λτ(gK,κ)) for τ= 1,...,Kκ, associated to disconnected cliques with (K, κ) = (5,4). The main idea is that Λ(G)τ+1 ii measures how τ−similar the ith node is with the rest of the 36 CHAPTER 2: Novel representation of network structures by spectral theory considerations network and the recursive definition of τ−similarity comes from the cosine similarity of nodes with respect to the their (τ−1)−similarities. In the ’70s the question about the similarity of similarities motivated the studies of Breiger, Boorman and Arabie [39], who proposed the CONCOR method (a short form of CONvergence of iterated CORrelations). As described in Subsection 1.1.4, starting from the Pearson productmoment correlation coefficient among couples of rows of the AM (call it C1∈[−1,1]n×n), CONCOR obtains the correlation matrix of the rows of C1and iteratively calculates correlations of correlations, converging to a steady-state correlation matrix C∗, whose entries are either −1 or +1. Both CONCOR and IMARSIM are iterative procedures which take a square real matrix as an input and repeatedly apply a measure of similarity between columns vectors: The function Algorithm 3 Iterative similarity Set k= 0 and C0as the initial matrix repeat Ck+1 = Sim(Ck); k=k+ 1. until Convergence Sim : Rn×n−→ Rn×nreturns a matrix whose components represent a measure of similarity between the columns of the matrix, passed as input. CONCOR was originally proposed without a mathematical justification and a spontaneous question could be: what is likely to happen to the sequence of matrices C0, C1, . . . when the measure of similarity used is somehow replaced? The input matrix of CONCOR is C0=X(G) and the measure of similarity is the Pearson correlation. In the case of Λτ(G) the measure of similarity used is the cosine similarity and the precise mathematical meaning of this iterative process is well known by means of the Markovian Theory, as long as C0= Λ(G) is adopted as input matrix, representing the network structure. For each positive integer τ, the set {Λ(G)τ ii |i∈ V(G)}represents a distribution of the values obtained by the IMARSIM among the set of nodes. The statistical moments of the associated frequency distribution might be used to summarize the shape of this set of points. For each positive integer τ, we consider the first two moments, giving rise to the average and variance profile of the distribution of the nodal quantities {Λ(G)τ ii |i∈ V(G)}. The resulting sequences are µ[Λτ(G)] = 1 nTr(Λτ(G)) = 1 nX i∈V(G) (1 −∆−1 maxλ(L i)ττ≥1 (2.21) σ2[Λτ(G)] = 1 nX i∈V(G) (Λτ ii)2− 1 nX i∈V(G) Λτ ii  2 τ≥1 (2.22) representing the means and variances of the diagonal components of Λτ(G), so that µ[Λτ(G)] ∈ [0,1] and σ[Λτ(G)] ∈[0,1], for τ≥1. (The square root of the variance is taken to obtain the same unit of measurement as the one used in the original scale.) For their construction in term of structural similarities, the two sequences shall be respectively called mean similarity spectrum (MSS from now on) and variance similarity spectrum (VSS from now on). As already mentioned in the previous section, one of the most characterizing features of humans social networks is the rich variation at the individual level. The VSS might capture these heterogeneities and variation of structural positions. For instance, when µ[Λ(G)] is close to one and σ[Λ(G)] closed to zero, the distribution of the row marginals of the AM must exhibits a hub structure, where most of nodes have low row summation and very few of them have a 37 CHAPTER 2: Novel representation of network structures by spectral theory considerations particularly high sociability. This is observed in Figure 2.4, for the case of a star (left plot) and a ring (right plot) with 60 nodes. For the case of a star, {µ[Λτ]}n τ=1 exhibits a slow decrease, starting from (n−2)/n, outlining a poor change in structural similarity from order τ−2 to τ−1. Figure 2.4: The MSS and VSS of a star and a ring with 60 nodes. As numerically shown in the next section, the MSS and VSS can help to capture the fundamental features of open and closed network structures and operationalize the weakness of local bridges,the association between structural similarities and tie strengths and the heterogeneity of structural positions, as introduced in Subsection 1.1.3. A synthetical overview of the degree of openness/closeness, which reflects the pattern of connectivity, structural similarity and variation at the individual level will be captured in a graphical representation. 2.3 The MSS and VSS of observed network structures As already mentioned in Section 2.1, the construction and development of the main results of this chapter followed a bottom–up design, in the sense that they have been obtained starting from a numerical evidence and then providing theoretical reasons to such observations. Nonetheless, the way in which we decided to present them follows the opposite approach: from the algebraical deduction – as carried out in Section 2.2 – to the empirical observation. This section provides a detailed analysis of eight popular and well known real world networks, which are available online from the Ucinet [34] database. They are here used to numerically validate and support the effectiveness of the MSS and VSS in capturing important network properties associated to degree of openness/closeness. In particular, we argue that the observed shapes of the MSS and VSS levels, are characterized by the following properties: 38 CHAPTER 2: Novel representation of network structures by spectral theory considerations •hub structure of the row marginals, as suggested by the high starting value of the MSS and the low starting value of the VSS; •fast convergence of the sequence µ[Λ(G)],µ[Λ2(G)],. . .,µ[Λτ(G)], suggesting he presence of local bridges and supporting a vanishing association between structural similarity of order τand tie strengths; •high variation at individual level, resulting in a slowly decreasing VSS when τincrease. Table 2.1 provides commonly used network statistics applied to the network data sets studied in the following subsections. The first column reports the name of the data set; the second columns contains the density, computed as the total amount of valued components in the AM divided by the maximal amount. The third and fourth columns show the standard deviation of the AM marginals and one of the Bonacich eigenvector centrality (with β= 1) respectively. Dataset density edge AM marginals (sd) centrality (sd) Berdnard and Killworth fraternity 0.03778 valued 84.86742 0.47475 Berdnard and Killworth office 0.04792 valued 16.11312 0.40583 Kapferer Tailor shop (first period) 0.21323 binary 4.83297 7.28318 Kapferer Tailor shop (second period) 0.30094 binary 5.50977 3.49072 Dolphins’ social network 0.08408 binary 2.95587 3.97711 Newman scientific collaboration 0.00144 valued 3.20884 18.9310 Florentine Reminiscence families 0.16667 valued 2.46885 0.42915 Kapferer’s mine 0.23809 binary 1.75933 4.279519 Table 2.1: Descriptive statistics of five network data sets. The observed MSS and VSS will be compared with their empirical distribution, under conditionally uniform random networks with the corresponding fixed density2. The idea is to graphically support the substantial differentiation between the similarity spectra of real-world networks and the ones obtained under the conditionally uniform random model. Such a similarity will be precisely discussed, in accordance with the described structural features introduced in Subsection 1.1.3. The high variation at the individual level will result as a common feature of most of the observed MSS and VSS. 2.3.1 Berdnard and Killworth fraternity In a series of researches in the 1970s, Bernard, Killworth and Sailer [16–18] considered the accuracy of retrospective sociometric surveys in a religious fraternity with 58 occupants. To quantify the connections among members, an unobtrusive researcher observed the interactions in the fraternity every 15 minutes, 21 hours a day, for five days. The aggregate of these data provided frequency counts represented by a valued network. Figures 2.5 and 2.6 show respectively the 58 nodes valued network plot and the MSS and VSS associated to the record of the unobtrusive researcher frequency counts. 2Methods to generate conditionally uniform random networks will be discussed in chapters 3and 5. Here we apply the Q-kernel method for valued networks with fixed number of edges, as described in Section 3.3.3. 39 CHAPTER 2: Novel representation of network structures by spectral theory considerations Figure 2.15: MSS and VSS of the network of Renaissance Florentine families. The gray area reports the envelop of the MSS and VSS under a simulation of 500 valued networks with fixed sum of the AM elements. 2.3.7 Kapferer’s mine Bruce Kapferer [132] collected data during a mining operation in Zambia, considering workers involved in several types of interactions: conversation, joking, job assistance, etc. Figure 2.16 reports the network plots associated to one type of relationship. Figure 2.16: Network plot of the Kapferer’s miner network. Figure 2.17: MSS and VSS of the Kapferer’s mine network. The gray area reports the envelop of the MSS and VSS under a simulation of 500 valued networks with fixed sum of the AM elements. 46 CHAPTER 2: Novel representation of network structures by spectral theory considerations The MSS and VSS in Figure 2.17 seems to be comparatively closer to the random case, than the ones of the other observed data sets. Nonetheless, even in this small network a hub structures of the row marginals slightly appears, as suggested by the high starting value of the MSS and the low starting value of the VSS. A substantial variation at the individual level is also supported by the VSS. 2.4 The MSS and VSS of simulated networks In this section we take into account the MSS and VSS of different topological structures generated both by random and deterministic processes of network formation. As already discussed in Subsection 1.1.4, the analysis of network formation tries to explain how specific generation processes operate. The R codes to reproduce the numerical results of this section are available at http://www-eio.upc.edu/~nasini/R_Programs/R_chaper_2.txt. As a first family of models, let us consider spatially embedded networks, such as random geometric graphs [188]. They consist in random undirected graphs drawn on a bounded region S, in accordance with the following generation mechanism: - a set of nodes Vis associated with uniform distribution to points in the unitary space S; - pairs of vertices i, j ∈ V, with j6=i, are connected if and only if the distance between them δ(i, j) is at most a threshold r, where δis given by some metric on S. Probabilistic results of this model are well known [188], allowing interesting mathematical relations between network properties and the threshold r. Our interest is the change in the MSS and VSS when rvaries. To do so we consider n= 60 nodes placed in the 2-dimensional unit cube S= [0,1]2and their Euclidean distances δ(i, j), for i, j ∈ V. Figures 2.18,2.19 and 2.29 show the MSS and VSS of three randomly generated geometric networks, for r= 0.2, r= 0.3 and r= 0.4 respectively. Figure 2.18: Geometric graphs with n= 60 and r= 0.2. 47 CHAPTER 2: Novel representation of network structures by spectral theory considerations Figure 2.19: Geometric graphs with n= 60 and r= 0.3. Figure 2.20: Geometric graphs with n= 60 and r= 0.4. It might be seen a quite accurate resemblance between the MSS and VSS of the two randomly generated geometric networks in figures 2.19 and 2.19 (r= 0.2 and r= 0.3, correspondingly) and the ones of the dolphin’s social network in Figure 2.12 and the Berdnard and Killworth fraternity in Figure 2.6. The density, the clustering coefficient and average path length of the three samples are reported in Table 2.4. Dataset Density CC APL r= 0.2 0.10734 0.59254 4.23446 r= 0.3 0.22034 0.67550 3.54858 r= 0.4 0.34915 0.69655 1.88531 Table 2.4: Density, clustering coefficient and average path length of the three instances of geometric graphs in figures 2.18,2.19 and 2.29. 48 CHAPTER 2: Novel representation of network structures by spectral theory considerations The ability of this model to capture spatial relationships – as edges reflect closeness in space – supports the observed substantial transitivity and community structure of the generated networks, as shown in Table 2.4. This is coherent with the fact that Tr(Λ(G)) −Tr(Λ2(G)) > Tr(Λ2(G)) −Tr(Λ3(G)), for the three instances in figures 2.18,2.19 and 2.29 – a positive association between structural similarities and tie strengths – . The main source of differentiation between the geometrical graphs and the observed networks described in Section 2.3 is the appearance of a Poisson degree distribution under this spatial based connection mechanism, as also suggested by the low starting value of the MSS and high starting value of the VSS. Moreover, for r= 0.4, the generated network has high density and low variation of the degree sequence, which does not result in most network structures described in Section 2.3. To bypass this problem, other models of network formation might be considered. A flexible class of models, which might be capable to reproduce both the community structure of the geometric graphs and the high variation of the degree sequence, is the Exponential Random Graph Models (ERGM from now on), which will be studied in Chapter 5. For the comparative scope of this section, a process of network formation with poorly embedded nodes and high communication between subgraphs is described: the preferential attachment mechanism [12,175]. According to this generation process (resembling open structures), we begin with an initial set of nodes associated to an arbitrary internal topology; a new node is added to this initial configuration at a time and connected to mof the existing nodes; the probability of connected with an existing node i∈ V is proportional to (fi)γ– the degree of ito the power of γ–, so that new nodes have a preference to attach themselves to hubs, who tend to accumulate even more ties during the process. Networks resulting from the preferential attachment mechanism exhibit power law degree distribution and low clustering coefficient, giving rise to high connections between subgraphs and poor embeddness of nodes in communities. The preferential attachment mechanism has recently been extended to the case of valued networks by means of different generation procedures [19–21]. Among them an interesting scalefree network generator has been proposed by Dorogovtsev and Mendes [82]. They described a process of attachment of new vertices to preferentially chosen valued edges; the values of the selected edges are sequentially updated by a fixed parameter, say δ, resulting in networks with scale-free distributions of the edge values, of node’s number of contacts, and row marginals of the AM. The graphical illustrations in figures 2.21,2.22 and 2.23 show three networks generated by Dorogovtsev and Mendes process with δ= 0.5,3 and 10, respectively. Figure 2.21: Dorogovtsev and Mendes model with n= 60 and δ= 0.5. 49 CHAPTER 2: Novel representation of network structures by spectral theory considerations Figure 2.22: Dorogovtsev and Mendes model with n= 60 and δ= 3. Figure 2.23: Dorogovtsev and Mendes model with n= 60 and δ= 10. The main source of differentiation between the networks simulated from the Dorogovtsev and Mendes model and the real-world networks in Section 2.3 is the poor level of community structure, associated to the graph conductance and to the speed of convergence of the underlying MSS. This is also suggested by the modest clustering coefficients reported in Table 2.5, in comparison with the ones of the geometric graph in Table 2.44. It must also be noted that the average path length keeps low despite the small number of connections in the network, as it generally results in open structures. 4The computation of the clustering and average path length is carried out ignoring the edge values. 50 CHAPTER 2: Novel representation of network structures by spectral theory considerations Dataset Density CC APL rδ = 0.5 0.05589 0.20232 2.85367 rδ = 3 0.02825 0.21428 2.83220 rδ = 10 0.01624 0.20446 2.77062 Table 2.5: Density, clustering coefficient and average path length of the networks in figures 2.21,2.22 and 2.23, which have been generated by the Dorogovtsev and Mendes process. Random models of network formations are of great utility when trying to reproduce certain features of CNs, but they lack the explanation of both local decisions of independent agents and global decisions of an optimization-based planner. Jackson [121] highlighted that strategic models of network formation allow getting into this deeper level of understanding, by considering the optimality of the interaction structures, as introduced in Section 1.2. From this point of view, the models we are introducing next in this section allow takeing into account the emerging properties from the point of a global planner, who wish to allocate connections among nodes in such a way as to optimize a specified criterion. Hence, the interpretation of the previous results might be comparatively integrated with the analysis of the MSS and VSS of networks resulting from such a modeling framework. Moreover, this level of analysis can bring the discussion back to the problem of the optimality of the network structures, introduced in Section 1.2 and again retroposed from a different point of view in Section 5.5. Consider the families of all connected binary undirected networks and find the subset of them which maximize the number of closed triangles and minimize the density. The max–min mathematical programming formulation associated to the two–objective problem is: max g subject to g≤αX (i,j,k)∈H3 wijk g≤(1 −α) n(n−1) 2−X (i,j)∈H2 xij  (2.24a) 1−zijk ≤xij ≤yijk (i, j, k)∈ H3 1−zijk ≤xjk ≤yijk (i, j, k)∈ H3 1−zijk ≤xik ≤yijk (i, j, k)∈ H3 yijk −zijk ≤wijk ≤1−zijk (i, j, k)∈ H3 zijk ≤3−(xij +xjk +xik) (i, j, k)∈ H3 (2.24b) fij +fji ≤(n−1)xij (i, j)∈ H2 n X j=1 f1j− n X j=1 fj1=n−1 n X j=1 fkj − n X j=1 fjk =−1k∈ V, k 6= 1 (2.24c) xij ∈ {0,1}, fij ≥0, fji ≥0 (i, j)∈ H2 yijk, zijk, wijk (i, j, k)∈ H3(2.24d) where xij is the binary indicator of a tie, for (i, j)∈ H2, associated to the n(n−1)/2 upperdiagonal components of the AM. If bt=Pi<j<k∈V xijxjkxij, then the constraints (2.24b) are used to linearize this property, by introducing auxiliary variables yijk ∈ H3and zijk ∈ H3to characterize the state of a triad, where H3={(i, j, k) : 1 ≤i≤n−2, i < j ≤n−1, j < k ≤n}. Variables wijk are the binary 51 CHAPTER 2: Novel representation of network structures by spectral theory considerations indicators of transitivity in the connections among (i, j, k)∈ H3. Constraints (2.24c) make use of an artificial flow of n−1 units departing from one node and arriving to each of the remaining nodes. The existence of such flow is a sufficient and necessary condition for the network to be connected. Finally, (2.24a) represents the max-min program and (2.24d) is a declaration of the domain of the decision variables. The direct computation of the optimal solution of problem (2.24) by branch and bound algorithm (B&B from now on) is time consuming when n≥50 and a strong lower bound of the optimal solution can be used to reduce the number of explored B&B nodes. Proposition 2. The number of closed triangles in the optimal solution of problem (2.24) is bounded from below by h= min (n−1), α(n−2)(n−1) 2(2.25) and the number of edges is bounded from below by (n−1) + h. Proof. Since χis the set of all connected graphs, we must have P(i,j)∈H2xij ≥n−1. Every connected graph with n−1 edges – a tree – is associated to h= 0 in (2.24), as no closed triangle exist in it. Consider a star as a feasible solution of (2.24) with h= 0 and add hedges between pairs of nodes at distance two. Since we have n−1 pairs of nodes at distance two in a star, h≤n−1 additional edges might be included, creating hnew triangle and resulting in an increase of the value of the objective function up to min n(1 −α)h, α n(n−1) 2−(n−1) −ho. Thus, we can keep increasing has long as (1 −α)h≤αn(n−1) 2−(n−1) −h, up to n−1, so that the number of closed triangles and the number of edges in the optimal solution will be bounded from below by h= min (n−1), α(n−2)(n−1) 2and (n−1) + h, respectively. (2.26) Stronger valid inequalities can be numerically found by heuristic methods, such as local search, tabu search, ant colony, etc5. We implemented a first-improve local search to find a lower bound to the optimal solution. It adds and removes one edge in each iteration up to converge to a local optimum, in which no single edge can be added or removed with an improvement of the objective function6. Using the heuristic solution as a lower bound on g, three instances of problem (2.24) are solved for n= 60 and α= 0.7, 0.5, 0.3; the MSS and VSS of the three optimal solutions are shown in figures 2.24,2.25 and 2.26 respectively. 5Another interesting approach which might be used to solve (2.24) is the Lagrangian relaxation of the connectivity constraints (2.24c) and the iterative numerical solution of the resulting Lagrangian dual problem. 6The AMPL implementation of the model and the local search to provide a lower bound of problem (2.24) is available at www-eio.upc.edu/~nasini/Thesis_programs/AMPL_thesis_codes/AMPL_Chapter2/MaxMin_ TriadsDensity/MaxMin_TriadsDensity.mod and www-eio.upc.edu/~nasini/Thesis_programs/AMPL_thesis_ codes/AMPL_Chapter2/MaxMin_TriadsDensity/MaxMin_TriadsDensity.run, for the model and data generator script corresponding to figures 2.24,2.25 and 2.26. 52 CHAPTER 2: Novel representation of network structures by spectral theory considerations Figure 2.24: Optimal solution of problem (2.24), for n= 60 and α= 0.7. Figure 2.25: Optimal solution of problem (2.24), for n= 60 and α= 0.5. Figure 2.26: Optimal solution of problem (2.24), for n= 60 and α= 0.3. 53 CHAPTER 2: Novel representation of network structures by spectral theory considerations The fast convergence of the sequence µ[Λ(G)], µ[Λ2(G)], . . .,µ[Λτ(G)], for the three instances in figures 2.24,2.25 and 2.26, supports the presence of local bridges and a vanishing association between structural similarity of order τand tie strengths. This is not surprising, as the transitivity was a characteristic that problem (2.24) sought to maximize. By contrast, despite the objective only involves the minimum between triads and sparsity, the resulting networks in figures 2.24,2.25 and 2.26 exhibit a remarkably high connectivity (the shortest path lengths shown in Table 2.6), mainly due to the presence of highly connected hubs who are incident to many local bridges. Dataset Density CC APL α= 0.7 0.11921 0.61378 2.49265 α= 0.5 0.17966 0.66311 3.17344 α= 0.3 0.28192 0.63821 1.71808 Table 2.6: Local clustering coefficient and average path length of the geometric graph. This results provide a substantial insight on the optimization reasons behind the appearance of small-world network structures and on the quite accurate resemblance of the associated MSS and VSS with the ones of the observed data set of Section 2.3. Beside, they seem to be particularly coherent with the ones of Mathias and Gopa [158], who showed that the small-world topology arises as a consequence of a tradeoff between maximal connectivity and minimal wiring. Consider a toy model of the brain. Let us assume that it consists of local processing units, connected by wires. What constraints act on this system? On the one hand, one would want the highest connectivity (shortest path length) between the local processing units, so that information can be exchanged as fast as possible. On the other hand, it is wasteful to wire everything to everything else. (See Mathias and Gopa [158], page 2.) The model of Mathias and Gopa [158] tries to merge the intuition of a spatial distribution of nodes, as in the previously studied geometric random graph, with the optimization based criterion of edge formation. They pointed out that two types of distances are meaningful in networks: the minimal number of connections between any two vertices of the graph (which is the APL) and the physical distance between nodes which are spatially embedded, as in the case of a geometric graph. From this point of view, their problem was to connect spatially embedded nodes in such a way that the resulting graph has minimum APL and minimum physical distance (wire) between connected nodes. From our point of view, the major criticism of their approach is the lack of a mathematical programming model of the problem to be solved, limiting the possibility of an exact evaluation of the obtained heuristic solutions. Consider a reformulation of Mathias and Gopa model, where the degree of separation between nodes is measured by the cost of carrying a flow between them in an undirected network. In accordance with the spatially embedded random graph model, the set of nodes Vis randomly associatedto points in the unitary space Sand the distance between them δis given by some metric on S. The optimal network structure is defined in such a way that the total cost is minimized, along with the physical distance between connected nodes. This mathematical programming model requires the definition of ntypes of flow (one per node) and n−1 unit of each type of flow departing from the corresponding node and reaching all the remaining nodes. Minimizing the circulating flow would result in a complete graph, where every node is one step away from all the others. By contrast, the minimization of the physical distances between connected nodes would result in spanning trees, where the flow must travel 54 CHAPTER 2: Novel representation of network structures by spectral theory considerations along the network before being delivered. The goal of a global planner is to find an optimal topology, combining the two objectives. A min–max mathematical programming formulation is: min g subject to g≥αX (i,j)∈H2 δijxij g≥(1 −α)X (i,j)∈H2 n X k=1 fk ij +fk ji (2.27a) n X k=1 fk ij +fk ji ≤n(n−1)xij (i, j)∈ H2 n X j=1 fk kj − n X j=1 fk jk =n−1k∈1. . . n n X j=1 fk tj − n X j=1 fk jt =−1t∈ V, k ∈1. . . n, t 6=k (2.27b) xij ∈ {0,1}, fk ij ≥0, fk ji ≥0 (i, j)∈ H2, k ∈ V (2.27c) where xij is the binary indicator of a tie, for (i, j)∈ H2and fk ij is the flow of type kfrom ito j, for k∈1. . . n, (i, j)∈ H2. The direct computation of the optimal solution of problem (2.27) by CPLEX is time consuming (more than three days of CPU time) when n≥50 and a strong lower bound of the optimal solution can be used to reduce the number of branch and bound nodes7. Three instances of problem (2.27) are solved for n= 60 and α= 0.7, 0.5, 0.3; the MSS and VSS of the three optimal solutions are shown in figures 2.27,2.28 and 2.29 respectively. Figure 2.27: Optimal solution of problem (2.27), for n= 60 and α= 0.1. 7This problem allows a quite straightforward application of decomposition techniques, such as the Benders decomposition, which separately and iteratively solves the problem of finding the minimum cost network structure and the one of setting the minimum circulating flow within it. We solve problem (2.27) by the branch and bound algorithm, providing a lower bound to the optimal solution by a heuristic method. 55 62 Chapter 3 Families of networks as systems of linear constrains 3.1 Purposes and preliminary overview A particular interest has been payed in the previous chapters to the construction of a unified methodology, capable of analyzing both binary and valued networks without conceptual discontinuities. This chapter keeps carrying out this effort by showing that combinatorial objects, such as binary networks, and continuous objects, such as valued networks, might be algebraically characterized by a unified approach based on well-defined systems of linear constraints. These approach is capable to open novel methodologies for statistical simulation of random networks based on Mathematical Programming methods. Let xij be entries of the AM of either a directed or undirected graph with no loops or multiples edges. The AM is an element of the set of binary matrices χ={xij ∈ {0,1},(i, j)∈ H2}, where H2={(i, j):1≤i≤n−1, i < j ≤n}for undirected graphs or H2={(i, j):1≤i≤n, 1≤j≤n, i 6=j}for directed graphs. (3.1) The continuous relaxation of χ, name it CR(χ), is obtained by replacing xij ∈ {0,1}by xij ∈[0,1], in (3.1)). Clearly, all extreme points of CR(χ) are integer. If we consider a conditional graph by adding extra linear constraints to χ, then CR(χ) may contain fractional extreme points, unless its constraints matrix is totally unimodular (TU). Theorem 1, introduced in Subsection 1.1.4, will be extensively used in this chapter1to show that when the constraints matrix of CR(χ) is TU, each extreme point of CR(χ) must represent a graph. Based on this fact, the generation of a bunch of graphs might be carried out by merely solving linear programs (LP) with random gradients in the objective function, or by non-degenerated simplex pivoting, starting from a given initial extreme point [182]. Beyond that, they can be generated in polynomial time if interior-point methods are used [231]. We will differentiate between two cases: 1If B∈Zm×nis a TU matrix and bis integer, then polyhedrons of the form ϕ={y∈Rn:By =b;y≥0} have only integer extreme points, as every non singular m×msubmatrix of Bhas integer inverse. (For more details on Unimodularity in Integer Programming see [209], [142] and [144]). 63 CHAPTER 3: Families of networks as systems of linear constrains •families of networks which are bijectively associated to the set of extreme points of specified polytopes; •families of networks which are associated to subsets of the extreme points of specified polytopes. In the first case, the solution of any linear program in the feasible region of those polytopes gives rise to a network with the prescribed properties. In the second case, some linear programs might not result in a valid network with the prescribed properties, as fractional components are free to appear. The next section introduces families of networks which are associated to the set of extreme points of specified polytopes and to the characterization of the convex hull of the AMs of those families by systems of linear constraints. 3.2 Families of binary networks and extreme points of polytopes Let χbe the set of AMs of a family of either directed or undirected networks with nnodes, and let CR(χ) be its continuous relaxation. For several families of networks the extreme points of CR(χ) can be seen to be integer. Next Proposition 3, which provides a sufficient condition for the existence of a bijection between extreme points of CR(χ) and the set of feasible networks, will be useful to show that some constraints matrices are TU. Proposition 3. For a given family of either directed or undirected networks with nnodes, let F∈Rl×m, be a matrix of l≤mlinear constraints characterizing the family of networks under consideration, where m=n(n−1) or m=n(n−1)/2for, respectively, directed and undirected networks. Let CR(χ) = {x∈[0,1]m:Fx=b}be the continuous relaxation of the constraints. If bis integer and Fcan be reduced by elementary row operations to a matrix, call it F0, with a unique unitary element (either +1 or −1) per column and all the elements of the same row with the same sign, then there is a bijection between the extreme points of CR(χ)and the set of networks under consideration. Proof. In extended matrix form, the system of linear constraints associated to CR(χ) is I I F0x s=e b,x s≥0.(3.2) From Theorem 1, the constraints matrix of (3.2) is TU by considering the following partition of rows: set the first mrows (associated to the identities) in J1; if elements of row iof F0are negative, then set this row in J1; otherwise, if they are positive, set the row in J2. Therefore, all extreme points of CR(χ) are integer and they correspond to the AM of a network. In addition, no integer point may be located in the interior of CR(χ) since it is a subset of the unit hypercube, completing the proof. The acronyms UN, DN, ECUN and ECDN will be used to denote undirected networks, directed networks, edge-colored undirected networks, edge-colored directed networks respectively. The following families of networks are associated to systems of linear constraints reducible to the case of Proposition 3: •UNs conditioned to the density (i.e., number of edges); 64 CHAPTER 3: Families of networks as systems of linear constrains •UNs conditioned to the within-&-between-group densities; •UNs conditioned to the within-group densities; •UNs conditioned to the between-group densities; •UNs conditioned to the within-group densities and the density; •UNs conditioned to the between group densities and the density; •UNs conditioned to the lower bound of the nodes degree range and density; •ECUNs conditioned to the within-color densities; •ECUNs conditioned to the between-color density; •ECUNs conditioned to the within-color and within-group densities; •ECUNs conditioned to the within-color and between-group densities; •ECUNs conditioned to the within-color and within-&-between-group densities; •ECUNs conditioned to the within color densities and lower bound of the degree range. Similarly, the ten families of networks associated to the directed version of the aforemention classes are also reducible to the case of Proposition 3. In the rest of this section we prove total unimodularity of systems of linear constraints. The readers not interested in the proofs can directly jump to Section 3.3 which describes three LP procedures to randomly generate conditional networks. Acceptation-rejection procedures for the families of networks whose constraints matrices are not TU are empirically evaluated in Section 3.4, by computing the proportion of fractional solutions. 3.2.1 Basic models of networks conditioned to linear constraints One of the simplest cases is that of networks conditioned to the density d. The following result is immediate by noting that the system of linear constraints characterizing CR(χ) verifies the hypotheses of Proposition 3: Proposition 4. Let CR(χ) = {x∈[0,1]m:P(i,j)∈H2xij =d}, where H2defined in (3.1) either relates to a directed or undirected graph. Then there is a bijection between the extreme points of CR(χ)and the set of graphs with nnodes and density d. In some situations, nodes might be partitioned into gdifferent groups, γ1, . . . , γgand our interest might be to keep the within-group densities fixed when simulating random networks. Let Γ be the set of such groups and consider a function, θ:V ×V → Γ×Γ, associating to each pair of nodes the pair of groups they belong to. The density constraint between group γkand γh, 1 ≤k≤g,k≤h≤g, is P(i,j)∈H2:θ(i,j)=(γk,γh)xij =dkh, where dkh is a non-negative integer. Note that when k=hwe have a within group density constraint, otherwise a between group density constraint. This system of linear constraints verifies the hypotheses of Proposition 3. Proposition 5. Let CR(χ) = {x∈[0,1]m:P(i,j)∈H2:θ(i,j)=(γk,γh)xij =dkh,1≤k≤g, k ≤h≤ g}. Then there is a bijection between the extreme points of CR(χ)and the set of graphs with n nodes and within and between group densities dkh. 65 CHAPTER 3: Families of networks as systems of linear constrains A widely studied family of networks is the undirected networks with fixed degree sequence [170,171,173], whose associated set of AMs is χ={x∈ {0,1}m:Pi−1 j=1 xji +Pn j=i+1 xij = fi, i = 1 . . . n}, where fiis the degree of node i. Denoting these linear constraints as Fx=f, we see that each column of Fhas two +1, thus it does not verify the hypothesis of Proposition 3, and the constraints matrix is not TU. However, if we only add the constraints associated to the degrees of two particular nodes—with optionally the constraint associated to the number of edges (density)—the resulting matrix is TU by Proposition 3. The information we are conditioning in this case can be seen as a lower bound of the distance between the maximum and minimum degrees. Next Propostion summarizes this result. Proposition 6. Let i1, i2∈ V be two nodes with degrees fi1and fi2,e fi1and e fi2their degrees without considering the arcs (i1, i2)and (i2, i1), and dthe total number of edges in the network. Let J(k, h) = {j: 1 ≤j≤n, j 6=k, j 6=h}and CR(χ) = {x∈[0,1]m:P(i,j)∈H2xij = d;Pj∈J(i1,i2)xij =e fi, i =i1, i2}. Then, there is a bijection between the extreme points of CR(χ) and the set of graphs with nnodes, dedges and degree range greater than or equal to |fi1−fi2|. This same result holds if the density constraint P(i,j)∈H2xij =dis removed from CR(χ). The researcher might sometimes be interested in studying networks whose edges are associated to a categorical value (color), generally known under the name of edge-colored networks2. Let Cbe a given set of colors, |C| ≥ 2. Formally, an edge-colored graph is a tuple GC= (V, E, τ), where Vand Eare the sets of nodes and edges, respectively, and τ:E−→ C a function assigning a color to each edge. They are, in some sense, related to multicommodity networks. Edge-colored graphs can be modeled as |C| X c=1 xc ij ≤1 (i, j)∈ H2 xc ij, xc ji ∈ {0,1}(i, j)∈ H2, c = 1,...,|C| (3.3) where xc ij is 1 if an arc with color cfrom node ito node jexists, and 0 otherwise, and H2was defined in (3.1). The first set of constraints of (3.3) —multicommodity or generalized upper bounding constraints— complicates the structure of the constraints matrix for some structural properties, such as the total number of edges, the number of edges per color, and the lower bound of the degree range. In the case of edge-colored networks conditioned to having dcedges per color c, the constraints P(i,j)∈H2xc ij =dc, c = 1,...,|C| should be included. Proposition 7. By adding within-color densities constrains the coefficient matrix associated to system (3.3) becomes                 I I I I ...... I I F F ... F G G . . . G I                               x1 x2 . . . x|C| s1 s2 . . . s|C|               =          e e . . . e d e          .(3.4) 2The study of edge-colored networks (i.e., graphs with different types of edges) has given rise to important developments during the last few decades. From the point of view of applicability, problems arising in molecular biology are often modeled using edge-colored graphs [189], and the problem of interpersonal ties in social networks might be also modeled considering different types of arcs [109], as discussed in Chapter 1. 66 CHAPTER 3: Families of networks as systems of linear constrains where d∈Z|C| is the vector of within-color densities, F=eTand G=I. As matrix F0= [eI]T verifies the conditions of Proposition 3, the coefficient matrix of (3.4) is TU. Note that the slack of the inequality of P|C| c=1 xc ij ≤1 is obtained in (3.4) by defining an auxiliary color with no specified within-color density,caand an extended set of colors C∗= CS{ca}. The two models of networks described in propositions 5and 7can be combined to obtain another family of network which is also characterized by a TU system. Consider an edge-colored network where nodes are partitioned into gdifferent groups: γ1, . . . , γg. Since the connections within members of the same group might have different colors, our interest is to keep the withincolor and between-group (or within-group) densities fixed when simulating random networks. The number of c-color edges between group γkand γh, is P(i,j)∈H2:θ(i,j)=(γk,γh)xc ij =dc kh, where dc kh is a non-negative integer, for c∈ C, 1 ≤k≤g,k≤h≤g. Note that when k=hwe have a within group density constraint, otherwise a between group density constraint. This system of linear constraints verifies the hypotheses of Proposition 3. Proposition 8. Consider the edge-colored undirected graph conditioned to the within-color and within-group densities. Let CR(χ)be the subset of the m-dimensional unitary cube (that is x∈[0,1]m), verifying the following system X c∈C xc ij ≤1 (i, j)∈ H2 X θ(i,j)=(γk,γk) xc ij =dc kc∈ C,1≤k≤g X (i,j)∈H2 xc ij =dcc∈ C xc ij, xc ji ∈ {0,1}(i, j)∈ H2, c ∈ C (3.5) whose corresponding extended matrix form is equal to (3.4), except for the fact that d∈Z|C|(g+1) is now the vector of within-color and within-group densities and F∈ {0,1}g+1×mis a matrix which can be reduced by elementary row operations to contain a unique unitary element of the same sign per column. As F0= [F I]Tverifies the conditions of Proposition 3the described system is TU. Another case in which (3.4) is TU is obtained when the linking constraints are associated to the within-color degree of two nodes and within-color densities, as the family of network described in Proposition 6, so that F∈ {0,1}3×n(n−1)/2. On the contrary, when the total within-color degree of all the nodes are introduced, the resulting F∈Rn×n(n−1)/2do not verifies the properties described in Proposition 6, entailing the possible existence of fractional extreme points. 3.3 Specialized computational procedures 3.3.1 Sequential r-blocks algorithm Let χbe one of the families of networks associated to extreme points of polytopes of the form CR(χ) = {x∈[0,1]n0:Ax=b},A∈Rm0×n0. As we noted in Section 3.1, given a vector c∈Rn0, we can compute a network by solving minycTy, s.to y∈CR(χ). Similarly, if we have 67 CHAPTER 3: Families of networks as systems of linear constrains a given extreme point xkof CR(χ), we can obtain another extreme point xk+1 by fixing n0−t variables and optimizing, with a given objective cost vector c∈Rt, the remaining tvariables. Formally, if we partition the set of variables in rblocks of dimensions ti,i= 1, . . . , r, Pr i=1 ti=n0, and denote by xFi∈Rn0−tiand xCi∈Rtithe fixed and changing components of xassociated to block i, and by AFiand ACithe submatrices of Aassociated to xFiand xCi, the new extreme point is obtained by solving min cTy s.to ACiy=b−AFixFi 0≤y≤1 (3.6) for some random vector c∈Rn0−tiand i∈ {1, . . . , r}. Algorithm 4shows how to obtain ¯ krandom networks by iteratively applying this procedure. For small rvalues, the r-blocks algorithm generates less dependent networks at the expense of solving from scratch many linear optimization problems. In the extreme case, for r= 1, the cost vectors generated are noncorrelated. Algorithm 4 r-blocks 1: Let k= 0, x0be an initial extreme point; 2: repeat 3: Randomly select i∈ {1, . . . , r}and c∈Rti; 4: Let xk Fiand xk Cibe the vectors of fixed and changing components respectively; 5: Let Ak Fiand Ak Cibe the associated coefficient matrices; 6: Solve (3.6) and let y∗be its optimal solution; 7: xk+1 Ci=y∗,xk+1 Fi=xk Fi; 8: k:= k+ 1; 9: until k≥¯ k The r-blocks algorithms give rise to a Markov chain on the set of extreme points of the analyzed polytopes. 3.3.2 Sequential s-pivots algorithm Considering again the polytope CR(χ) = {x∈[0,1]n0:Ax=b}, where A∈Rm0×n0, m0< n0, we know from Linear Programming that there is an equivalence between extreme points and basic solutions, which can be written as xT= [xT B,xT N], xB∈Rm0,xN∈Rn0−m0, A= [B N], B∈Rm0×m0,N∈Rm0×(n0−m0), for a suitable permutation of the variables. Denoting by eqthe q-th column vector of the identity matrix, and by Bkand Nkthe basic and nonbasic submatrices of A, given a basic solution xkwe can obtain another one by moving along the simplex-like direction ∆k(q) = −B−1 kNkeq eq.(3.7) If the nonbasic variable qis 0, then the iteration performed is xk+1 =xk+λ∆k(q), for some non-negative step-length λ. On the other hand if xk Nq= 1 then we apply xk+1 =xk−λ∆k(q). It can be easily verified that in both cases Axk+1 =Axk=b, i.e., the new point satisfies the linear constraints. In addition, since the constraints matrices of Section 3.2 are TU, the steplengths λ—computed by a ratio test—are always either 0 or 1. It is thus possible to generate a 68 CHAPTER 3: Families of networks as systems of linear constrains new basic solution (i.e., a new random graph) by randomly selecting q∈ {1, . . . , n0−m0}and computing xk+1 =xk±λ∆k(q). A sample of ¯ knetworks can be obtained by iteratively applying this procedure. Figure 3.1: Random pivoting. Since the resulting sample may be claimed to be quite local, every siterations we can jump to an independent extreme point of the polytope by generating some random cost vector, and solving the associated LP. Algorithm 5summarizes this procedure. For more technical details about the s-pivot method, see Appendix D. Algorithm 5 s-pivots 1: Let x0be an extreme point computed with some initial cost vector c;k= 0; 2: repeat 3: if ((k+ 1) mod s)>0then 4: repeat 5: Randomly select q∈ {1, . . . , n0−m0}(without replacement); 6: Compute step-length λ∈ {0,1}associated with ±∆k(q); 7: until λ6= 0 8: Compute xk+1 =xk±λ∆k(q); update Bkand Nk;k=k+ 1; 9: else 10: Generate cost vector c∈Rn0; compute a new extreme point xk; 11: k:= k+ 1; 12: end if 13: until k≥¯ k Pros and cons of the s-pivots algorithm. The main idea behind the s-pivots algorithm is to construct a non-homogeneous Markov chain on the state space of extreme points of CR(χ), whose transaction probabilities are defined in accordance with Algorithm 5. As long as the probabilities of selecting q∈ {1, . . . , n0−m0}are non null, the irreducibility of the defined Markov chains can be proved, since all basic feasible solutions communicate with one another. Three drawbacks of this procedure are: (1) many iterations may be degenerate, i.e., λ= 0, so no new point is obtained; (2) the sample of networks obtained may be highly correlated if sis large because of its proximity in the feasible polytope; (3) only extreme points might 69 CHAPTER 3: Families of networks as systems of linear constrains be generated, so that the s-pivots method cannot deal with valued networks. On the other hand, this procedure may be very efficient, since it only requires simplex pivots to obtain a new network. 3.3.3 Sequential q-kernel algorithm The method introduced in this subsection allows dealing with linear systems not characterizing the convex hull of the required AM set. Considere a family of networks defined as the set of integer points of a polytope and its continuous relaxation CR(χ) = {x∈[0, u]n0:Ax=b}, where A∈Rm0×n0,b∈Rm0m0< n0, u∈N. As just mentioned, the s-pivots algorithm produces a partition of the columns of A= [B N], where B∈Rm0×m0,N∈Rm0×(n0−m0), for a suitable permutation of the variables. Here we propose a different bipartition of variables, making easier to deal with integer valued networks (i.e. u > 1), when the simplex-like direction forbids to explore integer points in the interior of the polytope. Let xT= [xQ,xQc], xQ∈Rq,xQc∈Rn0−qand A= [AQAQc], for a suitable permutation of the variables. Given a network xk∈χ, another network xk+1 ∈χcan be obtained by selecting q decision variables, indexed by the set Q⊂{1, . . . , n0}and finding a point in ϕQ={y∈ {0, u}q: AQy=b−AQcxk Qc}. Denoting by BQ∈Rr×lthe bases for the null space of AQ, the sequence xk+1 Q=xk Q+BQλ is a collection of networks belonging to the specified family, where λ∈Λ(xk Q, BQ) = {θ∈R`| −xk Q≤BQθ,u−xk Q≥BQθ,θ6= 0}and `is the dimension of the null space of AQ. When qis small the resulting sample may be claimed to be quite local, so that a possible jump to an independent solution might be considered by generating some random cost vector, and solving the associated LP, as discussed in Subsection 3.3.2 and illustrated in Algorithm 6. Algorithm 6 q-kernel. 1: Let x0be an extreme point computed with some initial cost vector c;k= 0; 2: repeat 3: if ((k+ 1) mod s)>0then 4: Randomly select Q ⊂ {1, . . . , n0}; 5: if Λ6=∅then 6: Randomly select a λ∈Λ(xk Q, BQ): 7: if Λ6= 0 then 8: Compute xk+1 Q=xk Q+eQBQλ; 9: k:= k+ 1; 10: end if 11: end if 12: else 13: Generate cost vector c∈Rn0and compute a new extreme point xk;k=k+ 1; 14: end if 15: until k≥¯ k The efficiency of this method relies on the availability of a closed–form expression for the basis of the null space of AQ. Specific cases where the selection of Qand the associated BQmight be efficiently performed are: •UNs conditioned to the density d; •UNs conditioned to the degree sequence f1, . . . , fn; 70 CHAPTER 3: Families of networks as systems of linear constrains •ECUNs conditioned to the density d; •ECUNs conditioned to have dcedges per color c∈ C; •ECUNs conditioned to have degree sequence fc 1, . . . , fc n, for each color c∈ C. Note that the values of the edges, i.e. whether binary, integer or fractional, only affect the definition of Λ(xk Q, BQ). In the rest of this subsection we are assuming integer valued edges, though this might be straightforwardly generalized to real valued edges. The number of decision variables will be denoted by m, which is equal to either n(n−1) or m=n(n−1)/2 for, respectively, directed and undirected networks. UNs conditioned to densities. Let χ={x∈ {0, u}m:P(i,j)∈H2xij =d}. For every x∈χ, consider three randomly selected nodes i, j, k ∈ V and let xT Q= [xij, xik, xjk]. We have xQ+BQλ=  xij xik xjk  + −1−1 1 0 0 1  λ,(3.8) where λ∈Z2must verify xij −u≤λ1+λ2≤xij −xik ≤λ1≤u−xik −xjk ≤λ2≤u−xjk (3.9) When u= 1 this approach gives rise to a combinatorial procedure, which allows to assign values in {−1,0,1}2to λfor each arrangement of the selected xij, xik,and xjk, as shown in the following table: xij xik xjk (λ1, λ2) 0 0 0 (0,0) 0 0 1 (0,0) (0,−1) (1,−1) 0 1 0 (0,0) (−1,0) (−1,1) 0 1 1 (0,0) (−1,0) (0,−1) (−1,1) 1 0 0 (0,0) (1,0) (0,1) 1 0 1 (0,0) (0,−1) (1,−1) (0,1) 1 1 0 (0,0) (0,1) (−1,1) (0,−1) 1 1 1 (0,0) When u > 1 an enumeration of the possible values of λis also possible, though much more tedious. UNs conditioned to the degree sequence. Let χ={x∈ {0, u}m:Pi−1 j=1 xji+Pn j=i+1 xij = fi, i = 1 . . . n}, where fiis the degree of node i. For every x∈χ, consider four randomly selected nodes i, j, k, h ∈ V and let xT Q= [xij, xik, xih, xjk, xjh, xkh]. We have xQ+BQλ=         xij xik xih xjk xjh xkh         +         0 1 1 0 −1−1 −1−1 1 0 0 1         λ,(3.10) where λ∈Z2must verify max{xih, xjk}−u≤λ1+λ2≤min{xih, xjk} −min{xik, xjh} ≤ λ1≤u−max{xik, xjh} −min{xij, xkh} ≤ λ2≤u−max{xij, xkh}. (3.11) 71 CHAPTER 3: Families of networks as systems of linear constrains binary indicator of a tie, for (i, j)∈ H2, associated to the n(n−1)/2 upper-diagonal components of the AM. A system of linear constraints characterizing the family of UNs with nnodes and fTtriads is (2.24b,2.24d). The final model considered in this section is the family of DNs with fixed number of mutual, asymmetric, and null connections, corresponding to a fractional-polytope with no integer solution in the interior. Holland and Leinhardt [118] initiated the study and application of uniform models for directed networks constrained to the dyad —group of two people— count, i.e., the number of mutual, asymmetric, and null dyads. Denoting by fMand fNthe number of, respectively, mutual and null dyads, and considering (i) binary variables xij, xji,(i, j)∈ H2associated to the n(n−1) non-diagonal components of the AM, and (ii) binary variables yM ij and yN ij ,(i, j)∈ H2—which are 1 if nodes iand jare, respectively, a mutual or null dyad, and 0 otherwise—, this problem can be formulated as xij ≥yM ij (i, j)∈ H2(3.21a) xji ≥yM ij (i, j)∈ H2(3.21b) yM ij ≥xij +xji −1 (i, j)∈ H2(3.21c) 1−xij ≥yN ij (i, j)∈ H2(3.21d) 1−xji ≥yN ij (i, j)∈ H2(3.21e) yN ij ≥1−(xij +xji) (i, j)∈ H2(3.21f) X (i,j)∈H2 yM ij =fM(3.21g) X (i,j)∈H2 yN ij =fN(3.21h) xij, xji, yM ij , yN ij ∈ {0,1}(i, j)∈ H2.(3.21i) From (3.21c), yM ij = 0 implies that xij and xji cannot be both equal to 1, whereas yM ij = 1 implies that both xij and xji must be equal to 1 (constraints (3.21a)–(3.21b)). Similarly, when yN ij = 0 one has that xij and xji cannot be both equal to 0 (constraint (3.21f)), whereas, when yN ij = 1, both xij and xji must be equal to 0 (constraints (3.21d)–(3.21e)). Thus, (3.21g) and (3.21h) force the number of mutual dyads and null dyads to be fMand fN, respectively. Consequently, n(n−1)/2−P(i,j)∈H2(yM ij +yN ij ) represents the number of asymmetric dyads. 78 Chapter 4 Specialized interior point methodologies 4.1 Purposes and preliminary overview The previous chapter dealt with the characterization of several classes of networks by systems of linear constraints, enabling the researcher to apply integer and linear programming techniques to generate feasible points in specified polytopes. We showed that the coefficient matrices associated to several of those systems are TU, establishing a bijective association between given families of networks and the sets of extreme points of algebraically defined polytopes. The three numerical procedures for network generation presented in Section 3.3 – the rblocks, the s-pivots and the q-kernel – require the solution of LPs which might be computationally expensive for large number of nodes. Although state-of-the-art implementations of the simplex method and polynomial time interior point algorithms can be used, it is worth to exploit the problem structure whenever possible [70]. We argued in the previous chapter that under a proper row and column permutation, most of the constraints matrices of Section 3.2 exhibit a primal block-angular structure such as (3.19). This chapter is of particular importance in the methodological setting of this thesis, as it embraces the overall collection of algebraical techniques used to generate random networks with specified structural properties. As in the previous chapters, we denote the vector of variables associated to the components of the AM with the boldface character xT= [x12, x13, . . . , x1n, x23, x24, . . . , x2n, . . . , x45, . . . , x(n−1)n, x21, x31, x32, x41, . . . , xn(n−1)], corresponding to the lexicographic ordering of the rows and columns of the upper triangular part of the AM. 4.2 Specialized interior point methods for some classes of primalblock angular problems The amount of computation required to solve a LP is related to its constraints structure, apart from its size. It can be shown that, under a proper row and column permutation, most of LPs associated to the families of networks of Section 3.2 can be reformulated as a primal 79 CHAPTER 4: Specialized interior point methodologies block-angular problem of the form min k X h=0 (ch)Txh(4.1a) subject to        N1 N2 ... Nk L1L2. . . LkI               x1 x2 . . . xk x0        =       b1 b2 . . . bk b0        (4.1b) 0≤xh≤uhh= 0, . . . , k. (4.1c) Matrices Nh∈Rmh×nhand Lh∈Rl×nh,h= 1, . . . , k, respectively define the block-diagonal and linking constraints, kbeing the number of blocks. Vectors xh∈Rnh, h = 1, . . . , k, are the variables for each block. x0∈Rlare the slacks of the linking constraints. bh∈Rmh, h = 1, . . . , k, is the right-hand side vector for each block of constraints, whereas b0∈Rlis for the linking constraints. The upper bounds for each group of variables are defined by uh, h = 0, . . . , k; in our problems uh=e, i.e., a vector of ones. As already mentioned in Chapter 1, most of the solution strategies to deal with problems in the form of (4.1) can be broadly classified into four main categories: simplex-based methods [57, 159], decomposition methods [11,90], approximation methods [27], and interior point methods [11,50]. Here we are taking into account the specialized interior point method, first proposed by Castro [50,52,53]. (For more details about prima-dual interior point methods, see Appendix B). Briefly, the algorithm here considered requires the solution at each interior point iteration of the system AΘAT∆y=          N1Θ1NT 1N1Θ1LT 1 .... . . NkΘkNT kNkΘkLT k L1Θ1NT 1. . . LkΘkNT kΘ0+Pk h=1 LhΘhLT h          ∆y =B C CTD∆y1 ∆y2=g, (4.2) where ∆yis the direction of movement for the dual variables, Θh= ((U−Xh)−1Wh+X−1 hZh)−1 h= 0, . . . , k, are diagonal matrices, and gis some right-hand side. By eliminating ∆y1from the first group of equations of (4.2), we obtain (D−CTB−1C)∆y2=g1(4.3a) B∆y1=g2,(4.3b) for a proper partition of the right-hand side into g1and g2. One of the most efficient interior point methods for this class of problems solves the normal equations by a combination of k Cholesky factorizations, for the system involving B, and preconditioned conjugate gradient for system involving (D−CTB−1C) –the Schur complement of (4.2) with dimension l, the number 80 CHAPTER 4: Specialized interior point methodologies of linking constraints–1. Note that the inverse of (D−CTB−1C) might be written as an infinite power series: (D−CTB−1C)−1=  ∞ X j=0 (D−1(CTB−1C))j D−1.(4.4) A preconditioner is thus obtained by truncating the infinite power series (4.4) at some term. The more the terms included, the better the preconditioner will be, at the expense of increasing the execution time of each preconditioned conjugate gradient iteration. If we only include the first term of the infinite power series (4.4) the resulting preconditioner will be D−1and if we include the first and second term the resulting preconditioner will be (I+D−1(CTB−1C))D−1. Although the expected performance for a general primal block-angular matrix is problem dependent, the effectiveness of the preconditioner obtained by by truncating the infinite power series (4.4) is governed by the spectral radius of (D−1(CTB−1C)) and the structure of matrix D, as each preconditioner conjugated gradient iteration entails the solution of a system with matrix D. Recently a splitting preconditioner based on LU factorization was introduced [28]. Given an LP in standard form with coefficient (full rank) matrix A∈Rm0×n0and right-hand term b∈Rm0, where m0< n0, the splitting preconditioner for normal equations can be obtained as follows. Consider a partition of the columns of Ainto two groups of basic and non basic columns, forming the basic matrix ABand AN, respectively. Applying the same partition to Θ, the normal equations matrix can be rewritten as AΘAT=ABΘBAT B+ANΘNAT N(4.5) The symmetric application of the preconditioner Θ−1/2 BA−1 Bto matrix (AΘAT) gives: (Θ−1/2 BA−1 B)(AΘAT)(Θ−1/2 BA−1 B)T= Θ−1/2 BA−1 B(ABΘBAT B+ANΘNAT N)A−T BΘ−1/2 B =I+ (Θ−1/2 BA−1 BANΘ1/2 N)(Θ−1/2 BA−1 BANΘ1/2 N)T.(4.6) Sufficiently close to an optimal solution, with a suitable choice of the columns of AB, the diagonal entries of Θ−1 Band ΘNare very small and (Θ−1/2 BB−1ANΘ−1/2 N) approaches the zero matrix. To find matrix AB, the first m0linearly independent columns of AΘ with smallest 1-norm are selected. The main appeal of this class of preconditioners is that they work better near a solution of the linear programming problem. This is a very welcome feature since the linear system is known to be very ill-conditioned close to the optimizer, making difficult its solution by iterative methods. Thus, an hybrid preconditioner combines the power series preconditioner (either D−1 or (I+D−1(CTB−1C))D−1) in the initial primal-dual iterations and switches to the splitting preconditioner Θ−1/2 BA−1 Bwhen the former becomes inefficient [28]. This algorithm has been recently implemented in a software package, called BlockIP [54], that will be used for the computational results of this chapter. 1The preconditioned conjugate gradient algorithm is a suitable method for solving linear systems with symmetric and positive-definite matrix. It can be applied to sparse systems that are too large to be handled by direct methods such as the Cholesky decomposition. Preconditioning is simply a manipulation of the original system in a way that improves the spectral radius of its coefficient matrix, and hence its rate of convergence. The preconditioner itself is nothing more than a matrix Msuch that M−1Ahas a better spectral radius. The obvious best choice is M=A. 81 CHAPTER 4: Specialized interior point methodologies 4.3 A new preconditioner for block-angular problems The main source of difficulty in solving a primal block-angular problem of the form (4.1) is the presence of linearly independent linking constraints, L1x1+L2x2+. . . +Lkxk≤b0. Consider the lucky case where Ais such that for every i= 1 . . . k each row vector of Libelong to the column space of NT i(linearly linking constraints). By the definition of C,B,Cand Din (4.2), we may write CTB−1C= k X i=1 LiΘiNT i(NiΘiNT i)−1NiΘiLT i.(4.7) For every i= 1 . . . k we have that Pi= Θ1/2 iNT i(NiΘiNT i)−1NiΘ1/2 iis the projection operator onto R(Θ1/2 iNT i), the column space of Θ1/2 iNT i. If each column vector of Θ1/2 iLT ibelong to R(Θ1/2 iNT i) (which is equivalent to say that the row vectors of Limight be written as a linear combination of the row vectors of Ni) then PiΘ1/2 iLT i= Θ1/2 iLT iand D−CTB−1C=D− k X i=1 LiΘ1/2 iPiΘ1/2 iLT i =D− k X i=1 LiΘiLT i= Θ0. (4.8) On the contrary, if each column vectors of Θ1/2 iLT ibelong to N(NiΘ1/2 i), the null space of NiΘ1/2 i, then PiΘ1/2 iLT i= 0 and D−CTB−1C=D− k X i=1 LiΘ1/2 iPiΘ1/2 iLT i=D(4.9) Thus, we see that Θ0and Dare the results of D−CTB−1Cin the two opposite cases when, for i= 1 . . . k, each column vector of Θ1/2 iLT ibelong to either R(Θ1/2 iNT i) or N(NiΘ1/2 i) respectively2. 4.3.1 Geometrical and spectral properties The goodness of the approximation of Θ−1 0and D−1to (D−CTB−1C)−1might be measured by the principal angles between the range of Θ1/2 iNT iand the range of Θ1/2 iLT i, for i= 1, . . . , k – as Θichanges in each primal-dual iteration, the angles between the subspaces also changes resulting in a dynamical approximation of Θ−1 0and D−1to (D−CTB−1C)−1–. The principal angles provide information about the relative position of two subspaces of an inner product space. Consider the subspaces LΘand NΘof an inner product space RΘ, with dim LΘ= dim NΘ=l. The principal angles between LΘand NΘ, 0 ≤γ1≤. . . ≤γl≤π/2 are given by [25] cos(γj) = max hu·vi(4.10) subject to ||u|| = 1,||v|| = 1 (4.11) u∈ LΘ, v ∈ NΘ(4.12) hvk·vi= 0,huk·ui= 0, k = 1 . . . j −1 (4.13) 2Note that matrix Piis the identity operator of the subspace generated by the columns of Θ1/2 iNT i. 82 CHAPTER 4: Specialized interior point methodologies The vectors {u1, . . . , ul}and {v1, . . . , vl}are called principal vectors, associated to principal angles {γ1, . . . , γl}. The principal angles between subspaces can be graphically depicted as in Figure 4.1. They can be computed by the singular value decomposition. Figure 4.1: Angles between subspaces. Theorem 3 (Bjorck and Golub [25]).Let the columns of matrices QLand QNform orthonormal bases for the subspaces Land N, correspondingly. Principal vectors euand evmust verify eu=QT Nu and ev=QLv, where uand vare left and right singular vectors of QNQT L, associated to the singular value cos (γ(eu, ev)), that is to say, (QNQT L)v= cos (γ(eu, ev)) u. Using this singular value decomposition based equivalence, Proposition 9below helps to understand how the goodness of the approximation of Θ−1 0and D−1to (D−CTB−1C)−1 dynamically change along the interior point iterations and how the principal angles between Liand Niaffect the principal angles between LΘiand NΘi. (For more details about principal angles between subspaces and their relation with the singular value decomposition, see [25]) Proposition 9. Consider the subspaces L ⊆ Rnand N ⊆ Rn, with corresponding orthogonal bases QLand QN, and their image sets LΘ⊆Rnand NΘ⊆Rnunder the linear transformation Θ1/2, where Θis a positive diagonal matrix. (QLand QNare respectively obtained from LT and NTby QR decomposition.) Let γ(eu, ev)be a principal angle between Land N, associated to principal vectors euand ev, and γ(Θ1/2eu, Θ1/2ev), the angle between the transformed vectors Θ1/2eu∈ NΘand Θ1/2ev∈ LΘ. The following inequalies must hold: 1 cos (γ(eu, ev)) min %min Θmax ,%min Θmin ≤cos γ(Θ1/2eu, Θ1/2ev),(4.14a) 1 cos (γ(eu, ev)) max %max Θmax ,%max Θmin ≥cos γ(Θ1/2eu, Θ1/2ev),(4.14b) where Θmin and Θmax are the least and greatest component of matrix Θand %min and %max are the smallest and greatest eigenvalues of QLQT NQNΘQT L. Proof. By the definition of cosine we have cos (γ(eu, ev)) ≥euTev ||eu|| ||ev|| (4.15a) 83 CHAPTER 4: Specialized interior point methodologies and cos γ(Θ1/2eu, Θ1/2ev)≥euTΘev ||Θ1/2eu|| ||Θ1/2ev|| (4.15b) From Theorem 3we know that principal vectors euand evmust verify eu=QT Nuand ev=QT Lv, where uand vare left and right singular vectors of QNQT L, associated to the singular value cos (γ(eu, ev)), that is to say, (QNQT L)v= cos (γ(eu, ev)) u. (For more details about principal angles between subspaces and their relation with the singular value decomposition, see [25]) Applying this property we find euTΘev= (QT Nu)TΘQT Lv =uTQNΘQT Lv =((QNQT L)v)TQNΘQT Lv cos (γ(eu, ev)) =vTQLQT NQNΘQT Lv cos (γ(eu, ev)) (4.16a) Let %min and %max be the smallest and greatest eigenvalues of QLQT NQNΘQT L. We have euTΘev≥1 cos (γ(eu, ev)) min ||v||2=1 vTQLQT NQNΘQT Lv=%min cos (γ(eu, ev)) (4.16b) and euTΘev≤1 cos (γ(eu, ev)) max ||v||2=1 vTQLQT NQNΘQT Lv=%max cos (γ(eu, ev)) (4.16c) The result is that cos γ(Θ1/2eu, Θ1/2ev)≥%min cos (γ(eu, ev)) ||Θ1/2eu|| ||Θ1/2ev|| (4.16d) and cos γ(Θ1/2eu, Θ1/2ev)≤%max cos (γ(eu, ev)) ||Θ1/2eu|| ||Θ1/2ev|| (4.16e) Observing that ||eu|| =||eu|| = 1, the proof can then be completed by few algebraical manipulations: 1 cos (γ(eu, ev)) min %min Θmax ,%min Θmin ≤cos γ(Θ1/2eu, Θ1/2ev),(4.16f) 1 cos (γ(eu, ev)) max %max Θmax ,%max Θmin ≥cos γ(Θ1/2eu, Θ1/2ev).(4.16g) An important consequence of Proposition 9is that we have no information about the principal angles in the final iterations, as Θmin/Θmax approaches the zero when the iterative process get close to the optimal solution. However, Proposition 9helps us understand how the goodness of the approximation of Θ−1 0and D−1to (D−CTB−1C)−1dynamically change along the interior point iterations. A downside of the use of principal angles between subspaces for this purpose appears when R(Θ1/2 iLT i) = Rni, for i= 1, . . . , k. In such case the principal angles are always zeros, regardless 84 CHAPTER 4: Specialized interior point methodologies of what R(Θ1/2 iNT i) is. This happens in multi-commodity network flow problems and edgecolored network problems, where Li=I, for i= 1, . . . , k, as shown in Section 4.6. The goodness of the dynamical approximation of Θ−1 0and D−1to (D−CTB−1C)−1along the interior point iterations is related to the changes in spectral radius of matrix D−1(CTB−1C) – which is always in [0,1) [50, Theorem 1] –. Since Dconstitute the first term of the power series (4.4), the farther away from 1 is the spectral radius of D−1(CTB−1C) the better is the quality of the approximation of the first few terms of (4.4), obtained by truncation with h= 0 or h= 1. Although the particular behavior of the spectral radius value is problem dependent, in general, it comes closer to 1 as we approach the optimal solution, because of the ill-conditioning of the Θ matrix. Next result provides clear relationship between the spectral radius of D−1(CTB−1C) and the projection operators in the subspaces LΘand NΘ. Proposition 10. Let λbe an arbitrary eigenvalue of (D−1(CTB−1C)). If each column vector of Θ1/2 iLT ibelong to R(Θ1/2 iNT i)then λ= rTPk i=1 LiΘiLT ir rTDr ,(4.17) where ris the corresponding eigenvector associated to λ. On the contrary, if each column vectors of Θ1/2 iLT ibelong to N(NiΘ1/2 i), the null space of NiΘ1/2 i, then λ= 0.(4.18) Proof. Eigenvalue λof (D−1(CTB−1C)) satisfies (CTB−1C)r=λDr for some eigenvector r. From the definition of C, B, D in (4.2) we have k X i=1 LiΘiNT iNiΘiNT i−1NiΘiLT i!r=λDr, m (1 −λ)Dr = Θ0+ k X i=1 LiΘiLT i!r− k X i=1 LiΘiNT iNiΘiNT i−1NiΘiLT i!r, ⇓ (1 −λ) = rTΘ0r+rT k X i=1 LiΘ1/2 i(I−Pi)Θ1/2 iLT i!r rTDr .(4.19) From this expression and applying the definition of WRand WN WN= k X i=1 LiΘ1/2 i(I−Pi)Θ1/2 iLT iand WR= k X i=1 LiΘ1/2 i(Pi)Θ1/2 iLT i,(4.20) we find the following two identities: λ= rTPk i=1 LiΘiLT ir−rTWNr rTDr and λ=rTWRr rTDr .(4.21) that is to say, the matrices associated to the inner products between the row vectors of LiΘ1/2 i and their projections into R(Θ1/2 iNT i) and N(NiΘ1/2 i) respectively. It turns out that rTWNr= 0 85 CHAPTER 4: Specialized interior point methodologies when each column vector of Θ1/2 iLT ibelongs to R(Θ1/2 iNT i) and rTWRr= 0 when each column vector of Θ1/2 iLT ibelongs to N(NiΘ1/2 i). The proof is complete. Note that a clear lesson from Proposition 10 is that the spectral radius λmight be small even in the case of almost collinearity between the row vectors of LiΘ1/2 iand their projections into R(Θ1/2 iNT i), when rTΘ0rrT(Pk i=1 LiΘiLT i)r. This is consistent with following results from Castro and Cuesta [55]. Theorem 4 (Castro and Cuesta [55]).Let Abe the constraint matrix of problem (4.1), with full row rank matrices Ni∈Rmi×nii= 1, . . . , k, and at least one full row rank matrix Li∈Rl×ni, i= 1, . . . , k. Then, the spectral radius ρof D−1(CTB−1C)is bounded by 0≤ρ≤max j∈{1,...,l} γj uj vj2Θ0j+γj <1,(4.22) where uis the eigenvector (or one of the eigenvectors) of D−1(CTB−1C)for ρ;γj,j= 1, . . . , l, and V= [V1. . . Vl], are respectively the eigenvalues and matrix of columnwise eigenvectors of Pk i=1 LiΘiLiT;v=VTu; and, abusing of notation, we assume that for vj= 0,(uj/vj)2= +∞. 4.4 Numerical validation Consider two full rank matrices N∈Rm×nand Λ ∈Rl×mand let L=λN. The rows of L∈Rl×nare linear combinations of the rows of Nand the principal angle between the subspaces generated by LTand NTis zero. Rotate each vector in R(LT) around the ith and jth coordinate axes by an angle α, pre-multiplying Lby the block matrix Rij(α) =                  1··· 0 0 ··· 0 0 ··· 0 . . ..... . . 0 ··· 0. . ..... . . 0··· cos(α) 0 ··· 0−sin(α)··· 0 0··· 0 1 ··· 0 0 ··· 0 . . ..... . .. . .··· . . .. . ..... . . 0··· 0 0 ··· 1 0 ··· 0 0··· −sin(α) 0 ··· 0 cos(α)··· 0 . . ..... . .. . .··· . . .. . ..... . . 0··· 0 0 ··· 0 0 ··· 1                  (4.23) If we consider H={(i, j) : 1 ≤i≤n−1, i < j ≤n}, the set of all possible coordinate axes, the n(n−1)/2 distinct Rij(α) rotation matrices may be concatenated in some order to produce a new rotation matrix such as Q(i,j)∈ρRij(α), where ρ⊆H3. We are interested in showing the performance of the PCG method in each interior point iteration when changing the geometrical relations between the diagonal block matrices and the linking constraint matrices, in accordance with specified rotations. To do so we randomly draw Ni∈Rm×nand Λi∈Rl×mfrom a uniform probability distribution. Then ρ⊆His also 3Rotations in three dimensions (and higher) do not commute, so that different orderings give different rotations. Thus, ρ⊆His an ordered set and the number of ways it might be selected is |H|!/(|H| − |ρ|)!, where |H|= n(n−1)/2 and |ρ|=r. 86 CHAPTER 4: Specialized interior point methodologies randomly selected to compute the rotation matrix (Q(i,j)∈ρRij(α)). Finally, obtain the linking constraint matrices Li= ΛiNiQij Rij(α). We take into account the number r=|ρ|of concatenated rotation matrices and the angle of rotation αto evaluate the associated changes in the PCG iterations using Θ−1 0and D−1as preconditioners. The computational results shown in tables 4.1 and 4.2 report the CPU time associated to the BlockIP algorithm (using D−1and Θ−1 0preconditioner) and the CPLEX available LP methods (Primal Simplex, Dual Simplex, Barrier Method). The first column show the number rof rotation matrices multiplied to obtain the linking constrain matrix LQij Rij(α), whereas the second columns reports the angle αof each rotation. The remaining columns of tables 4.1 and 4.2 give the CPU time and number of iterations (in parentheses) for the three algorithms tested. α r CPLEX 12.5 BlockIP Primal Simplex Dual Simplex Barrier Θ−1 0D−1 π/14 2 0.93 (7107) 1.23 (2190) 1.30 (19) 1.00 (26) 1.70 (26) π/10 4 2.25 (6210) 1.81 (3171) 1.34 (20) 1.31 (32) 1.34 (31) π/6 6 1.37 (8555) 1.89 (2869) 1.28 (19) 2.20 (49) 2.59 (55) π/2 8 3.13 (10158) 1.57 (2326) 1.35 (20) 2.00 (39) 2.10 (47) Table 4.1: CPU time of BlockIP (using D−1and Θ−1 0preconditioner) and CPLEX available LP methods (Primal Simplex, Dual Simplex, Barrier Method). The LPs have l= 100 linking constraints and k= 100 equal diagonal block matrices N∈R10×50. α r CPLEX 12.5 BlockIP Primal Simplex Dual Simplex Barrier Θ−1 0D−1 π/14 2 913.95 (380190) 193.27 (50774) 323.44 (25) 233.93 (31) 615.43 (77) π/10 4 1896.22 (413821) 295.37 (57418) 341.19 (25) 365.56 (44) 557.93 (61) π/6 6 >3000.00 (477039) 359.95 (62830) 656.23 (51) 608.34 (60) 559.89 (63) π/2 8 >3000.00 (453654) 315.85 (55586) 364.53 (28) 919.33 (79) 697.96 (75) Table 4.2: CPU time of BlockIP (using D−1and Θ−1 0preconditioner) and CPLEX available LP methods (Primal Simplex, Dual Simplex, Barrier Method). The LPs have l= 200 linking constraints and k= 1000 equal diagonal block matrices N∈R20×200. It can be seen from tables 4.1 and 4.2 that the CPU time associated to the dual simplex and barrier method are not correlated with the angles between the rows of Land the ones of N. On the contrary, the computational performances of the specialized interior point method strongly relies on those angles for both small instances, as in Table 4.1, and big instances, as in Table 4.2. What seems to be surprising is that the primal simplex algorithm resulted to be affected by the angles. Tables 4.3 and 4.4 report the average PCG iteration for each IP iteration associated to D−1 and Θ−1 0preconditioners, for the same LPs of tables 4.1 and 4.2. 87 CHAPTER 4: Specialized interior point methodologies The CPU times shown in Tables 4.11 seem to agree with our discussion concerning the high degeneracy of basic solutions, as suggested by the poor performance of the primal simplex. When the number of the kn(n−1)/2 decision variables increases the dual simplex become highly inefficient, whereas the CPU times of the two interior point methods grow slowly. When LP associated edge-colored network with fixed within color density and between color degree sequence are taken into account, the BlockIP results faster than the CPLEX available LP methods even for small problem sizes, as shown in Table 4.10. Instead, when Li=Iand Ni=eT, for i= 1, . . . , k, the dual simplex appears surprisedly faster than the others. The information of the average principal angles between the subspaces generated by the columns of LTand NT, for each instance of the analyzed LPs associated to the edge-colored networks conditioned to the within-color densities, are reported in Table 4.12. naverage principal angles Table 4.11 Table 4.10 50 0 0 150 0 0 450 0 0 Table 4.12: Principal angles between the subspaces generated by each column of LTand NT, for different sizes of edge-colored networks in tables 4.11 and 4.10. As previously mentioned in Subsection 4.3.1, a downside of the use of principal angles between R(Θ1/2 iLT i) and R(Θ1/2 iNT i) to measure the goodness of the approximation of Θ−1 0and D−1to (D−CTB−1C)−1appears when R(Θ1/2 iLT i) = Rni, for i= 1, . . . , k. In such case the principal angles are always zeros, as in the case of the edge-colored network problems with fixed within color densities shown in Table 4.12. Hereby a much better measure of the goodness of the two preconditioners are the average principal angles between R(Θ1/2 iNT i) and R(Θ1/2 i`T ij), where `ij is the jth row of matrix Li. naverage principal angles Table 4.11 Table 4.10 50 1.5422 1.3694 150 1.5613 1.4550 450 1.5677 1.5041 Table 4.13: Average principal angles between the subspaces generated by each column of LTand all the columns of NT, for different sizes of of edge-colored networks in tables 4.11 and 4.10. Table 4.13 shown that the average principal angles between R(NT i) and R(`T ij) are very close to orthogonality and this fact is quite coherent with the computational results of tables 4.7 and 4.8, where D−1results as a much better preconditioner. Note that the advantages of looking at the principal angles between R(NT i) and R(`T ij) is that the singular value of a column vector is the norm of the vector itself and the unique source of computational effort is to obtain an orthonormal bases for R(NT i). 94 Chapter 5 Efficiency and correctness of network simulation 5.1 Purposes and preliminary overview Chapters 3and 5considered algebraic characterizations of different families of networks by means of systems of linear constraints and introduced a specialized interior-point approach to deal with this class of problems. Numerical results supported the suitability of these computational procedures for our specific application, but no insight about the statistical properties of those randomized methods has been mentioned so far. This chapter tries to fill this gap by focusing on two prominent random models which have been particularly relevant in the analysis of social networks: i) conditionally uniform random models, ii) conditionally exponential random models. Sufficient conditions for the mathematical programming based approaches of chapters 3and 5to fit the probabilistic properties of these ensembles are hereby taken into account. To set a brief introduction to this topics we should place ourself in the context of networks whose vertices or edges are generated by some random process, so that different random mechanisms of vertex and edge selection leads to different probability distributions on networks. From a statistical point of view, both binary and valued networks are random matrices with complicated patterns of dependence. Whereas statistical modeling is generally based on assumptions of independence, random networks make difficult the development of statistical models for these high dimensional systems with complicated dependence patterns. The study of random graphs begins with the seminal work of P. Erd¨os and A. Rainyi [86], who considered a fixed set of nodes and an independent and equal probability of observing edges among them. There are two closely related variants of the Erd¨os-Rainyi model: •the G(n, p)model, where a network is constructed by connecting nodes randomly with independent probability p; •the G(n, m)model, where a network is chosen uniformly at random from the collection of all graphs with nnodes and medges. Both models possess the considerable advantage of being exactly solvable for many of their average properties: clustering coefficient, average path length, giant component, etc. (For more details about network properties, see Bollobas [29], and Wasserman and Faust [224].) In other 95 CHAPTER 5: Efficiency and correctness of network simulation words, the expectation of many structural properties of networks generated by the Erd¨os-Rainyi processes is analytically obtainable. The G(n, m) model poorly fits the most relevant structural properties of real-world networks. This fact has been carefully analyzed by Newman [171], who reported theoretical and empirical results for several observed networks, as shown in Table 5.1. The disagreement between the clustering coefficient of the real-world networks and the one expected under the Erd¨os–Rainyi model is quite evident for all the analyzed data sets. clustering coefficient network measured random graph Internet 0.240 0.000600 World-wide web 0.110 0.000230 Power grid 0.080 0.000540 Biology collaborations 0.081 0.000010 Math collaborations 0.150 0.000015 Actor collaborations 0.200 0.000250 Company directors 0.590 0.001900 Word co-occurrence 0.440 0.000150 Neural network 0.280 0.049000 Metabolic network 0.590 0.090000 Food web 0.220 0.065000 Table 5.1: Clustering coefficient of observed networks reported by Newman [171]. Based on this lack of fit, other conditionally uniform random model might be taken into account, before switching the analysis to non-uniform models. Nonetheless, when the conditioning information is not necessarily the number of edges but whatever arbitrary network feature, very few analytical results are available and simulation is in order to obtain empirical distributions of average network properties. This difficulty in obtaining closed-form solutions of statistical properties of interest represents indeed the main motivation of the research proposed in chapters 3and 5and will be further handled in this chapter. Conditionally uniform models have been studied in the second half of the twenty century [216] [222] [194], but seems to have fallen into disuse by the last few years. We intend to provide a general methodological framework to generate networks with constraints, representing structural features the researcher wishes to control for. 5.2 Conditionally uniform random networks Conditional uniform models can be seen as a generalization of the G(n, m) model, when the conditioning information is not necessarily the number of edges but whatever other arbitrary network property. Unfortunately, in this case we have very few analytical results and simulation is required to obtain empirical distributions of their average properties. Suppose we want to check whether the observed average path length is ordinary for the type of network we would like to consider, for example networks with fixed structural features, such as density, degree sequence, number of mutual links, etc. Then we might generate a bunch of networks uniformly at random from all networks having the same specified structural features and count how often an average path length at least as extreme as ours occurs. In practice these 96 CHAPTER 5: Efficiency and correctness of network simulation types of tests are the most used tests in network analysis. They are called conditional uniform graph tests. Drawing uniformly at random from complex networks is not as easy as it sounds, as numerical procedures may not explore the whole sample space with the same probability. Although other Operations Research tools have been used in the context of social networks [14], as far as we know, this work is the first attempt to use integer optimization for the generation of several classes of conditional random graphs. Previous approaches, developed within the fields of mathematical and computational sociology, were ad hoc procedures for some particular types of networks, in general difficult to generalize and not very efficient. Holland and Leinhardt [118] first introduced an extension of G(n, m), conditioning the set of directed networks to the dyad counts (i.e., group of two nodes/people). Shortly afterward Karlberg [134] compared the transitivity of observed networks to the one obtained under the uniform distribution of all networks conditioned to the node degrees, allowing to find out whether there is a tendency toward transitivity in the observed networks. Likewise, the distribution of all networks conditioned to the nodes in- and out-degree have difficult combinatorial properties, as its analytical study involves binary matrices with fixed marginal rows and marginal columns. In this respect, some combinatorial results have been obtained by Ryser [202], who derived necessary and sufficient conditions for two vectors of nonnegative integers to constitute the row sums and column sums of some zero-one matrix. On the other hand, ways to simulate uniform random networks with given degree distribution were developed by Snijders [216], Rao [194], Roberts [203], and Verhelst [222]. Snijders [216] considered a complete order ≺in the n×ncells of the AM. The vector of entries of all cells preceding a given cell (i, j) is called the initial segment of that cell and has the form (xi0j0: (i0, j0)<(i, j)). When considering a given initial segment of a given cell (i, j), either the element Xij is completely determined by the initial segment, or both values 0 and 1 are possible; in these two cases, respectively, the cell is either determined or free. The enumeration tree for the family of digraphs with 4 nodes and uniform in-degree and out-degree distribution equal to 1, as reported by Snijders [216], is shown below in Figure 5.1. Figure 5.1: Enumeration tree The cells of the AM are ordered from top to bottom and from right to left, while the 97 CHAPTER 5: Efficiency and correctness of network simulation diagonal cells are omitted; thus, the ordering is (1,4) ≺(1,3) ≺(1,2) ≺(2,4) ≺. . . ≺(4,1). A lot of computation is necessary to determine whether the next cell is determined or free, relative to the initial segment. Moreover, given that enumeration is intractable for larger AM, Snijders [216] proposed a Monte Carlo simulation approach to simulate independent rows such that for each row, its corresponding number of ones is places at random in the admissible cells. An implementation of these methods written in Turbo Pascal, called ZO, is available on-line (http://stat.gamma.rug.nl/stocnet/). Few years later Rao [194] proposed a Markov Chain Monte Carlo approach to generate AM with given in-degrees and out-degrees. His procedure is based on the iterative selection of two rows i1and i2and two columns j1and j2of the AM. A random rectangle Sdefined by the intersection of these rows and columns. Let Xtand Stbe respectively the AM and the selected random rectangle at iteration t. Then the movement described in (5.1) is applied. if St=1 0 0 1 then replace it with 0 1 1 0 (5.1a) if St=0 1 1 0 then replace it with 1 0 0 1 (5.1b) otherwise Xt+1 =Xt(5.1c) In most cases, it will be possible to pass from any feasible network to another by a sequence of such movements on different submatrices S. However, as proved by Rao [194], updating rectangles in this manner is not sufficient to ensure that the Markov chain is irreducible. He showed that this problem can be bypassed considering at each iteration t, also submatrices with identical row and column indices, call them Ct, and applying the following movement: if Ct= −1 0 0−1 1 0 − then replace it with  −0 1 1−0 0 1 − (5.2a) if Ct= −0 1 1−0 0 1 − then replace it with  −1 0 0−1 1 0 − (5.2b) otherwise Xt+1 =Xt(5.2c) Note that in any directed network, the former movements keep untouched both the degrees of nodes and the number of mutual choices. That is why this procedure has been used to simulate both the uniform random network conditional to the degree sequence and the uniform random network conditioned to the number of mutual connections. However, as Robert [203] showed, a particular disadvantage of this procedure is the particularly high rate of rejections. In the case of undirected networks an easy way to generate instances with fixed degree sequence is as follows: 1. give to each node ia number diof edge-ends emerging from it; 2. choose pairs of these edge-ends belonging to different nodes uniformly at random and join them together 3. when all edge-ends have been used up, the resulting network is a random member of the ensemble of network with the desired degree sequence. 98 CHAPTER 5: Efficiency and correctness of network simulation As already mentioned in the previous chapter, not every sequence of positive integers is a degree sequence of an undirected network. Let f1, . . . , fn, be a sequence of nnon-negative integers verifying Pk i=1 fi≤k(k−1) + Pn i=k+1 min(fi, k), for all k= 1, . . . , n. We say that f1, . . . , fnis a degree sequence of a simple graph with nnodes if it represents the row (or column) sums of the associated adjacency matrix. (For more details see Erdos [86].) The particular importance of the uniform random network model conditioned to the degree sequence is mainly due to the fact that the expectation of the clustering coefficient and the characteristic path length are analytically solvable for uniform undirected network with given degree distribution can be obtained without any computational effort. (For more details about network properties, such as the clustering coefficient and the characteristic path length, see Bollobas [29] and Wasserman and Faust [224].) Newman [171] derived a closed form for the clustering coefficient: C== E[k] nE[k2]−E[k]2 E[k]22 =E[k] nc2 v+E[k]−1 E[k]2 (5.3) where E[k] is the expected degree and c2 vthe squared of its coefficient of variation. Expression 5.3 shows that if the expected degree does not depend on the network size, the clustering will end up to zero, no matter the degree distribution we are conditioning on. This fact might be interpreted as a lack of information on the structure of the network when its size increases, i.e. the degree distribution does not provide so much information on the structure of the network when its size is very big. The need of adding more condition comes exactly from the attempt of giving a better characterization of the network structure. Robert [203] studied a conditionally uniform model where vertices of the network are viewed as belonging to one of two sets, γ1and γ2. One might wish to know the distribution of a particular network parameter, when the number of ties between members of γ1and γ2and within members of γ1and γ1are kept constant. The mathematical programming model associated to this family of networks has been described in Proposition 5. In practice one would like to go even further in conditioning, which however leads to selfdefeating attempts because of combinatorial complexity. That is why a pressing theoretical need is to prove irreducibility of Markov Chains in the other situations beyond the well known models introduced in this section. However, if the Markov chains in these cases are not irreducible, it would be useful to identify the conditions under which they are reducible, as it still might be possible to use the approach in most realistic situations. 5.3 The probability of networks as primal-dual solutions This section provides analytical results concerning the probabilities of networks generated in accordance with the mathematical programming based methods introduced in chapter 3. The core idea lies on the probabilistic relationship between the set of networks with given topological properties and the random generation of parameters of the associated LPs. Let CR(χ) = {x∈[0,1]N:Ax=b}be a polytope whose set of extreme points is bijectively related to a given family of networks and consider the associated (feasible and bounded) LP min cTxs. to Ax=b,0≤x≤1,(5.4) where A∈RM×Nis a full row rank matrix, b∈RMand c∈RN. By adding slacks, (5.4) can be written in standard form as minbcTb xs. to b Ab x=b b,b x≥0,(5.5) 99 CHAPTER 5: Efficiency and correctness of network simulation where b A∈Rc M×b N(c M=M+Nand b N= 2N) is a full row rank matrix, b b= [bTeT]T∈Rc M and bc= [cT0T]T∈Rb N. If the gradient of the objective function bcis a properly defined random vector of density function fC(bc), then the solution of (5.5) is also a random vector whose probability distribution can be computed as P(b x) = ZΩ fC(bc)dbc,(5.6) where Ω is the set of gradients for which b xis an optimal solution. The gradient and optimal solutions are related through the KKT conditions of the LP, which can be written as G(b x,b y,bz) =   0 bc 0 where G(b x,b y,bz),  b Ab x−b b b ATb y+bz b Xb Ze   and (b x,bz)≥0,(5.7) b yand bzbeing respectively the Lagrangean multipliers of the equations and bounds of (5.5), and b Xand b Zdiagonal matrices built up with the components of b xand bz. The vector function G, as defined in (5.7), is not injective, since (5.5) may have more than one solution (indeed, an infinite number of them) for some bc, that is, Gmay map different points into the same vector [0TbcT0T]T. However, it is possible to guarantee the bijectivity of Gby restricting its domain to the set ID={t= (b x,b y,bz) : b x>0,bz>0,b Ab x=b b,b ATb y+bz=bc,b Xb Ze=µe}for some µ∈R, µ > 0, and considering the KKT-µperturbed conditions G(b x,b y,bz) =   0 bc µe .(5.8) The codomain of Gis thus IC={s= (0,bc, µe) : µ∈R, µ > 0,bc∈Rb N}. For a fixed bc, the set of solutions (b xµ,b yµ,bzµ) of (5.8) for µ > 0 is an arc of feasible points known as the primal-dual central path [231,233], which is widely used in interior-point methods. When µ→0, the central path converges to an optimal solution of (5.5). If instead of a unique solution we have an optimal face, then the central path converges to the analytic center of this optimal face [233]. If the strictly feasible set of (5.5) is nonempty (i.e., F0={(b x,b y,bz):(b x,bz)>0,b Ab x=b b,b ATb y+bz= bc} 6=∅), then the central path exists and it is unique for each µ > 0 (see [231,233] for a proof of this result). This uniqueness guarantees that, for some bcand µ > 0, there is a single point (b x,b y,bz) satisfying (5.8). The bijectivity of G:ID→ ICallows a straightforward application of the theorem of change of variables for multidimensional integrals [97], in order to deduce a probability density function of G−1(s), for s∈ IC: Lemma 1. Let G:ID−→ ICbe a one-to-one and continuously differentiable map of the open set IDinto IC, such that J(G(t)) is nonsingular for all t∈ ID. If f:IC−→ Ris a nonnegative locally integrable function, then ZID f(G(t))||J(G(t))||dt=ZIC f(s)ds,(5.9) where the symbol || || is used to denote the absolute value of the determinant and t= (b xb ybz) and s= (b bbcµ). By the inverse-function theorem, ICis open and the inverse point mapping G−1(s)is continuously differentiable. 100 CHAPTER 5: Efficiency and correctness of network simulation Lemma 1requires J(G(b x,b y,bz)) =   b A b ATI b Zb X  (5.10) to be nonsingular. This is the matrix of the Newton system to be solved at each iteration of primal-dual interior-point methods, which is known to be non singular if ˆ Ais full row rank and (b x,bz)>0 [231]. Considering the probability density functions fID:ID→Rand fIC:IC→Rand applying Lemma 1to G:ID→ IC, we obtain that for every open subset D ⊆ IDand G(D)⊆ IC(the image set of Dunder the transformation G) the probability that (b xb ybz)∈ D is equal to the probability that (0bcµbe)∈G(D) is ZD fID(t)dt=ZG(D) fIC(s)ds=ZD fIC(G(t))||J(G(t))||dt.(5.11) Since (5.11) is true for all open subset D ⊆ ID, we have fIC(s) = fID(t) ||J(G(t))||t=G−1(s) (5.12) and fID(t) = fIC(G(t))||J(G(t))|| =fIC    b Ab x b ATb y+bz b Xb Ze    b A b ATI b Zb X  .(5.13) Let µbe a positive number arbitrarily close to zero and fCab N-dimensional probability density function. We assume fICto have the following form: fIC   r1 r2 r3  =fC(r2) if r1=0and r3=µe 0 otherwise (5.14) Therefore, under the transformation Gwe have fID  b x b y bz  =           fCb ATb y+bzb A b ATI b Zb Xif b Ab x=b band b Xb Ze=µe 0 otherwise (5.15) Note that the support of fIDis ID, so that it only provides the probability of central path points for some particular µ. As µ→0 the central path points converge to the solution of (5.5), and then (5.15) would approach the probability distribution of the solutions of the LP problem in terms of the probability distribution of the cost vector. Theorem 5. The limit of (5.15) when µ→0exists, that is, lim µ→0fID(b x(µ),b y(µ),bz(µ)) = fID(b x(0),b y(0),bz(0)).(5.16) 101 CHAPTER 5: Efficiency and correctness of network simulation Proof. By [233, Theorem 2.17], the points (b x(µ),b y(µ),bz(µ)) on the central path are bounded, the central path converges to (b x(0),b y(0),bz(0)), and b x(0) and bz(0) are, respectively, the analytic centers of the primal and dual optimal faces (i.e., for any bcthe central path converges to a unique point—the analytic center of the optimal face—even if there are multiple solutions for this bc). Therefore, the determinant of (5.15) computed at ˆ Z(0) and ˆ X(0) is bounded, and limµ→0fID(b x(µ),b y(µ),bz(µ)) exists by continuity of the determinant. The above results are illustrated by this small example. Example 2. Consider the small two-dimensional problem min c1x1+c2x2s. to x1+Mx2= 1,(x1, x2)≥ 0(M > 0being a given parameter), which matches (5.5) for b A= [1 M]and bb= 1. The feasible region of this problem is the segment between VA= (1,0) and VB= (0,1/M). When c2> Mc1,VAis the optimal extreme point; when c2< Mc1, the solution is VB; when c2=Mc1(which is unlikely if the cost vector is randomly generated) the whole segment is optimal. Unless M= 1, the probability of VAand VBbeing optimal is not uniform, even if the cost vector is randomly generated (in particular we have P(VA)=1−M/2and P(VB) = M/2). The associated KKT-µperturbed conditions are x1+Mx2= 1 y+z1=c1 My +z2=c2 x1z1=µ x2z2=µ (x1, x2, z1, z2)>0 (5.17) and, after a few manipulations from the dual feasibility and complementarity conditions, we obtain: Mc1+Mµ 1−x1 =c2+Mµ x1 and Mc1+µ x2 =c2+Mµ 1−Mx2 .(5.18) When c26=Mc1, the central path is obtained by solving the two quadratic equations (5.18) with respect to x1(µ)and x2(µ): x1(µ) = c2−Mc1−2Mµ +√∆ 2(c2−Mc1), x2(µ) = c2−Mc1+ 2Mµ −√∆ 2M(c2−Mc1), ∆=4M2µ2+ (c2−Mc1)2, z1(µ) = µ x1(µ), z2(µ) = µ x2(µ), y(µ) = c1−z1(µ). (5.19) When c2 = Mc1, we directly have x1(µ) = 1 2, x2(µ) = 1 2M, z1(µ)=2µ, z1(µ)=2Mµ, y(µ) = c1−2µ. (5.20) For c26=Mc1, the limit point of the central path is lim µ→0x1(µ) = 1 lim µ→0x2(µ) = 0 lim µ→0z1(µ) = 0 lim µ→0z2(µ) = c2−Mc1 lim µ→0y(µ) = c1 for c2> Mc1, and lim µ→0x1(µ) = 0 lim µ→0x2(µ) = 1 M lim µ→0z1(µ) = Mc1−c2 M lim µ→0z2(µ) = 0 lim µ→0y(µ) = c2 M for c2< Mc1. For c26=Mc1, the primal solution (x1(µ), x2(µ)) does not depend on µand it provides the analytic center of the feasible primal segment, as expected. The dual limit point is z1(0) = z2(0) = 0,y(0) = c1. By (5.15), the asymptotic value of the density function of primal-dual solutions is fID(x1(µ), x2(µ), y(µ), z1(µ), z2(µ)) = fIC(c1, c2)|det(J)|,(5.21) 102 CHAPTER 5: Efficiency and correctness of network simulation where in this simple problem det(J) = M2x2(µ)z1(µ) + x1(µ)z2(µ). Therefore, when µ→0we have that det(J(x1(0), x2(0), z1(0), z2(0)) =    (c2−Mc1)if c2> Mc1 (Mc1−c2)if c2< Mc1 0if c2=Mc1. (5.22) We see from (5.21) and (5.22) that the probability density of the primal solutions VAand VBincrease, respectively, with c2−Mc1and c1−Mc2, which is consistent with the solution of the primal problem. In addition, the probability density of the analytic center solution (1 2,1 2M)is 0, which is consistent with the fact that this solution can only be obtained when the two random costs c1,c2satisfy c2=Mc1(the probability of such an event being 0). It is worth to make some observations to (5.15) and Theorem 5: •From (5.15), the probability density function of the primal-dual solutions depends on the randomness of bc, but also on the feasible polyhedron defined by the constraints matrix ˆ A, which appears in the determinant of the Jacobian of G. This is coherent with the intuition. •Given a primal-dual central path point(b x(µ),b y(µ),bz(µ)) for some cost vector bc, equation (5.15), which is easily computed, provides the probability density fIDof this primal-dual point. However, to compute the probability density of the primal point b x(µ) we need to solve f(b x(µ)) = Zb z(b c),b y(b c) fID(b x(µ),b y(µ),bz(µ))dbzdb y.(5.23) Although (5.23) is a difficult integral, the expression of the density (5.15) is enough to compute primal-dual solutions with any desired distribution (as seen in below in this section). •A closed form expression for (5.15) can not be computed, in general, because of the determinant of the Jacobian of G, which involves the constraints matrix ˆ Aand the values of (b x,bz) in the central path (which do not admit a closed form expression, but for toy problems). However, this result may be valuable to perform, for instance, numerical simulations or experiments. •Since the Jacobian is nonsingular (as stated above), the determinant is never zero. In addition, since the points of the central path are bounded [233], the determinant is bounded. •A simpler expression for the determinant can be derived. Denoting by Jthe Jacobian, and adding to the first block-row of Jthe last block-row multiplied by the diagonal matrix b X−1we have det(J) = det(J1) n Y i=1 b xiwhere J1="−b X−1b Zb AT b A#. Since J1=CDCTwhere C=I −b Ab Xb Z−1Iand D="−b X−1b Z b Ab Xb Z−1b AT#, using that det(C) = 1 we finally obtain det(J) = det(D) n Y i=1 b xi= (−1)ndet( b Ab Xb Z−1b AT) n Y i=1 bzi.(5.24) b Ab Xb Z−1b ATis the symmetric and positive definite matrix—if b Ahas full row rank—of the normal equations system of interior-point methods [231]. 103 CHAPTER 5: Efficiency and correctness of network simulation Figure 5.4: Autocorrelation function of CC for the r-blocks (left plots), s-pivots (center plots) and q-kernel (right plots) algorithm corresponding to the samples in tables 5.4,5.5 and 5.6. Figure 5.5: Autocorrelation function of AC for the r-blocks (left plots), s-pivots (center plots) and q-kernel (right plots) algorithm corresponding to the samples in tables 5.4,5.5 and 5.6. The plots in figures 5.4 and 5.5 show the respective autocorrelations function of CC and AC for the 1000 networks obtained in each of the runs of tables 5.4,5.5 and 5.6, for increasing values of rand s, from top to bottom. The length of the burn-in period should reflect the autocorrelation of the resulting process, as well as the mixing-time of these chains. We observe a decreasing pattern when rand sare small. Tables 5.7,5.8 and 5.9 summarize the analogous information for network data set of 39 workers in a tailor shop observed in the first period. The numerical values of CC and AC also 110 CHAPTER 5: Efficiency and correctness of network simulation resemble the theoretical values under the considered probabilistic model, which are 2·158/392= 0.2077581 and −1 39/2−1=−0.05405405 respectively. rmean CC std. CC mean AC std. AC rejected CPU time 12 0.2145 0.0237 -0.0481 0.0629 1006 45.6 24 0.2160 0.0216 -0.0491 0.0715 1216 40.2 48 0.2170 0.0215 -0.0511 0.0601 1452 37.4 96 0.2154 0.0207 -0.0574 0.0639 1673 37.7 Table 5.7: Numerical results using the r-blocks method for the network of workers in the first period. smean CC std. CC mean AC std. AC CPU time 20 0.2099 0.0185 -0.0353 0.0635 8.1 40 0.2070 0.0201 -0.0707 0.0700 7.9 80 0.2111 0.0159 -0.1054 0.0714 7.8 160 0.2211 0.0212 -0.0006 0.0474 7.6 Table 5.8: Numerical results using the s-pivots method for the network of workers in the first period. smean CC std. CC mean AC std. AC CPU-time 20 0.2139 0.0215 -0.0475 0.0701 8.0 40 0.2176 0.0237 -0.0768 0.0717 7.6 80 0.2236 0.0272 -0.0208 0.0598 7.3 160 0.2106 0.0178 -0.0960 0.0141 6.8 Table 5.9: Numerical results using the q-kernel method for the network of workers in the first period. Figure 5.6: Autocorrelation function of CC for the r-blocks (left plots), s-pivots (center plots) and q-kernel (right plots) algorithm corresponding to the samples in tables 5.7,5.8 and 5.9. 111 CHAPTER 5: Efficiency and correctness of network simulation Figure 5.7: Autocorrelation function of AC for the r-blocks (left plots), s-pivots (center plots) and q-kernel (right plots) algorithm corresponding to the samples in tables 5.7,5.8 and 5.9. Finally, for the network of workers associated to the second period, the corresponding theoretical values of CC and AC are 2 ·223/392= 0.2932281 and −1 39/2−1=−0.05405405, which are also consistent with the numerical results in tables 5.10,5.11 and 5.12, corresponding to the plots in figures 5.8 and 5.9. rmean CC std. CC mean AC std. AC rejection CPU time 12 0.3002 0.0154 -0.0531 0.0540 910 71.4 24 0.3022 0.0168 -0.0527 0.0526 1082 48.4 48 0.3006 0.0164 -0.0441 0.0572 1265 42.1 96 0.2972 0.0134 -0.0334 0.0624 1305 41.5 Table 5.10: Numerical results using the r-blocks method for the network of workers in the second period. smean CC std. CC mean AC std. AC CPU time 20 0.3001 0.0125 -0.0391 0.0521 8.5 40 0.3055 0.0135 -0.0578 0.0614 8.2 80 0.2993 0.0171 -0.0667 0.0518 8.1 160 0.3093 0.0101 -0.0118 0.0330 8.0 Table 5.11: Numerical results using the s-pivots method for the network of workers in the second period. smean CC std. CC mean AC std. AC CPU-time 20 0.3001 0.0125 -0.0391 0.0521 8.5 40 0.3055 0.0135 -0.0578 0.0614 8.2 80 0.2993 0.0171 -0.0667 0.0518 8.1 160 0.3093 0.0101 -0.0118 0.0330 8.0 Table 5.12: Numerical results using the q-kernel method for the network of workers in the second period. 112 CHAPTER 5: Efficiency and correctness of network simulation Figure 5.8: Autocorrelation function of CC for the r-blocks (left plots), s-pivots (center plots) and q-kernel (right plots) algorithm corresponding to the samples in tables 5.10,5.11 and 5.12. Figure 5.9: Autocorrelation function of AC for the r-blocks (left plots), s-pivots (center plots) and q-kernel (right plots) algorithm corresponding to the samples in tables 5.10,5.11 and 5.12. We see from the plots in figures 5.6,5.7,5.8 and 5.9 a clear autocorrelated behavior of the s-pivots and the sr-kernel methods, even when s= 20. On the other hand, the autocorrelations of the sample obtained with the r-blocks procedure quickly tend to zero for small lags. The conclusions about this comparison between the three methods might be controversial. On the one hand, the s-pivots and q-kernel methods outperform the r-blocks method in terms of efficiency. On the other hand, the autocorrelations reduces when sand rare small, though the 113 CHAPTER 5: Efficiency and correctness of network simulation s-pivots and q-kernel methods maintain a strongly autocorrelated behavior even when s= 20 – solving the independent full LP every 20 pivots. Thus, despite the higher efficiency of the s-pivots and q-kernel methods, the generation of less autocorrelated networks by the r-blocks method allows for a much smaller sample size when simulating large networks. Moreover, the availability of a closed-form probability density function (5.13) allows a rigorous evaluation of the probabilistic properties of the r-blocks method, whose numerical correctness supports the theoretical claim of Section 5.3. The analysis of this simple model allowed us to validate our procedures and result of little utility as a model of network formation. In fact, as already mentioned, the results of Newman [171] provide a clear explanation of the fact that the G(n, m) model poorly fits the most relevant structural properties of real-world networks. Nonetheless, for more complicated models, as the ones analyzed in the next subsection, the described LP-based generation methods might be fruitfully applied to obtains empirical distribution of relevant network features. Based on the simulated samples and using the MSS and VSS, as studied in Chapter 2, the goodness of fit of random network models is analyzed in the next section. 5.4 Goodness of fit of random network models Most of probabilistic models of network consists of multidimensional random variables with complex pattern of dependency. Their goodness of fit is often assessed in term of high-level network features, such as the variance of the degree distribution, the assortatively coefficient and the variance of the local clustering coefficients. In this section we provide graphical approaches to assess the goodness of fit of probabilistic models of networks based on the MSS and VSS, studied in Chapter 2. Let’s consider the previously described social network of dolphins by Lusseau [152] and a conditionally uniform random model where the degree sequence and the within group densities (associated to the three communities in Figure 3.2) are kept constant, along with the graph connectivity. (No theoretical results is available for this probabilistic model). Since the mathematical programming formulation does not characterize the convex hull of the integer solutions, primal dual solution verifying x−round(x)> ε are rejected. The expectation and standard deviation of the CC and AC for a sample of 10.000 networks (primal-dual solutions) generated by the r-blocks method with r= 1, are shown in Table 5.13. sample mean sample std. observed value one tail p-value corr CC – AC CC 0.199145 0.01949775 0.2501595 0.075000 -0.06184976 AC -0.065980 0.07585131 -0.0436017 0.694120 Table 5.13: Numerical results for the dolphin’ social network, under a sample of 10.000 networks, generated by the sequential r-block method. A burn-in period of 100 networks has been discarded. From Table 5.13 the conclusion is that the expected CC under the specified model is quite close to the observed one, but the small variability of the empirical distribution result in a particularly small p-value, so that the CC cannot be explained by the within-community-densities and the degree sequence. On the other hand, the AC seems to be likely induced by the fixed structural properties we considered. The associated empirical distribution of CC and AC is shown in the density plot of Figure 5.10. 114 CHAPTER 5: Efficiency and correctness of network simulation Figure 5.10: Empirical distribution of CC and AC, corresponding to the numerical results in Table 5.13. The MSS and VSS for each of the simulated networks are calculated, as shown in Figure 5.15, where the means ±standard deviations are denoted by the gray envelope. Figure 5.11: The MSS and VSS of 10.000 connected networks with 159 edges and the MSS and VSS of the observed dolphin’s social network. An accurate fit of this model with respect to the MSS and VSS of the observed network is obtained, as shown in Figure 5.10. However the variability of the MSS and VSS increases with τ, outlining a progressively higher differentiation in the pattern of association between structural similarity of order τand the tie strengths3. This fact is somehow reflected in the disagreement 3It must be noted that both sequences of structural similarities are strongly affected by the degree sequence and, in the case the probabilistic model preserving the degrees, the overall MSS and VSS might overfit. Overfitting occurs when a statistical model describes random error instead of the underlying complex pattern of dependencies. The conditionally uniform random models with fixed degree sequence and within group densities results in excessively complex modes, such as having too many constraints strongly reducing the dimension of the sample space. It thus has poor predictive performance, as it can amplify slight fluctuations in the data. 115 CHAPTER 5: Efficiency and correctness of network simulation between the observed CC and the one expected under simulated model, as shown in Table 5.13. Consider the network data set representing marriage and business relations among 15 Renaissance Florentine families, as collected by Padgett [183] and two conditionally uniform models: •uniform undirected valued networks conditioned to the density; •uniform edge-colored undirected networks conditioned to the within-color densities; The first model summarize the qualitative nature of a connection in an edge value, defined in accordance with (2.23), as discussed in Chapter 2. In this case an edge is regarded as strong if both a marriage and a business relation occur between its endpoints. On the other hand, the second model takes into account the connection types, i.e. marriage and business relations, and regards the total amount of connections of a given type as a fixed quantity. For the first model, a chain of 10000 networks associated to the q-kernel method, with s= 50, has been simulated, in accordance with (3.16). Correspondingly, the uniform edgecolored undirected network model conditioned to the within-color densities has been simulated by the r-block method, with r= 1. The respective results are reported in tables 5.14 and 5.15. sample mean sample std. observed value one tail p-value corr CC – AC CC 0.3088 0.1146 0.6384 0.0046 -0.0539 AC -0.1524 0.1548 -0.4786 0.0146 Table 5.14: Numerical results from the sample obtained with the r-blocks method, uniform undirected valued networks conditioned to the density. sample mean sample std. observed value one tail p-value corr CC – AC CC 0.3247 0.0702 0.6384 0.0000 -0.1414 AC -0.1432 0.1311 -0.4786 0.0044 Table 5.15: Numerical results from the sample obtained with the r-blocks method, uniform edge-colored undirected networks conditioned to the within-color densities. Figure 5.12: Empirical distribution of CC, corresponding to tables 5.14 (red line) and 5.15 (green line). 116 CHAPTER 5: Efficiency and correctness of network simulation Figure 5.13: Empirical distribution of AC, corresponding to tables 5.14 (red line) and 5.15 (green line). The two described models, associated to different ways of aggregating the edge information, result in substantial difference of the empirical distribution of CC and AC. This fact brings our discussion back to the problem of edge definition, namely, the problem of establishing when is an edge an edge, as addressed by Butts [45] and by Borgatti et al. [37] (see Section 1.1). Any change of the edge set can substantially influence the topology of the resulting family of network, with considerable implications for subsequent analysis, as different aggregation decisions can produce networks with very different structural features. The numerical results in tables 5.14 and 5.15 show that both models fail to explain the observed clustering coefficient and assortativity coefficient of the network of Renaissance Florentine families and suggest the existence of internal processes between nodes and their relational strategies, which cannot be captured by conditionally uniform distributions. Figure 5.14: The MSS and VSS of 10.000 connected networks from the uniform edge-colored undirected networks conditioned to the within-color densities. 117 CHAPTER 5: Efficiency and correctness of network simulation Figure 5.15: The MSS and VSS of 10.000 connected networks uniform undirected valued networks conditioned to the row marginal of the AM. The following section propose alternative probabilistic modeling for ”strange networks”, i.e. networks exhibiting structural peculiarities, which are unlikely to appear under general random models, as in the case of many observed social networks. 5.5 Exponential family of random networks An important limitation of conditionally uniform models is that the rejection of the null hypothesis does not provide a clear insight for the construction of meaningful probabilistic model for the phenomenon being studied. The only conclusion of a conditionally uniform model is that the observed value for the test statistic is unlikely given the conditioning statistics if all else would be random. Because of these limitations non-uniform model have been introduced for the analysis of CNs. Exponential Random Graph Models (ERGM) has been widely used to capture the fact that the probability of a network should reflect its structural properties. Here we are considering Conditionally Exponential Random Graph Models (CERGOM), which keeps the main probabilistic properties of the classical ERGM into a constrained sample space χ, as shown in the next section. Highly probable networks are regarded as ”reliable” in the sense of being consistent with the real-world scenario captured by the specified probabilistic model, so that the problem of designing reliable networks is here translated into the one of maximizing graph probability under conditionally exponential models. To have a first insight to the ERGM, let χbe the sample space of all networks belonging to a specified family and consider a collection of independent and identically distributed networks x1,...,xN∼p. Let Sj(xi), for j= 1, . . . , s, be a structural feature of network xi, for i= 1, . . . , N, and bµj=PN i=1 Sj(xi)/N the empirical expectation of Sj, for j= 1, . . . , s. The ERGM arises as an answer to the question can we recover the p∗from bµ1,...,bµs? A reasonable requirement a probability measure pmust verify is that Ep[Sj(x)] = RχSj(x)p(x)dx =bµj, f = 1, . . . , s. where χ={x∈ {0,1}N:Ax=b}.(5.31) 118 CHAPTER 5: Efficiency and correctness of network simulation (We are using the Lebesgue integral as a generalization of summation for continuous spaces, that is to say, spaces of valued networks, where χis the set of valued AMs verifying a specified system linear constraints. In the case considered in this section the integral can be replaced by a summation.) The problem is to find the probability distribution p(x) which verifies Ep[Sj(x)] = bµjand reflects maximal ignorance on p(x). In thermodynamics, Sis usually assumed to be the temperature of a closed system and χis the set of possible configuration that system might take. The probability of energy levels of a closed system is derived by assuming (5.31) and choosing the p(x) which maximizes the entropy,classically interpreted in Information Theory and Thermodynamics as a measure of uncertainty and disorder. In statistics, this approach to deduce an appropriate functional form for the probability distribution from a set of given observations has been studied first introduced by Jaynes [126], who assume certain highly plausible properties of the random variable and then posit maximum entropy with respect to all other properties of the distribution. It leads to pick the distribution d p(x) which solves the following problem: max −Zχ p(x) log p(x)dx (5.32a) subject to Zχ Sj(x)p(x)dx =bµj, f = 1, . . . , s (5.32b) Zχ p(x)dx = 1.(5.32c) The classical method for solving problem (5.32) is to apply the Lagrange multipliers to each of the constraints and maximize the augmented functional with respect to p(x). L(p, θ, α) = −Zχ p(x) log p(x)dx + s X j=0 θjZχ Sj(x)p(x)dx −bµj+αZχ p(x)dx −1(5.33) By applying the Euler equation of calculus of variation to the lagrangian function, we get in (5.34) the functional form of a ERGM, where χbecomes the set of all simple graphs. ∂L ∂p(x)=−log(p(x)) −1 + s X j=0 θjSj(x) + α= 0 (5.34a) d p(x) = exp   s X j=0 θjSj(x) exp (1 −α) = 0 (5.34b) d p(x) = exp (θS(x)) Z(θ,χ)(5.34c) The boldface symbols θand S(x) denote the vectors [θ1, . . . , θs]Tand [S1(x), . . . , Ss(x)]T respectively. The parameter θjis the Lagrangian multiplier of the constraints Ep[Sj(x)] = bµj, j = 1, . . . , s. It controls the tendency of networks with parameters Sj(x) to be observed in the data. Hence, the exponential family of distributions is an example of a parameterized set of distributions where the Lagrange multipliers play the role of the parameters of the distribution (another example of this kind is the class of mixture distributions). The scalar quantity κ= Rx∈χePs j=1 θjSj(x)dxis known as the partition function. Many papers from statistical physics call the quantity Ps j=1 θjSj(x) the graph Hamiltonian and denote it as H(x). 119 126 Chapter 6 Mathematical programming approaches for different scenarios of bilateral bartering 6.1 Social capital and the economic effect of the interaction structure Our discussion in Chapter 1suggests a general view of the social structure as a form of capital, which facilitates access to goods and services. From this outlook, Coleman [68] spoke of social capital alongside physical capital, suggesting an aggregate of durable commodities which is worth for the acquisition and production of other commodities (capital as a mean of production). From a sociological point of view, this idea of social capital strongly supports a structuralist understanding of society as prior to individuals, by stressing the one-way effect of the network of interpersonal relationships on the realization of economically valuable processes and tasks and on the emergence of macroscopic social phenomena. The analysis of the effect of the structure of interactions constitute a prominent line of research in social sciences. As suggested in the Subsection 1.1.4 one of the seminal multi-agent system for this kind of analysis is the Axelrod’s model of the dissemination of culture [6], where the discrete time dynamic evolution of cultural features strongly depends on the structure of the topological feature of the interaction structure. Another interesting study in this direction has been conducted by Masuda and Aihara [157], who assumed that each vertex of a network, which ranges from a regular lattice to a random graph, by changing a re-writing probability π, is occupied by a player of a prisoner’s dilemma game. In each round, a player interacts with its immediate neighbors. Each player has two strategies: cooperation (denoted by C) or defection (denoted by D) in each round. When a player chooses C, it receives payoff R(reward) or S(sucker) as the opponent chooses Cor D, respectively. A player that chooses Dreceives T(temptation) or P(punishment) as the opponent chooses Cor D, respectively. Given T > R > P > S, a player is always tempted to defect no matter whether the opponent takes Cor D. The combination of Dand D, in which both of the players get unsatisfactory payoff P, is the unique Nash equilibrium in a single game. Each player sums the payoff received by playing a single Prisoner Dilemma with its neighbors and compares the sum with those of the neighbors. Among them, the strategy with the maximal 127 CHAPTER 6: Mathematical programming approaches for different scenarios of bilateral bartering payoff is copied as the players strategy in the next round. As Masuda noted, for small reward, it is not so tempting for players to defect. Therefore, the proportion of cooperators converges to 1 regardless of the network structure. However, the number of cooperators highly depends on πfor 1.3< T < 2.3. In this case, the clustering needs to be larger for cooperators to survive. For large T, players are inclined to betray. Even if cooperators happen to form tight clusters, they cannot survive once they face defectors and the cooperators extinguish for whatever network structure. Thus, three different dynamics and dependence on the network structure exist with respect different value of temptation. For intermediate reward Tthe dependence on the network structure is remarkable. Among all networks, small-world topology, obtained for 0.4< π < 0.6, is the optimal structure when we take into account the speed at which cooperative behavior propagates, which may explain why the small-world properties are self-organized in real networks. As already mentioned in the Subsection 1.1.4, the one-way effect of the network of interpersonal relationships on the realization of economically valuable processes has also been studied by Wilhite [229], who considered the price volatility and convergence time of a simple exchange economy where the structure of bilateral trades varies. The approach adopted in this chapter is based on the opposite consideration: the ways in which individual actions and economic processes support the emergency of network structures and pattern of interaction is analyzed. This idea has been widely discussed among Marxist sociologists by referring to the modes of production and the contrast between basis and superstructure [59]. The basis comprehends the relations of production - employer-employee work conditions, the technical division of labor, and property relations - into which people enter to produce the necessities and amenities of life. Figure 6.1: From agency to structure. In Marx’ thinking these relations fundamentally determine society’s other relationships like common knowledge, mutual influence, norms, constituting the superstructure; thus, the base conditions the superstructure, though their relation is not strictly causal, because the superstructure often influences the base; however the influence of the base predominates. However, from a pure Marxist outlook, this economic base of society is seen as determining everything else in the superstructure, including social, political and intellectual consciousness. Marx postulated the theoretic essentials of the base-superstructure concept in the Preface to A Contribution to the Critique of Political Economy [156]: In the social production of their existence, men inevitably enter into definite relations, 128 CHAPTER 6: Mathematical programming approaches for different scenarios of bilateral bartering which are independent of their will, namely relations of production appropriate to a given stage in the development of their material forces of production. The totality of these relations of production constitutes the economic structure of society, the real foundation, on which arises a legal and political superstructure and to which correspond definite forms of social consciousness. The mode of production of material life conditions the general process of social, political and intellectual life. It is not the consciousness of men that determines their existence, but their social existence that determines their consciousness. At a certain stage of development, the material productive forces of society come into conflict with the existing relations of production or this merely expresses the same thing in legal terms with the property relations within the framework of which they have operated hitherto. From forms of development of the productive forces these relations turn into their fetters. Marxist historical materialism conceives epochs as characterized by patterns of social interactions people must enter into in order to satisfy their economic needs and carry out their purposes; such a pattern are called relations of production. Many studies of computer simulation [185] have attempted to reproduce the process of interactions which leads to the emergence of any sort of superstructure like common knowledge, mutual influence, norms, inequalities, etc. Our approach to mathematically deal with this problem is based on the economic interactions between rational agents aiming at the maximization. To do so several processes of bartering private goods with exogenous prices are investigated in this chapter, both from the local viewpoint of agents and from the perspective of a global planner. Consider a collection of mtypes of commodities, call i C, a commodity space Ξi(representing the feasible bundle of commodity that agent i∈ V may hold and usually given by a subset of the nonnegative orthant in Rm), the initial endowments qi j∈Ξiof agent i∈ V for each commodity j∈ C (corresponding a budget constraints), utility functions ui: Ξ 7−→ R, representing preference relation ion Y, where Ξ = Ξ1×. . . ×Ξn. When agents attempt to simultaneously maximize their respective utilities, conditioned to balance constraints, the resulting problems are max ui(v) s.to Pi∈V vi j=Pi∈V qi jfor j∈ C, where vi j, is the amount of commodity jdemanded by agent i(from now on the superindex shall denote the agent and the subindex shall denote the commodity). Arrow and Debreu [80] showed that under certain economic conditions (convex preferences, perfect competition and demand independence) there must be a vector of prices b P= (bp1,bp2,bp3,...,bpm)T, such that aggregate supplies will equal aggregate demands for every commodity in the economy. As studied by Dreze [83], when prices are regarded as fixed, markets do not clear and the imbalance between supply and demand is resolved by some kind of quantity rationing. This models have played an important role in maroeconomic models, especially on those models related to wage rigidities and unemployment. Under fixed prices, markets do not clear and the imbalance between supply and demand is resolved by some kind of quantity rationing [83]. In out analysis this quantity rationing is implicit in the process and not explicitly taken into account. Another specific scenario of market of private goods has been studied by Shapley and Shubik [211], who characterized the equilibria under the assumption that each agent can consume at most one indivisible good. After them, many authors have been studying markets with indivisible goods (see for example, Kaneko [131], Quinzii [193], Scarf [207], and the most recent literature like Danilov et al. [76], Caplin and Leahy [48]). The main focus was to address the question of existence of market clearing prices in the cases of not infinitesimally divisible allocations. This chapter provides mathematical-programming based approaches for the analysis of markets of private goods, with particular attention to the dynamics of bartering and the effects of the coevolution of agents economical states and social structure. Particularly, our goal is to 129 CHAPTER 6: Mathematical programming approaches for different scenarios of bilateral bartering provide novel mathematical-programming based approaches to study barter processes, which are commonly used in everyday life by economic agents to solve bargaining problems associated to n-consumer-m-commodity markets of integer commodities and fixed exogenous prices. 6.2 Markets with fixed exogenous prices As already discussed in Section 1.2, the linear system characterizing the space of possible allocations is (1.26). Here the conservation of commodity (i.e., the overall amount of commodity of each type must be preserved) is generalized to include arbitrary weights in the last mrows of (1.26). Based on this observation consider the following multi-objective integer non-linear optimization problem (MINOP) max [ui(v), i = 1, . . . , n] (6.1a) s. to        P P ... P d1I d2I . . . dnI        v=       b1 b2 . . . bn b0        (6.1b) ui(v)≥ui(q)i= 1 ...,n v∈Zmn ≥0,(6.1c) where ui:Rmn →R,P∈Q1×m,di∈Q,bi∈Q,i= 1, . . . , n, and b0∈Qm. The conditions ui(v)≥ui(q), i = 1 ...,n, guarantee that no agent gets worse under a feasible reallocation, which is known in general bargaining literature as the disagreement point. The constraint matrix has a primal block-angular structure with nidentical diagonal blocks involving mdecision variables. The set of non negative solution of (1.26) coincide with the feasible region of (6.1) for di= 1,for i= 1, . . . , n. A specialized interior point method for LPs with primal block-angular structure has been described and investigated in Chapter 4. In Appendix Cthe same factorization principle is used to deal with markets with exogenous prices. 6.2.1 The elementary reallocation problem In everyday life, barter processes among people tends to achieve the Pareto frontier of problem (6.1) by a sequence of reallocations. We consider a process based on a sequence of twocommodity-two-agent reallocations, denoted as SER. Any step of this sequence requires the solution of a MINOP involving 4 variables and 4 constraints of problem (6.1). Let ebe a feasible solution of (6.1b) and (6.1c) and suppose we want to produce a feasible change of 4 variables, such that 2 of them belong to the ith and jth position of the diagonal block hand the other belong to the ith and jth position of the diagonal block k. It can be easily shown that a feasibility condition of any affine change of these 4 variables eh i+ ∆h i, ek i+ ∆k i, eh j+ ∆h j, ek j+ ∆k jis that ∆h i,∆k i,∆h j,∆k jmust be an integer solution of the 130 CHAPTER 6: Mathematical programming approaches for different scenarios of bilateral bartering following system of equations     pipj0 0 0 0 pipj dh0dk0 0dh0dk        ∆h i ∆h j ∆k i ∆k j    =    0 0 0 0    .(6.2) The solution set are the integer points in the null space of the matrix of system (6.2), which will be named A.Ais a two-agent-two-commodity constraint matrix, and its rank is three (just note that the first column is a linear combination of the other three using coefficients α2=pi pj, α3=dh dkand α4=−pidh pjdk). Therefore the null space has dimension one, and its integer solutions are found on the line     ∆h i ∆h j ∆k i ∆k j    =q    pjdk −pidk −pjdh pidh    ,(6.3) for some q=αF(pi, pj, dk, dh), where α∈Zand F:Q4→Qprovides a factor which transforms the null space direction in the nonzero integer null space direction of smallest norm. We note that this factor can be computed as F(pi, pj, dk, dh) = G(pjdk, pidk, pjdh, pidh), where G(vi=ri qi , i = 1, . . . , l) = lcm(qi, i = 1, . . . , l) gcd(lcm(qi, i = 1, . . . , l)·vi, i = 1, . . . , l),(6.4) riand qibeing the numerator and denominator of vi(qi= 1 if viis integer), and lcm and gcd being, respectively, the least common multiple and greatest common divisor functions. Hence, given a feasible point e, one can choose 4 variables, such that 2 of them belong to the ith and jth position of a diagonal block hand the others belong to the ith and jth position of a diagonal block k, in m(m−1)n(n−1)/4 ways. Each of them constitutes an ERP, whose Pareto frontier is in q+ null(A). The SER is a local search, which repeatedly explores a neighborhood and chooses both a locally improving direction among the m(m−1)n(n−1)/4 possible ERPs and a feasible step length q=αF(pi, pj, dk, dh), α∈Z. For problems of the form of (6.1) the SER might be written as follows: vt+1 =vt+αF(pi, pj, dk, dh)                    . . . pjdk . . . −pidk . . . −pjdh . . . pidh . . .                    . . . h, i . . . h, j . . . k, i . . . k, j . . . =vt+αF(pi, pj, dk, dh)∆kh ij ,(6.5) tbeing the iteration counter. In shorter notation, we write (6.5) as vt+1 =vt+αSkh ij , where Skh ij =F(pi, pj, dk, dh)∆kh ij (6.6) 131 CHAPTER 6: Mathematical programming approaches for different scenarios of bilateral bartering is a direction of integer components. Since the nonnegativity of vhave to be kept along the iterations, then we have that − max nxh i/(pjdk), xk j/(pidh)o F(pi, pj, dk, dh)≤α≤ min nxh j/(pidk), xk i/(pjdh)o F(pi, pj, dk, dh),(6.7) or, equivalently, −max nxh i/(pjdk), xk j/(pidh)o≤q≤min nxh j/(pidk), xk i/(pjdh)o.(6.8) (The step length is forced to be nonnegative when the direction is both feasible and a descent direction; in our case the direction is only known to be feasible, and then negative step lengths are also considered.) An important property of an elementary reallocation is that under the assumptions that ∂uk(v) ∂xk i :Rmn →Ris (i) non increasing, (ii) nonnegative and (iii) ∂uk(v) ∂xj i = 0 for j6=k(i.e., ukonly depends on vk), which are quite reasonable requirements for consumer utilities, then uk(v+αSkh ij ) is a unimodal function with respect to α, as shown by the next proposition. Proposition 11. Under the definition of ukand Skh ij , for every feasible point v∈Rmn,uk(v+ αSkh ij )is a unimodal function with respect to αin the interval defined by (6.7). Proof. Let us define g(α) = uk(v+αSkh ij ), differentiable with respect to α. It will be shown that for all αin the interval (6.7), and 0 < τ ∈R,g0(α)<0 implies g0(α+τ)<0, which is a sufficient condition for the unimodality of g(α). By the chain rule, and using (6.5) and (6.6), the derivative of g(α) can be written as g0(α) = ∇vuk(v+αSkh ij )Skh ij =F(pi, pj, dk, dh) ∂uk(v+αSkh ij ) ∂xk i (−pjdh) + ∂uk(v+αSkh ij ) ∂xk j pidh!.(6.9) If g0(α)<0 then, from (6.9) and since F(pi, pj, dk, dh)>0, we have that ∂uk(v+αSkh ij ) ∂xk i pjdh>∂uk(v+αSkh ij ) ∂xk j pidh.(6.10) Since from (6.5) the component (k, i) of Skh ij is F(pi, pj, dk, dh)(−pjdh)<0, and ∂uk(v) ∂xk i is non increasing, we have that for τ > 0 ∂uk(v+ (α+τ)Skh ij ) ∂xk i≥∂uk(v+αSkh ij ) ∂xk i .(6.11) Similarly, since the component (k, j) of Skh ij is F(pi, pj, dk, dh)(pidh)>0, we have ∂uk(v+αSkh ij ) ∂xk j≥∂uk(v+ (α+τ)Skh ij ) ∂xk j .(6.12) Multiplying both sides of (6.11) and (6.12) by, respectively, pjdhand pidh, and connecting the resulting inequalities with (6.10) we have that ∂uk(v+ (α+τ)Skh ij ) ∂xk i pjdh>∂uk(v+ (α+τ)Skh ij ) ∂xk j pidh, which proofs that g0(α+τ)<0. 132 CHAPTER 6: Mathematical programming approaches for different scenarios of bilateral bartering Figure 6.2: Plots of g1(α) and g2(α), and interval of αassociated to the Pareto frontier. The disagreement point corresponds to g1(0) and g2(0), the utilities in the current iterate. Using Proposition 11 and the characterization of the space of integer solutions of (6.2), we are able to derive a closed expression of the Pareto frontier of the ERP, based on the behavior of u(v+αSkh ij ) (see Corollary 1below), as it is shown in this example: Example 3. Consider the following ERP with initial endowments [40,188,142,66]. max [2 −e−0.051x1 1−e−0.011x1 2,2−e−0.1x2 1−e−0.031x2 2] s. to 5x1 1+ 10x1 2= 2080 5x2 1+ 10x2 2= 1370 5x1 1+ 6x2 1= 1052 5x1 2+ 6x2 2= 1336 2−e−0.05x1 1−e−0.01x1 2≥1.68 2−e−0.1x2 1−e−0.031x2 2≥1.50 xi j=0∈Zi = 1,2; j= 1,2; (6.13) The utility functions g1(α) = u1(v+αS12 12)and g2(α) = u2(v+αS12 12)are g1(α) = u1(v+αS12 12) = u1       40 188 142 66    +α    12 −6 −10 5       = 2 −e−0.051(40+12α)−e−0.011(188−6α) g2(α) = u2(v+αS12 12) = u2       40 188 142 66    +α    12 −6 −10 5       = 2 −e−0.1(142−10α)−e−0.031(66+5α), which are plotted in Figure 6.2. The continuous optimal step lengths for the two respective agents are argmax g1(α) = 3.33 and argmax g2(α) = 8.94. Due to the unimodality of uk(v+αShk ij ), 133 CHAPTER 6: Mathematical programming approaches for different scenarios of bilateral bartering all efficient solutions of (6.13) are given by integer step lengths α∈[3.33,8.94] (see Figure 6.2), i.e., for α∈ {4,5,6,7,8}we have g1(4) = 1.82412 g1(5) = 1.81803 g1(6) = 1.80882 g1(7) = 1.79752 g1(8) = 1.78465, g2(4) = 1.93043 g2(5) = 1.94035 g2(6) = 1.94873 g2(7) = 1.95558 g2(8) = 1.96057. Due to the unimodality of both utility functions with respect to α, no efficient solution exists for an αoutside the segment [3.33,8.94]. The above example illustrates a case where the segment between argmax uh(v+αSkh ij ) and argmax uk(v+Skh ij ) contains five integer points. In this case the efficient solutions of the ERP are the ones associated with these integer step lengths. The following statement gives a constructive characterization of the Pareto frontier of an ERP. Corollary 1. Let Abe the set of integer points in the interval [adown, aup], where adown = min{argmaxαuk(v+αSkh ij ),argmaxαuh(v+αSkh ij )}and aup = max{argmaxαuk(v+αSkh ij ), argmaxαuh(v+αSkh ij )}, and let [αdown, αup]be the interval of feasible step lengths defined in (6.7). Then, due to Proposition 11, the set V∗of Pareto efficient solutions of an ERP can be analytically obtained as follows: i. V∗={[uh(v+αSkh ij ), uk(v+αSkh ij )] : α∈ A} if Ais not empty and does not contain the zero. ii. If Ais empty and there exists an integer point between 0and adown but no integer point between aup and αup then V∗contains the unique point given by [uh(v+αSkh ij , uk(v+ αSkh ij )]such that αis the greatest integer between 0 and adown. iii. If Ais empty and there exists an integer point between aup and αup but no integer point between 0and adown then V∗contains either the unique point given by [uh(v+αSkh ij , uk(v+ αSkh ij )] such that αis the smallest integer between aup and αup, or α= 0, or both of them if they do not dominate each other. (In this case the three possibilities must be checked, since if for only one of the utilities —let it be h, for instance— uh(v)> uh(v+ ¯αSkh ij ),¯αbeing the smallest integer between aup and αup, then both values 0and ¯αare Pareto efficient.) iv. If Ais empty and there are integer points both between aup and αup and between 0and adown then V∗contains the points given by [uh(v+αSkh ij , uk(v+αSkh ij )] such that αis either the smallest integer between aup and αup, or the greatest integer between 0 and adown, or both points if they do not dominate each other. v. In the case that Acontains the zero, then no point dominates the initial endowment v, so that the only point in the Pareto frontier is v. Corollary 2. Consider the case of an economy where agents have linear utility functions with gradients c1,...,cnand let again Γbe the set of integer points in the interval [adown, aup], where adown = min{argmaxααckSkh ij ,argmaxααchSkh ij }and aup = max{argmaxααckSkh ij ,argmaxααchSkh ij }, and let [αdown, αup]be the interval of feasible step lengths defined in (6.7). It might be easily seen that either Γ = Qor Γ = ∅. The set Γ = Qin the case (ch ipjdk−ch jpidk)and (ck jpidh−ck ipjdh) have opposite sighs, whereas Γ = ∅if (ch ipjdk−ch jpidk)and (ck jpidh−ck ipjdh)have the same sign. Then, due to Proposition 11, the set V∗of Pareto efficient solutions of an ERP may contain at most one point: 134 CHAPTER 6: Mathematical programming approaches for different scenarios of bilateral bartering i. if there is at least one non-null integer between −max{xh i/(pjdk), xk j/(pidh)}/F(pi, pj, dk, dh) and min{xh j/(pidk), xk i/(pjdh)}/F(pi, pj, dk, dh)and Γ = ∅, then V∗only contains the unique point corresponding to the allocation vt+1 =vt+αSkh ij for a step-length αwhich is either equal to −max{xh i/(pjdk), xk j/(pidh)}/F(pi, pj, dk, dh)(if (ch ipjdk−ch jpidk)and (ck jpidh−ck ipjdh)are negative) or for equal to min{xh j/(pidk), xk i/(pjdh)}/F(pi, pj, dk, dh) (if (ch ipjdk−ch jpidk)and (ck jpidh−ck ipjdh)are positive). ii. V∗only contains the disagreement point in the opposite case. Having a characterization of the Pareto frontier for any ERP in the sequence allows not just a higher efficiency in simulating the process but also the possibility of measuring the number of non dominated endowments of each of the m(m−1)n(n−1)/4 ERPs, which might be used as a measure of uncertainty of the process. Indeed, the uncertainty of a barter process of this type might come from different sides: i) how to choose the couple of agents and commodities in each step? ii) which Pareto efficient solution of each ERP to use to update the endowments of the system? In the next subsection we shall study different criteria for answering the first two questions. Note that the set of non-dominated solutions of the ERP, obtained by the local search movement (6.5) might give rise to imbalances between supply and demand, as described by Dreze [83] for the continuous case. To resolve this imbalance Dreze introduce a quantity rationing, which can by also extended to the ERP. Consider a rationing scheme for the ERP as a pair of vectors l∈Zm,L∈Zm, with L≥0≥l, such that the tth and (t+ 1)th ER verifies li≤xt+1 i−xt i≤Li, for i= 1, . . . , n, where liand Liare the ith components of land Lrespectively. Thus, for two given agents hand kand two given commodities iand jwe have li≤αF(pi, pj, dk, dh)          . . . pjdk . . . −pjdh . . .          ≤Li, lj≤αF(pi, pj, dk, dh)          . . . −pidk . . . pidh . . .          ≤Lj,(6.14) An open problem, which is not investigated in this paper, is the formulation of equilibrium conditions for this rationing scheme. One possibility might be the construction of two intervals for land Lwhich minimize the overall imbalances, under the conditions that (6.14) is verified in each ERP, as long as land Lare inside the respected intervals. The integrality of the allocation space Ξ forbids a straightforward application of the equilibrium criteria proposed by Dreze [83] to the markets we are considering in this work. 6.2.2 Taking a unique direction of movement We know that the sequence of elementary reallocations formalized in (6.2) requires the iterative choice of couples of agents (h, k) and couples of commodities (i, j), i.e. directions of movement among the m(m−1)n(n−1)/4 in the neighborhood of the current solution. In the case of single objective problems, this choice can be made mainly in two different ways: first improving and best improving directions of movement. In the multi-objective case the choice of the direction is more complicated, as the Pareto efficiency only generates a partial order in Rn. 135