The Panama canal saves about 8000 miles, which about 2 weeks time at 20 knots, plus fuel and crew, insurance, etc. That comes to $285k per day. Depending on the wait time (I've seen 20 days wait time in the past), that might be a rational decision even without considering late penalties.