As of 2030, the Rotterdam region will only have electric or hydrogen buses. How do you make sure that electric buses are never without battery capacity? That a faulty charging station is not an issue? This requires an optimum distribution of charging stations and charging times, but that is proving to be a highly complex issue. Public transport company RET looked for a solution in advanced analytics. RET selected IBM ILOG CPLEX Optimization Studio with support from Axians.