We give an efficient algorithm for computing a Cournot equilibrium when the producers are confined to integers, the inverse demand function is linear, and costs are quadratic. The method also establishes existence, which follows in much more generality because the problem can be modelled as a potential game.

## Citation

School of Operations Research and Information Engineering, Cornell University, Ithaca, NY 14853, USA.