Chapter 8 · SimulationBraess’s Paradox? ← Chapter 8 Top S→A→T Bottom S→B→T Zigzag S→A→B→TAssigned0Avg. cost0Optimum avg.0Cost ÷ optimum— CloseHow to playN drivers travel from S to T. Click a route button to send the next driver; the small number on each button is the travel time that driver would get. Fill selfishly lets every driver pick their own fastest route; Social optimum applies the assignment that minimizes total travel time. Turn the A→B shortcut on or off to compare the two networks.The network (the classic Braess example)S→A and B→T can congest: travel time = 40 × (number of drivers on the edge) / N.A→T and S→B are wide roads with a fixed time of 45.The A→B shortcut takes 0.Without the shortcut, drivers split evenly and everyone arrives in 20 + 45 = 65. With the shortcut open, the zigzag route S→A→B→T is always at least as fast for a single driver, so in equilibrium everyone uses it and arrives in 40 + 40 = 80. Adding a free road made everyone slower: Braess’s paradox.What does it show?This is a congestion game: the cost of a route depends on how many players use its edges, so each driver’s choice changes the others’ incentives. Every driver ignores the delay imposed on others (the congestion externality), so the selfish equilibrium can differ from the social optimum. More options do not always mean a better collective outcome; network design must account for equilibrium behavior, not only physical capacity.Modes and levelsYou assign drivers: try to beat the selfish outcome or to rebuild the optimum by hand.Assign + hint: the currently fastest route for the next driver is highlighted (myopic best response).Simulation: the network is filled selfishly on every reset.Levels change the number of drivers (8, 16, 24); edge times scale so that the classic 65 versus 80 comparison is preserved.Reading the resultsAvg. cost is the average travel time of the assigned drivers. Optimum avg. is the smallest average achievable in the current network. Cost ÷ optimum (once all drivers are assigned) is 1.00 for the best assignment; anything above 1 is an efficiency loss. The table on the left compares the selfish equilibrium and the optimum in the network with and without the shortcut. The status line tells you whether a complete assignment is a Nash equilibrium (no driver can switch to a faster route).