Word-RAM auction problem instances and encodings #
Public input/output definitions and word-width fit lemmas for Bertsekas's Gauss–Seidel auction algorithms on the word RAM:
Cslib.Algorithms.WordRAM.Auction.Instance: exact(n + 1)-scaled integer assignment problem instance (encode,wordBound,maxMag,rowSpread,assignment,minCost,encodedMinCost).Cslib.Algorithms.WordRAM.Auction.EpsInstance: unscaledε-auction problem instance (encode,wordBound,assignment, plustoInstance,maxMag,rowSpread).
This module has no dependency on the Memory.Prog realization stack so clients can work with
Instance and EpsInstance without elaborating the Word-RAM refinement machinery.
Main definitions #
Cslib.Algorithms.WordRAM.Auction.Instance:(n + 1)-scaled integer assignment instance.Cslib.Algorithms.WordRAM.Auction.EpsInstance: unscaledε-auction instance.
Main results #
Cslib.Algorithms.WordRAM.Auction.Instance.natAbs_cost_le_maxMag,Cslib.Algorithms.WordRAM.Auction.Instance.sub_le_rowSpread: cost-matrix bounds.Cslib.Algorithms.WordRAM.Auction.Instance.encode_length,Cslib.Algorithms.WordRAM.Auction.Instance.inputFits_encode: encoding length and word-fit.Cslib.Algorithms.WordRAM.Auction.EpsInstance.encode_length,Cslib.Algorithms.WordRAM.Auction.EpsInstance.inputFits_encode:ε-auction encoding length and word-fit.
References #
Problem instance for exact minimum-cost integer assignment via Bertsekas's (n + 1)-scaled
auction (scaledAuction, ε = 1).
- n : ℕ
Common number of persons and objects.
Maximum entry magnitude max_{i, j} |cost (i, j)| (0 when n = 0).
Word-value envelope covering input words, workspace addresses, (n + 1)-scaled shifted costs,
prices, reduced costs, and accumulated total assignment cost (w = O(log n + log M)).
Minimum assignment cost encoded via Signed.encode.
Every word of inst.encode fits in w bits when Fits w inst.wordBound.
Maximum entry magnitude max_{i, j} |cost (i, j)| (0 when n = 0).
Word-value envelope covering input words, workspace addresses, shifted costs, reduced costs,
and object prices (w = O(log n + log M + log ε)).
Every word of inst.encode fits in w bits when Fits w inst.wordBound.