General methods for synchromodal planning of freight containers and transports