Stability and limit cycles in one-dimensional dynamic optimisations of competitive agents with a market externality