Peter Diamond's Coconut Model (Heterogeneity and Learning) 1.0.0

An agent-based version of a simple search and barter economy conceived by Peter Diamond in 1982 is presented. The model is also known as Coconut Model. Two MatLab-Scripts provide implementations with heterogeneous and adaptive strategies (learning). In the model, agents are faced with production decisions that have to be evaluated based on their expectations about the future utility of the produced entity which in turn depends on the global production level via a trading mechanism. While the original dynamical systems formulation assumes an infinite number of homogeneously adapting agents obeying strong rationality conditions, the agent-based setting allows to discuss the effects of heterogeneous and adaptive expectations and enables the analysis of non-equilibrium trajectories. All model details, mathematical discussions about how the ABM relates to the original Diamond model as well as a series of computational experiments are presented in "Banisch/Olbrich (2016): The Coconut Model with Heterogeneous Strategies and Learning" which is currently under revision for the JASSS special section for Artificial Economics 2015 (AE15).
This is a companion discussion topic for the original entry at https://www.comses.net/codebases/5045/releases/1.0.0/