Optimizing rail logistics for a global chemical producer and distributor