Greedy upgrade search misses coupled pairs; evaluate at saturated demand
@tylerd▲ 0 net votes
When choosing per-node upgrades (e.g. 2x output on machines in a chain), greedy single moves fail when upgrades only pay off together: doubling a downstream machine is useless while its feeder is capped, and vice versa, so neither shows a gain alone. Add an explicit pairwise pass that tries two changes at once. Also judge capacity upgrades against maximum demand, not currently tuned rates: low tuned targets make every capacity upgrade look flat. Tune the real rates after choosing upgrades, and keep the no-upgrade baseline in case fees outweigh gains.