You are on page 1of 6

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/272477402

Agent-Based Modeling Toolkits NetLogo, RePast, and Swarm

Article  in  Academy of Management Learning and Education, The · December 2005


DOI: 10.5465/AMLE.2005.19086798

CITATIONS READS
26 400

1 author:

Duncan A Robertson
Loughborough University
17 PUBLICATIONS   125 CITATIONS   

SEE PROFILE

All content following this page was uploaded by Duncan A Robertson on 18 February 2015.

The user has requested enhancement of the downloaded file.


524 Academy of Management Learning & Education December

years or longer to turn a concept into a working The approach to strategic planning that the book
weapon system or new fighter jet, by which time puts forward also fits closely with the three key
the mission for which it was intended may have principles outlined by Greiner, Cummings, and
changed radically. Likewise, biotech and pharma- Bhambri (2003) for ways to teach strategy. Its ex-
ceutical firms typically invest hundreds of millions ploratory modeling approach “(1) is comprehensive
of dollars and 10 –15 years to go from the lab to and integrative across disciplines” — enabling de-
getting a new drug approved, with no guarantee cision makers to combine qualitative and quanti-
that there will not be a superior alternative tech- tative data from a variety of different fields, includ-
nology available or that they will be able to obtain ing those outside finance and organizational
reimbursement for their drug. theory that dominate existing approaches to strat-
Even with these minor limitations, Shaping the egy; “(2) requires a wide range of analytical and
Next One Hundred Years, would provide an excel- behavioral skills”—through the use of simulations
lent addition to any course on strategic decision of multiple scenarios where actors are incorpo-
making or business policy, particularly one for rated into the decision making and able to test the
public policymakers or those working in nonprof- consequences of their actions for the future, and
its. It provides a succinct, very readable history of “(3) makes strategic decisions under highly dy-
the strengths and flaws in different approaches to namic, uncertain and changing conditions”—the
strategic planning, as well as a new framework very heart of the authors’ justification for their new
and practical tools for executives to make deci- method, which seeks not the right answer, but
sions that have very long-term consequences. rather a more robust means for making decisions

FIGURE 1
Fire Model Running Using NetLogo
2005 Book & Resource Reviews 525

FIGURE 2
SugarScape Model Running Using RePast

when faced with the inherent uncertainty in ad- tween these agents and then use these to generate
dressing long-term, vital questions such as global models. Agent-based models define the interac-
sustainability. tions between these agents, whether they be for
example interactions between firms or the interac-
tions between people within a firm. What makes
this technique exciting for a taught audience is
Agent-Based Modeling Toolkits NetLogo,
that the models are inherently visual, as can be
RePast, and Swarm seen from the screenshots (Figs. 1, 2). Students can
see the dynamics of the interaction between
Reviewed by Duncan A. Robertson, University of War-
agents and the subsequent effect on other agents.
wick, UK.
This generally sparks a discussion between stu-
Management educators are always seeking new dents, and can therefore, be used as a discussion
and exciting ways of teaching key concepts to their tool in order to initiate debate, debate that may
students. Agent-based models are one way of com- well be augmented with the use of other teaching
municating management ideas using a method methods such as case studies. While the use of
that is inherently visual— one that can capture the agent-based models alone is often not sufficient to
attention of students and executives alike. explain all the intricacies of a chosen manage-
Agent-based models are gradually making their ment concept, they can supplement traditional
way into management research. Although this re- techniques. Agent-based models are particularly
view does not consider the use of agent-based suitable for modeling complex systems, where
models in management research and does not give many agents interact; there is therefore scope for
an in-depth insight into agent-based modeling using these toolkits to illustrate some of the more
concepts (readers may wish to consult Robertson, recent concepts within management, particularly
forthcoming, for these purposes), what is intended those where the micro level behavior of individu-
is to expose readers to a small selection of agent- als affects the global, macro properties of a sys-
based modeling packages to see whether and how tem.
they can incorporate them into their teaching. As with any new method, knowing where to start
“Agents” can include firms, people within orga- can be a significant obstacle in introducing the
nizations, or entire industries: Agent-based model- technique into a course. I review three agent-
ing allows the user to define the interactions be- based modeling toolkits in order to point readers to
526 Academy of Management Learning & Education December

an appropriate place to start investigating agent- wide set of “libraries” for developing models. As
based models, to decide whether there is a place with NetLogo, several sample models are avail-
for them in their courses: NetLogo, RePast, and able that are easily downloaded and run. However,
Swarm. to extend these models requires a reasonable ef-
The first is NetLogo, a system that is very easy to fort, for example in installing a facility such as
install and to operate: Users can explore models JBuilder for editing Java programs. One of the key
without any technical knowledge; an extensive features of RePast is that it was set up and is
“models library” exists so that users can see the maintained by a group of social scientists, which
types of models that have been made using the means that social networks, genetic algorithms,
toolkit. These are generally well documented, the systems dynamics, and geographical information
documentation being easily accessible through systems (GIS) are all supported. However, the time
the “information” tab within the program. Param- to develop a new model will be significant unless
eters of the model are easily changed using graph- you have relatively good Java programming skills.
ical “sliders.” For those who want to change the But there is a good community of model builders,
details in a model, clicking on the “procedures” tab all keen to support new members of the RePast
brings up the entire model code, which can easily community (Figure 2).
be changed in order to extend the sample models. For completeness, I also mention Swarm, as this
NetLogo provides a very accessible introduction to may often be considered as a viable option by
agent-based modeling. This is a very useful first people new to agent-based modeling. Swarm is
step after which users can decide whether the now looking relatively geriatric at the early age of
technique is one that warrants further investiga- about 10 years. Although still very usable by the
tion (Figure 1). expert, it is not designed specifically for social
For those more adventurous readers, or those science applications, and is not well supported. It
with some experience in programming, RePast is is also extremely tricky to install or run success-
the obvious next step. It provides an extremely fully.

TABLE 1
Selected Agent-Based Modeling Packages

NetLogo RePast Swarm

Developed by Northwestern University Repast Organization for Swarm Development Group


(Center for Connected Architecture and (originally Santa Fe Institute)
Learning and Computer- Development (originally
Based Modeling) University of Chicago Social
Science Research
Computing)
Advantages Very easy to set up and run Many users, good support The precursor to RePast and to a
models. from the RePast community lesser extent NetLogo
Example models Many Many Only a few are readily
available.
Disadvantages Very complicated models are Need to be able to understand Extremely difficult to install and
outside the capability of a programming language run on a Windows computer.
NetLogo, mainly for abstract (e.g., Java)
models.
Time required to start building A few hours A few days A few weeks
models for programming
novice
Limitations Models created cannot be Very versatile system. Models Difficulty in installation, not
easily extended. can be extended very easily well supported, especially by
subject to at least some the social science community
knowledge of e.g., Java.
Support from academic High High—especially from social Relatively low
community sciences academic
community
Active maintenance of High High Low
software
Additional features 3D visualization of models. GIS implementation Complicated to install
Models can be embedded in
web pages.
2005 Book & Resource Reviews 527

So which toolkit to use? In summary, NetLogo (for management-specific models will become avail-
beginners wanting to make models work), or Re- able to our community. For the moment, we have to
Past (for people wanting to extend models or for start with models from other disciplines (such as
those with good programming skills). Swarm is the social science or natural science) that can be
grandfather of them all and is not recommended, adapted to shed light on management problems.
at least initially for the nonexpert. This is a call to arms for educators to get their
All the toolkits ultimately provide a similar end hands dirty—to download NetLogo to see what
result: the ability to model, to manipulate, and models exist, to use tools such as NetLogo to de-
inspect agents. NetLogo has a simple interface, velop their own models, then (if still enthusiastic)
models can be set up and run with only the push of to develop their own models using RePast. And
one or two buttons; to produce the model such as finally, to report their findings back to AMLE so
the one illustrated takes just 50 lines of simple that we may share in their rich experiences.
code. Compare this to the simulation in Figure 2,
using RePast, which requires 950 lines of code,
much of it quite complicated. However, this reflects REFERENCES
the potential complexity of each of these toolkits: NetLogo, http://ccl.northwestern.edu/netlogo/
NetLogo is good for setting up simple simulations
Repast, http://repast.sourceforge.net/
very quickly, while RePast allows simulations, per-
haps trialed using NetLogo, to be expanded and Robertson, D. A. In press. Agent-based models in management
made more sophisticated (Table 1). research. Organizational Research Methods.
As more educators develop their own models, Swarm, http://www.swarm.org/
View publication stats

You might also like