Building a Simple Hotelling Model in 2D


This tutorial simulates businesses competing for customers based on location and price. This extends the principles of the Hotelling model which analyzed the optimal locations of businesses along a one-dimensional line. We will use HASH to build it in a 2D space.

Two agents competing for customers by moving around a "market"

This model demonstrates some basic principles of spatial and price competition.

Join our community of HASH developers