Maintenance optimization for railway infrastructure networks