Optimizing multiple truck trips in a cooperative environment