Solution to transportation problems