A Multioutput Cost Function for Port Terminals: Some Guidelines for Regulation