1. A method, implemented in a computer readable and executable program on a computer processor, predicting alliance formation among groups, the method comprising: receiving, a request for predicting alliance formation among groups; initiating a learning algorithm, by the computer processor, causing the computer processor to execute the computer readable and executable program predicting alliance formation among groups; inferencing a plurality of cognitive maps of a first group of agents from a plurality of agents; interacting, by the first group of agents, with a second group of agents from the plurality of agents; adapting, by the first group of agents, a belief system represented by a linear combination of the plurality of cognitive maps, in response to a social environment represented by a belief system of the second group of agents interacted with; forming a coalition including the first group of agents and the second group of agents, based on inferencing and modifying beliefs, to achieve mutual consonant beliefs among the first group of agents and the second group of agents, using the learning algorithm, wherein the learning algorithm includes a particle swarm optimization and includes a cognitive social agent loop simulation represented as: initialize partner prefrences initialize cognitive map lbest ←cognitive map active ←true WHILE (no termination condition) DO IF (active) THEN select partner from neighborhood interact with partner update lbest from interaction outcome update partner preference active ←false ELSE get gbest from neighborhood update cognitive map from gbest and lbest move closer or farther from partner active ←true ENDIF END WHILE; and generating, by the computer processor, a proposal result predicting alliance formation among the first group of agents and the second group of agents.