Optimal Control for Mixed Traffic Inter-Terminal Transport