Transportation problem calculator