# Searching for the Perfect ‘Rebalancing’ Algorithm

Dozens of papers have been published to create the perfect commuting algorithm. But how do you account for factors like the weather? Or even local politics?

What’s wrong with the picture above?

The picture captures a protected bike lane on 9th Avenue in New York City. In the center of the image is an empty Citibike docking station. Citibike is the largest bike share program in the country – with nearly 100,000 annual members – and there are ambitious plans for expansion.

There is one problem in particular, however, that will need to be solved if commuters are going to continue to rely on this service. That is, the service must be reliable, meaning you can’t have a situation like the one depicted in the image above. If you go to a docking station and there is no bike for you, you will be late for work. If this happens routinely, you will either lose your job or have to find another way to commute.

Call it the rebalancing problem. When a flood of commuters arrives at Grand Central Station or Penn Station, the available bikes will vanish in a New York minute. So box trucks and bike trailers are used to move bikes from station to station, “rebalancing” the supply based on demand. But how can Citibike’s dispatcher, and his or her counterpart in 500 other bike share programs worldwide, anticipate where the bikes will be needed and when? How do you account for factors like the weather? Or, as we will see below, local politics?

Enter the math geniuses. Dozens of papers have been published to solve this problem by creating the perfect commuting algorithm. Henry Grabar at Salon neatly summarizes the messy issues that planners must incorporate into their rebalancing algorithms:

Cities place and maintain docks in areas with low ridership — as a political gesture, in anticipation of future use, or to provide a transit option to an otherwise isolated place. Could a computer be made aware of these priorities, which may detract from the system’s total ridership per bicycle? If a computer program prized bicycle miles traveled over total rides taken, how would the rebalancing effort be different?

Related
Ditch the old brain vs. heart assumptions, and instead think about a heart-led brain.
In logic, ‘reductio ad absurdum’ shows how flawed arguments fall apart. Our absurd Universe, however, often defies our intuitive reasoning.
As the world warms, trees in forests such as those in Minnesota will no longer be adapted to their local climates. That’s where assisted migration comes in.
A small Ohio town tried to escape America’s addiction to rectangular grids. It didn’t last long.
NASA’s only flagship X-ray telescope ever, Chandra, still works and has no planned successor. So why does the President want to kill it?

Up Next
We all feel compassion towards our offspring, but what about the stranger on the street? What about the person who has a different skin color or a different religion?