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

  1. Enter the required information in the input fields.
  2. Click on the "Calculate" button to get the optimized solution.
  3. View the network chart showing the optimized transportation routes.

Input Values

  1. Supply - The capacity of plants
  2. Description: The maximum amount of goods that can be supplied by each plant.

  3. Distribution - The distribution centers

  4. Description: The locations where goods are stored before being sent to customers.

  5. Demand - The demand from customers

  6. Description: The quantity of goods required by each customer.

  7. Cost - The transportation costs

  8. Description: The cost of transporting goods from plants to distribution centers and then to customers.

Output Values

  1. Network - The optimized transportation routes
  2. Description: A visual representation of the most cost-effective way to transport goods.

  3. Solution - The optimized solution details

  4. 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.


Plant Capacity
P1 100
P2 125
DC
D1
D2
Customer Demand
C1 25
C2 95
C3 80
From To Cost
P1 D1 190
P1 D2 210
P2 D1 185
P2 D2 205
D1 C1 175
D1 C2 180
D1 C3 165
D2 C1 235
D2 C2 130
D2 C3 145




Calculator: transship_opt, Created by: super, V#0: , Variant owner: , Link