Yes, the math behind the system in TFA was discovered by none other than
John Von Neumann, who is also credited with inventing the aritechture that all modern computers are based on. FPGA routing and layout design uses path finding algorithms, the similarity is that they are both optimisers. MinMax, path finding and other optimization algorithms are all part of a branch of maths called Operations Research, or simply "logistics" to Americans. It gained it's original name and it's connection with computers during WW2.
I helped build a dispatch system similar to the one in TFA for a large telco in the 90's that planned and dispatched jobs for 6,000 linesmen and technicians. The thing spent all night calculating the most efficient plan only to have a half dozen PHB's screw it up at 5am with unwritten rules such as Senator Dick Waver needs his phone fixed now! It would then spend all day trying to work around their manual overrides via 2min partial optimization runs. That $100M system would now run on a cheap laptop. It's grandchild is still a "mission critical" system but I imagine the PHB's have got enough hardware grunt to recalculate on the fly these days.
To be honest efficient planning wasn't the original reason they implemented the system, getting the workers into a company van they could take home (union), with a laptop and phone backed by automated dispatching (engineering), meant they (PHB's) could sell $600M of prime real estate the (ex-government) depots had been sitting on for over half a century.