TMS for Middle Mile: Optimizing End-to-End Supply Chain Efficiency