Scarf's Method
This function computes a price vector that clears all markets in the demand and supply system specified by the user. The algorithm solves for approximations to equilibrium prices using a modification of Herbert Scarf's simplex algorithm proposed by James MacKinnon and Harold Kuhn. The function returns a 1xN price vector that sums to unity.
References:
* Harold W. Kuhn and James G. MacKinnon, 1975. The sandwich method
for finding fixed points. Journal of Optimization Theory and
Applications, 17, 189-204.
* Herbert E. Scarf, 1977. The computation of equilibrium prices:
An exposition. Handbook of Mathematical Economics, K. J. Arrow &
M.D. Intriligator (ed.), Handbook of Mathematical Economics,
edition 4, 2(21), 1007-1061.
* Andreu Mas-Colell, Michael D. Whinston and Jerry R. Green, 1990.
Part IV: General Equilibrium. Microeconomic Theory. Oxford
University Press, 511-786.
Cite As
Richard Katzwer (2026). Scarf's Method (https://www.mathworks.com/matlabcentral/fileexchange/48715-scarf-s-method), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.4.0.0 | Fixed bug with initial price vector guess. |
||
| 1.3.0.0 | Cleaned up optional parameter passing. |
||
| 1.2.0.0 | Updated documentation, variable output arguments. |
||
| 1.1.0.0 | Updated method documentation, variable output arguments. |
||
| 1.0.0.0 |
