ArticleslgStudy

computer science

Market equilibrium computation

Market equilibrium computation is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Market equilibrium computation rather than just read about it. In short: Market equilibrium computation (also called competitive equilibrium computation or clearing-prices computation) is a computational problem in the intersection of economics and computer science. The input to this problem is a market, consisting of a set of resources and a set of agents.

Key takeaways

  • Market equilibrium computation belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Market equilibrium computation to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Market equilibrium computation from memory before moving on to harder problems.

Reference excerpt

Market equilibrium computation (also called competitive equilibrium computation or clearing-prices computation) is a computational problem in the intersection of economics and computer science. The input to this problem is a market, consisting of a set of resources and a set of agents. There are various kinds of markets, such as Fisher market and Arrow–Debreu market, with divisible or indivisible resources. The required output is a competitive equilibrium, consisting of a price-vector (a price for each resource), and an allocation (a resource-bundle for each agent), such that each agent gets the best bundle possible (for him) given the budget, and the market clears (all resources are allocated). Market equilibrium computation is interesting due to the fact that a competitive equilibrium is always Pareto efficient. The special case of a Fisher market, in which all buyers have equal incomes, is particularly interesting, since in this setting a competitive equilibrium is also envy-free. Therefore, market equilibrium computation is a way to find an allocation which is both fair and efficient. Since the 1960s, there has been attempts to apply the general equilibrium theory to support policy decisions in subjects such as tax reform or simultaneous tariff reductions. These models are typically large, so efficient computation is needed.

Definitions The input to the market-equilibrium-computation consists of the following ingredients:

A set of m resources with pre-specified supplies. The resources can be divisible (in which case, their supply is w.l.o.g. normalized to 1), or indivisible . A bundle is represented by a vector 𝐱=x1,…,xm, where xj is the quantity of resource j. When resources are indivisible, all xj are integers; when resources are divisible, the xj can be arbitrarily real numbers (usually normalized to [0,1]). A set of n agents. For each agent, there is a preference relation over bundles, which can be represented by a utility function. The utility function of agent i is denoted by ui. An initial endowment for each agent. In a Fisher market, the endowment is a budget Bi of "fiat money" - a money that has no value outside the market, and thus does not enter the utility function. Since the agents come with money only, they are often called buyers. In an Arrow–Debreu market, the endowment is an arbitrary bundle 𝐞i; in this model, agents can be both buyers and sellers. The required output should contain the following ingredients:

A price-vector 𝐩=p1,…,pm; a price for each resource. The price of a bundle is the sum of the prices of the resources in the, so the price of a bundle 𝐱 is 𝐩⋅𝐱=∑j=1mpj⋅xj. An allocation - a bundle 𝐱i for each agent i. The output should satisfy the following requirements:

The bundle 𝐱i should be affordable to i, that is, its price should be at most the price of agent i's endowment. In a Fisher market, this means that 𝐩⋅𝐱i≤Bi. In an Arrow-Debreu market, this means that 𝐩⋅𝐱i≤𝐩⋅𝐞i. The bundle 𝐱i should be in the demand set of i: 𝐱i∈Demandi(𝐩), defined as the set of bundles maximizing the agent's utility among all affordable bundles (regardless of supply), e.g., in a Fisher market: Demandi(𝐩):=arg⁡max𝐩𝐱≤Biui(𝐱) The market clears, i.e., all resources are allocated. The corresponding prices are called market-clearing prices. A price and allocation satisfying these requirements are called a competitive equilibrium (CE) or a market equilibrium; the prices are also called equilibrium prices or clearing prices.

Kinds of utility functions Market equilibrium computation has been studied under various assumptions regarding the agents' utility functions.

Concavity: the most general assumption (made by Fisher and Arrow&Debreu) is that the agents' utilities are concave functions, i.e., display diminishing returns. This assumption is very common in economics. Homogeneity: In some cases, it is assumed that the utilities are homogeneous functions. A special case is utilities with constant elasticity of substitution (CES). Separability: A utility function is called separable if the utility of a bundle is the sum of the utilities of the individual resources in the bundle, i.e., ui(𝐱)=∑j=1mui,j(xj). Piecewise-linearity is a special case of separability, in which the utility function for each individual resource, ui,j(xj), is a piecewise linear function of xj. This assumption is common in computer science, as it allows a finite representation of the utility functions. Utilities that are piecewise-linear and concave are often called PLC; if they are also separable, then they are called SPLC. Linearity is an even more special case, in which the utility function for each individual resource is a linear function. That is, ui(𝐱)=∑j=1mui,j⋅xj, where ui,j are constants. Lenotief utilities are a special case of PLC utilities.

Main results

Approximate algorithms Herbert Scarf presented a proof of existence of a CE using Sperner's lemma (see Fisher market). He converted this proof to an algorithm for computing an approximate CE. In his later work, he continued to develop these algorithms. Merrill gave an extended algorithm for approximate CE. Other algorithms for fixed-point computation, such as the homotopy method, can also be used to compute CE. All these algorithms do not have a polynomial runtime guarantee.

Hardness results Papadimitriou (who invented the class PPAD) proved that computing an approximate CE for Arrow-Debreu markets given by aggregate excess demand functions is PPAD-complete. Later results have shown PPAD-hardness even for more specific classes of utility functions:

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Market equilibrium computation

Start with the simplest possible case. Write down what Market equilibrium computation claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Market equilibrium computation before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Market equilibrium computation ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Market equilibrium computation

In research
Market equilibrium computation appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Market equilibrium computation in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Market equilibrium computation is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computational economics, Market (economics), so understanding it makes those chapters shorter.
In everyday life
Look for Market equilibrium computation outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Market equilibrium computation” →

How to study Market equilibrium computation in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Market equilibrium computation means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Market equilibrium computation out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Market equilibrium computation in simple terms?

Market equilibrium computation (also called competitive equilibrium computation or clearing-prices computation) is a computational problem in the intersection of economics and computer science. The input to this problem is a market, consisting of a set of resources and a set of agents.

Why does Market equilibrium computation matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Market equilibrium computation?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Market equilibrium computation.

Tags

  • Computational economics
  • Market (economics)

Keep exploring