169 points · by frostmatthew · 9y ago · 109 comments
The challenge for practical implementations is that there are lots and lots and lots of optimization factors that are very hard to account for. Often, you don't even know what they are until you try to automate the process.
For example: preferring small buses on side streets, as the article mentions. Or, knowing about a major work project in an area (to avoid for the coming year), or specific left turns that are tough for a bus. Also, highly optimized schedules usually have (by definition) much less "slack" in the overall system, and are less resilient to real world changes and variations.
My point: in my experience, there can often be a significant gap between enthusiastic technologists (myself included) and real-world implementations.
Anyhow, to add to your point, you can model all you want - but some drunk is going to reverse the wrong way down a one way street.
One of these days, maybe I'll get around to putting my experiences into giant walls of text.
It was a pretty wild ride. I have a Ph.D. in Applied Mathematics and actually did my research with vehicular traffic because the date was free. I actually expected to remain in academia, but was given the chance to contract with a government agency, even before I'd done my defense.
Basically, I helped take the art of traffic modeling to the computer age. I say helped because I stood on the shoulders of giants.
I'd eventually be able to hire competent programmers and a real IT staff. Eventually we'd model pedestrian traffic, in addition to vehicular traffic. We would also sell solutions that companies could implement on their own.
The recession hit. The US gov announced they were going to invest billions in highway infrastructure. This made the company quite valuable and I was given an exceptionally good offer. So, I sold it and don't regret that decision at all. I'm happily retired and find lots of things to keep me amused.
There is a whole lot more to the story but that's the gist of it. I'm the same KGIII you may have seen on Slashdot.
But, if you have a question - I may know. I have done quite a bit of reading, but no academic research and no publications with regards to rail transport.
Routing algorithms can come up with extremely efficient routes, which can serve as a starting point for the human route planner to fix (to account for real-world knowledge).
Consider the alternative where the human route planner starts from scratch.
https://www.fastcompany.com/3004319/brown-down-ups-drivers-v...
Naively looking at a map, you'd think a roundabout route had potential to be shorter, but not realize the road was gravel.
Surface data in OpenStreetMap is pretty incomplete, but it is easy to add to a road and is well used when present (cycle routing is a popular use of OSM and avoiding soft and uneven surfaces is handy for cycle routing).
If you save a business organization money, they appreciate it.
If you save a government organization money, the next year the "savings" is likely to be deducted from their budget. They don't get to benefit from the savings and thus their motivations aren't what you might expect if you are used to dealing with businesses.
It makes sense but when I encountered this the first time it caught me by surprise. I mean who wouldn't want to save money, right?
So if i spent $500 eating lunch at work two years ago; $600 last year and plan/allocated $610 this year i had a "budget cut?" no. I spent more.
Thats how i think
> In hopes of spending less this year, the school system offered $15,000 in prize money in a contest that challenged competitors to reduce the number of buses.
Is that based on past experience?
Actually most non-VC startup companies are heavily focused on opportunities to reduce their spending so long as it does not effect their ability to grow revenue
As they say, a marginal dollar saved "drops straight to the bottom line" (profits).
They work for the people, after all.
There is also this practice in organizations where money is allocated in "pots"[1]. For example, there is probably a pot for hardware/computers and a different pot for software. If you save them money on hardware, they don't automatically get to spend the savings on software.
(I thought you were unfairly down-voted so I up-voted you.)
[1] The correct term escapes me at the moment.
They should incentivize efficiency. In government, it would be citizen impact per employee. If you have more, you make more money, if you have less, you make less.
Do you think it would actually possible to quantify this in a way that:
1. Accurately represented "reality"?
2. Couldn't/wouldn't be gamed?
Seems challenging to me.
But if you make it annual standard operating procedure, then you are paying people to create spreadsheets and documents rather than, say, do something useful.
And the money will funnel to the people who are awesome at creating spreadsheets and documents rather than the people who are good at doing useful stuff.
Effective oversight requires understanding the domain and being motivated to continually improve things.
As the article notes, they've tried this before and the algorithmically generated route map didn't work well in real life. Assuming the algorithm was good, the issue was probably that it didn't incorporate significant real-life factors.
Perhaps they are getting more sophisticated though, by having the people who have been doing this work by hand review the results and make adjustments (as the article says, e.g., at first the algorithm allowed big busses on narrow streets, which apparently doesn't work well).
Speaking of the people who have been doing the route maps manually... they seem to have been doing an impressive job since the algorithm is expected to be only 4% better.
I say all of this more to make the argument that rather than retrofit old buses, in my opinion it makes more sense to outright replace them. Right now Proterra is the largest domestic producer of pure electric buses. They compete on most contracts with BYD in China, and New Flyer in Canada. Behind BYD and the government, the electric bus market in China has absolutely exploded over the last several years. Proterra is anticipating high growth in the U.S. market as well and just launched a new factory in LA last month [2].
[1]https://www.proterra.com [2]https://www.forbes.com/sites/alanohnsman/2017/07/26/proterra...
While aerodynamic teardrops are most efficient that means nothing if the up front cost is prohibitive.
Also, efficiency and a box that's strong enough to appease the "think of the children" types are very much at odds with each other.
For a bus with low mile requirements some boxes to hold batteries and a big DC motor where the engine goes would work fine.
The "scaled up golf cart" architecture works well if the route does not change and is very cheap to implement.
On your second point, a bus doesn't necessarily have to have a heavy steel frame for it to be safe. There are plenty of lighter weight (e.g. composite/carbon fiber) solutions which don't sacrifice safety.
Sure, if the mileage requirements are low then there's definitely a cost-effective retrofit solution. But if you're a company already building a full electric bus and investing a lot of R&D into the pack design anyway, then you could probably just sell battery solutions to school bus companies as another revenue stream. I'd wager, though, that the larger addressable market is customers looking for new electric buses for longer routes.
[1]http://www.columbia.edu/~ja3041/Electric%20Bus%20Analysis%20... [2]https://www.nrel.gov/docs/fy16osti/65274.pdf
Buses are designed for many years of service with long-lived and easy to replace parts. On the safety front they are painted yellow and have some lights. That's pretty much it. They don't even have seat belts.
It looks to me like efficiency trumps safety in this case.
"Pursuant to these requirements, federal safety regulations applicable to bus manufacturers have been developed. There are a total of 37 federal motor vehicle safety standards that apply to school buses. Many of these also apply to other types of motor vehicles, but several (among them standards 131, 220, 221, and 222) are written specifically for school buses."[1]
As for seatbelts,
"Large school buses are heavier and distribute crash forces differently than passenger cars and light trucks do. Because of these differences, bus passengers experience much less crash force than those in passenger cars, light trucks and vans."[2]
It seems that even weight[3] is a safety consideration.
[1] https://www.cga.ct.gov/2004/rpt/2004-R-0730.htm [2] https://www.nhtsa.gov/road-safety/school-buses [3] http://www.americanschoolbuscouncil.org/love-the-bus/educato...
In addition, the lifetime of a bus isn't measured in the same way cars are. They are purchased once a decade, never retrofitted, and not every bus is replaced with that purchase. With that in mind it will probably be another 2 sales cycles before we see any.
I'm not saying it can't be done, just that it is harder than it looks.
School buses also have secondary uses as evacuation vehicles so relying on electric isn’t a secure option. Hurricane Katrina, for example, used hundreds of buses for evacuations and it would have been extremely difficult to charge a bunch of buses off generators.
Also, school districts are in the business of education, not transportation, so they may not see themselves as the people who should be leading in this area. If someone else (transit agency, airport shuttle company, etc.) tries something and proves that it works long term, they may then feel comfortable following along, but as far as I know, that hasn't happened yet because by definition it takes a long time to prove that.
A typical service day for a school bus can be pretty packed.
[0] https://www.blue-bird.com/blue-bird/Press-Releases/Blue-Bird...
What do you think what kinds of algorithm makes schedules for trashbin collection, newspaper delivery, sodapop machines etc.
If you aren't ondemand and there's multiple drivers there is someone who can optimize it to (almost) optimality.
This is a pickup & delivery problem and the algorithms exist and work in practice for decades.
I work within the trash collection industry and we've tried several different optimization schemes that in general don't come close to optimal efficiency. The marketing for a lot of the optimization companies would lead you to believe that they're able to unlock a lot more efficiency than they actually deliver. Our clients that have applied algorithms to optimize their routes quickly reverted to human optimization since the algorithms fail to provide any benefit and typically require tremendous effort to get started.
I would love to discover an algorithm that is able to consistently provide actually optimized collection routes without hand holding!
At that rate, they could save many more millions by switching to Uber or some other ride sharing service.
I feel like it would be an awesome project to dissect a large public institutions funding and to discuss ways that algorithms can help reduce costs without reducing the quality of service and agility of the organization.
The site would not allow me to read the full article, so I might have missed something.
http://facebook.com/l.php?u=https://www.wsj.com/articles/how...
There is only so much efficiency you can squeeze out with an algorithm. But, think scale. This is only in Boston. What if this team offered up the algorithm to all schools and other public transit authorities in the country? Think how many miles driven (less miles = less wear and tear, less opportunity for accidents to occur) and dollars would be saved.
Want to do it as a for profit taking a cut of the savings? Cool. Want to do it as a non-profit funded by the DOE out of a grant? That'd work to. It appears there are hundreds of millions of dollars in savings to be realized out there from this, which is awesome.
We have found with many real-world scenarios, that at a much smaller scale we could save easily up to 40% in driving time and fuel costs. When we studied cases of 20+ vehicles and ~1000 stops, sometimes the savings were up to 60%.
In one scenario we took 8 cars off the road form a fleet of 30. [1] That's 26% compared to the article's 11.5%. Not to discount its results, dropping 75 bus routes is incredible! Imagine dropping another 75 :)
Note that since this is an NP-complete problem, the larger the size of the problem, the more constraints you add, the harder it is for any human route planner to plan routes efficiently -- so the larger the potential efficiency gains for an algorithm.
Disclaimer/plug: founder of Routific here.
Points below properly define problem above:
* capacitated pickup and delivery with time windows (NP-hard)
* capacity of around 20-60
* every child has to stay maximum T minutes in the bus from the moment it is picked up
* each bus can work simultaneously on delivering to multiple schools (covered by standard p&d algorithms)
* additional routing/map constraints for roads/vehicle constraints - like minibus drivers being constrained to ares with different housing etc.
I'm pretty sure the third point is a tricky one, implementation and speed wise, last one too. I'm skeptical that your API could solve the problem for 600 vehicles off-the-shelf. Not to mention that pickup&delivery slows things down extremely compared to capacitated VRP. Each optimising step is a venture into heavy graph theory. Or one can use easy heuristics and fail miserably by exploring too little of constrained space.
I'm skeptical of these large savings. I've personally worked with some top logistics people that did amazing things with pencils and rulers. Trumping these methods gained savings of about 10-15%.
Not to mention the optimizing time. It is impossible (if algorithm is not heavily optimized) to search through enough space for these heavily constrained problems in short amount of time (couple of minutes) to get 60% savings. I might be too critical, but I doubt that Common Lisp algorithm can achieve those kinds of speeds.
What if a child was forgotten, how much will the replanning time impact the real world workflow. All sorts of invisible issues.
Depends. If the same routes have been in use for a long time, odds are they are already really optimized. Bus drivers will take the same route year after year, and make suggestions to optimize it (often times by "going off route" now and then, which is very much against the rules, but at times very much needed), and those suggestions will get rolled in next year.
5 or 10 years of incremental improvements add up.
http://facebook.com/l.php?u=https://www.wsj.com/articles/how...