Transshipment Optimization - Plant -> Distribution Center -> Customer (transship_opt)
Optimize the flow from Plant to Customer through Distribution Center. Visualize the network and solution.
Transshipment Optimization - Plant -> Distribution Center -> Customer
Purpose
The Transshipment Optimization function helps in finding the most cost-effective way to transport goods from plants to distribution centers and then to customers.
Use Cases
- When you need to optimize the transportation of goods from multiple plants to various distribution centers and customers.
- When you want to minimize transportation costs while meeting the demand from customers.
How to Use
- Enter the required information in the input fields.
- Click on the "Calculate" button to get the optimized solution.
- View the network chart showing the optimized transportation routes.
Input Values
- Supply - The capacity of plants
-
Description: The maximum amount of goods that can be supplied by each plant.
-
Distribution - The distribution centers
-
Description: The locations where goods are stored before being sent to customers.
-
Demand - The demand from customers
-
Description: The quantity of goods required by each customer.
-
Cost - The transportation costs
- Description: The cost of transporting goods from plants to distribution centers and then to customers.
Output Values
- Network - The optimized transportation routes
-
Description: A visual representation of the most cost-effective way to transport goods.
-
Solution - The optimized solution details
- Description: Information on the quantities of goods to be transported along each route.
Any other Instruction
- Ensure to enter accurate values for supply, demand, and costs to get the best optimization results.
- Review the network chart to understand the transportation routes visually.
Code Analysis
- The function calculates the optimized transportation routes by solving a transshipment network problem.
- It uses the provided supply, distribution, demand, and cost data to find the most cost-effective solution.
Technical Parameters
supply, distribution, demand, cost
Return Values
Network, Solution
Example Expressions
You can use the following expressions to directly evaluate in a non-interactive manner using eva():
transship_opt(supply=pd.DataFrame({'Plant': ['P1', 'P2'], 'Capacity': [100, 125]}),
distribution=pd.DataFrame({'DC': ['D1', 'D2']}),
demand=pd.DataFrame({'Customer': ['C1', 'C2', 'C3'], 'Demand': [25, 95, 80]}),
cost=pd.DataFrame({'From': ['P1', 'P1', 'P2', 'P2', 'D1', 'D1', 'D1', 'D2', 'D2', 'D2'],
'To': ['D1', 'D2', 'D1', 'D2', 'C1', 'C2', 'C3', 'C1', 'C2', 'C3'],
'Cost': [190, 210, 185, 205, 175, 180, 165, 235, 130, 145]}))
transship_opt(supply=pd.DataFrame({'Plant': ['P3', 'P4'], 'Capacity': [150, 200]}),
distribution=pd.DataFrame({'DC': ['D3', 'D4']}),
demand=pd.DataFrame({'Customer': ['C4', 'C5', 'C6'], 'Demand': [50, 75, 100]}),
cost=pd.DataFrame({'From': ['P3', 'P3', 'P4', 'P4', 'D3', 'D3', 'D3', 'D4', 'D4', 'D4'],
'To': ['D3', 'D4', 'D3', 'D4', 'C4', 'C5', 'C6', 'C4', 'C5', 'C6'],
'Cost': [200, 220, 195, 215, 185, 190, 175, 245, 140, 155]}))
Click on Help icon to open the help page on a separate window.