commodities-auction.compute.demand-correspondence

Demand correspondence for an individual market.

build

(build market-parameters)(build {supply :supply, demand :demand, entry :entry, total-demand :total-demand, :as market-parameters} price)
Builds correspondence between optimal import bundles and market price.
Arguments to this function must include parameters of import supply curves,
market demand and total demand in the network of commodity markets. If
provided, search for demand set starts from the specified price level.

price-inc

(price-inc ids {entry :entry, :as market-parameters} {p :price})
Measures price increment for next iteration in English auction
from single market data. Arguments to this function must include
list of importers in the excess demand set, market parameters and
current market price.

rebuild

(rebuild market-parameters {price :price, k :k})
Rebuilds correspondence between optimal import bundles and market price
starting from necessary price for imports obtained in the previous iteration
of English auction. Arguments to this function must include market parameters
and results of previous iteration.