Competitive Algorithms from Competitive Equilibria | Synapse