Python codes for logistics optimization problems