A Functional Mathematical Optimization Algorithm for the Integration of the Tactical Berth, Crane and Vehicle Scheduling