Transportation problem objective
A transportation problem seeks the least-cost way to move products from supply locations (origins) to demand locations (destinations). The clip states this goal before introducing any formulas.
Joshua Emmanuel · YouTube · 6:40
This 120-second clip introduces the transportation problem as a linear-programming model for shipping goods from origins to destinations at minimum cost. It first defines the objective, then presents a concrete 2-by-3 example matrix with Boston and Toronto as plants and DC1, DC2, DC3 as distribution centers. The same data are redrawn as a bipartite network whose nodes carry supply or demand and whose arcs carry unit shipping costs. Finally, the clip defines one decision variable per route, counts the variables as , and introduces the compact indexed notation X_{ij} for larger models. No optimization solution is shown within this excerpt. This 120-second clip formulates a small transportation problem as a linear program. It defines route variables X_{ij}, builds a cost-minimization objective from the given unit shipping costs, writes supply inequalities at the two origins and demand equalities at the three destinations, adds nonnegativity, and then briefly begins an extension involving production costs without completing it. This 120-second clip explains a transportation problem as a linear program. It begins with a two-plant, three-destination network and writes the objective, supply constraints, demand constraints, and nonnegativity conditions. The narration then updates the objective by adding 20 to every Boston route cost and 18 to every Toronto route cost, producing the displayed coefficients 25, 26, 24, 24, 21, and 25. Next it distinguishes balanced from unbalanced transportation problems using the totals 800 and 750, then modifies DC1 demand to 300 so that total demand becomes 850 and exceeds supply by 50. To handle this demand-heavy imbalance, the clip introduces a dummy plant with supply 50 and zero cost, expands the model with , , , and finally presents an alternative approach that changes supply inequalities to equalities because all real supply is used up. This video segment presents the complete linear programming formulation for a transportation problem involving two plants (Boston, Toronto) and three distribution centers. It details the objective function for minimizing shipping costs and the constraints for supply and demand, noting that demand constraints are inequalities because total supply is less than total demand. The segment then demonstrates how to handle a prohibited shipping route (from Toronto to DC3) by adding an explicit constraint setting the corresponding variable to zero, rather than removing it from all equations.
Use the learning inspector for key ideas and moments, or open the reading tabs for the complete notes.
Generated from the video's visuals and explanation; not verbatim speech.
The clip opens by naming the subject: the linear programming formulation of the transportation problem.
It then states the core idea: goods are produced at supply locations, called origins, and must be transported to demand locations, called destinations, so that total cost is minimized.
To make the idea concrete, the video introduces a transportation matrix. Rows are origins, columns are destinations, the right-hand column lists supplies, the bottom row lists demands, and the interior cells list unit shipping costs.
In the example, Boston has supply 300 and Toronto has supply 500. The three destinations DC1, DC2, and DC3 have demands 200, 300, and 250. One highlighted cost entry shows that shipping one unit from Boston to DC2 costs $6.
The same data are then redrawn as a network. The two plants become origin nodes, the three distribution centers become destination nodes, and each possible route becomes a directed arc from an origin to a destination.
Node labels carry quantities: supplies at the origins and demands at the destinations. Arc labels carry the unit shipping costs taken from the matrix.
Next the video defines the decision variables. Each route gets one variable measuring how many units are shipped along that route: , , from Boston, and , , from Toronto.
Because there is one variable per origin-destination pair, the total number of variables is the number of origins times the number of destinations. Here that gives .
Finally, instead of listing every route separately, the clip introduces compact indexed notation: X_{ij} denotes the number of units shipped from plant i to distribution center j. This prepares the transition from a small worked example to a general LP formulation.
The clip opens on a transportation network with two origins, Boston and Toronto, and three destinations, DC1, DC2, and DC3. The narrator defines the decision variables by route: is the number of units shipped from plant to destination center , with for Boston and for Toronto, and for the three DCs. This establishes six variables total, one for each edge in the network.
The next step is the objective function. Because the goal is to minimize total shipping cost, each route variable is multiplied by its unit cost from the table and network diagram. The resulting expression is . The narration stresses that every route cost appears exactly once in the sum.
The model then adds one constraint for each node. At the origin nodes, total outbound shipments cannot exceed available supply. For Boston this gives , and for Toronto it gives . The visual emphasis on outgoing edges makes clear that these are flow-out constraints.
A key modeling point is made explicit: total supply is while total demand is , so supply exceeds demand. Therefore the origin constraints are written with rather than , because unused capacity is allowed.
At the destination nodes, the logic changes. Each DC must receive exactly the amount demanded, so inbound flows are set equal to the demand values. This yields , , and . The narrator explains that equality is appropriate because demand must be fully met and there is enough total supply to do so.
Finally, the clip adds nonnegativity restrictions. These may be written by listing all six variables or compactly as for all . With the objective, supply constraints, demand constraints, and nonnegativity together, the narrator identifies the complete LP model for the transportation problem.
In the last seconds, the video begins an extension: production costs of in Boston and in Toronto are introduced, and the narrator says these should be added to the shipping cost. The revised objective is not completed before the clip ends.
The clip opens on a fully written transportation LP. The decision variable is defined as , the number of units shipped from plant to distribution center , with and . The network diagram and table give Boston supply 300, Toronto supply 500, and demands 200, 300, 250, while the route costs are 5, 6, 4 from Boston and 6, 3, 7 from Toronto.
The first mathematical operation is an update to the objective. The narration says to add 20 to every unit shipped from Boston and 18 to every unit shipped from Toronto. Because the objective is a sum of route cost times shipment quantity, this means adding 20 to each Boston coefficient and 18 to each Toronto coefficient.
Carrying out that arithmetic gives the displayed updated objective . The structure of the constraints does not change in this step; only the cost coefficients are revised.
The lesson then shifts from algebraic updating to model classification. It states that if total supply equaled total demand, all constraints could be written as equalities. That situation is named a balanced transportation problem.
Using the numbers on screen, total supply is and original total demand is . Since , the original instance is unbalanced with excess supply. The narration also notes the opposite possibility, where demand exceeds supply.
A new scenario is introduced: DC1 demand rises from 200 to 300. Recomputing totals gives demand against unchanged supply 800, so now and the shortage is 50 units. This flips the imbalance from supply-heavy to demand-heavy.
To handle the demand-heavy case, the first method adds a dummy plant with supply 50. The dummy is not real inventory, so its unit and shipping costs are set to zero. In the LP this appears as new variables , new objective terms , and a dummy supply constraint .
The demand constraints are then expanded to include dummy shipments, for example . Conceptually, any positive dummy shipment records demand that cannot truly be satisfied, because the dummy units do not exist. Nonnegativity still applies to all variables.
The clip then presents a second method without a dummy node. Since demand exceeds supply, the argument is that all real supply will be exhausted, so the supply constraints are changed from inequalities to equalities: and .
Finally, because some destination demand cannot be fully met, the demand equalities are to be relaxed as well. The video explicitly announces this change, but the clip ends before the complete final demand-side inequality form is fully shown on screen.
The video displays the complete linear programming model for a transportation problem. The objective is to minimize the total cost: . The constraints include supply limits for Boston () and Toronto (), and demand limits for the distribution centers. Because the total supply (800) is less than the total demand (850), the demand constraints are formulated as inequalities, such as for DC1.
The narrator introduces a scenario where shipping from Toronto to DC3 is prohibited, perhaps due to high cost or distance. While one could simply remove the variable from the model, this is inefficient for large models. A better approach is to add an explicit constraint: . This effectively eliminates the route without altering the structure of the other equations.
A transportation problem seeks the least-cost way to move products from supply locations (origins) to demand locations (destinations). The clip states this goal before introducing any formulas.
In the matrix shown, rows are origins, columns are destinations, the right column gives supplies, the bottom row gives demands, and the interior cells give unit shipping costs. The example has Boston supply 300, Toronto supply 500, and DC demands 200, 300, 250.
The matrix can be converted into a bipartite network. Circles are nodes: origins on one side and destinations on the other. Directed arrows are arcs representing possible shipping routes. Supplies and demands attach to nodes, while unit costs attach to arcs.
For this 2-by-3 example, each possible route gets its own variable: , , , , , . Each variable means the number of units shipped from that origin to that distribution center.
When every origin can ship to every destination, the number of decision variables equals the number of origins times the number of destinations. The example therefore has variables.
For larger problems, the video replaces the explicit list with a compact double-indexed variable. X_{ij} denotes the number of units shipped from plant i to distribution center j.
A transportation model uses one variable for each origin-destination pair. In this example, denotes units shipped from plant to DC , with and , giving six route variables.
The objective function sums unit shipping cost times shipment quantity over all routes. The coefficients come directly from the cost table and network edges.
Each origin constraint limits total outbound flow by available capacity. Because total supply is larger than total demand, unused capacity is allowed, so the constraints use .
Each destination constraint requires total inbound flow to match exact demand. Equality is used because demand must be fully satisfied.
All shipment variables must be nonnegative. This can be written variable by variable or compactly with indexed notation.
The full linear program combines the minimization objective, origin supply inequalities, destination demand equalities, and nonnegativity restrictions.
Near the end, the video introduces origin-specific production costs of in Boston and in Toronto and says they should be added to shipping cost, but the revised objective is not shown completely within this clip.
The clip formulates a transportation problem with decision variables , a minimization objective over route costs, supply constraints at plants, demand constraints at destinations, and nonnegativity restrictions. The network picture and the algebra are kept synchronized so each arc corresponds to one variable.
is the number of units shipped from plant to distribution center . In this example ranges over Boston and Toronto, while ranges over DC1, DC2, and DC3.
When an extra per-unit cost is attached to all shipments from one source, every outgoing-route coefficient for that source increases by the same amount. Here Boston gets +20 and Toronto gets +18, producing the updated objective shown on screen.
A transportation problem is balanced when total supply equals total demand. In that case the model can use equality constraints on both the supply and demand sides.
The example is unbalanced because aggregate supply and aggregate demand differ. The clip first shows supply exceeding demand, then creates the opposite case by raising DC1 demand.
When demand exceeds supply, a dummy plant can be added with supply equal to the shortage. Its cost is zero because the dummy units do not really exist; shipments from it represent unmet demand.
After adding the dummy source, each destination equation includes a dummy term. This keeps the algebraic structure of a transportation model while allowing part of the demand to be satisfied only artificially.
Instead of a dummy node, the clip proposes changing the supply constraints to equalities because all real supply is used when demand exceeds supply. It also states that the demand equalities must then be relaxed, though the final demand-side form is not fully shown before the clip ends.
The standard linear programming formulation for a transportation problem minimizes total shipping cost subject to supply and demand constraints. When total supply is less than total demand, demand constraints are written as inequalities () to reflect that not all demand can be met.
To prohibit a specific route in a transportation model, instead of deleting the corresponding variable from all equations, it is more efficient to add a constraint setting that variable to zero. This maintains the model's structural consistency while enforcing the restriction.
Explore conditions, steps and evidence. Supplementary explanations are labeled separately from content shown in the video.
The slide lists = # units shipped from Boston to DC 1.
The narrator says, “Let XB1 equal the number of units shipped from Boston to DC1.”
Number of units shipped from Boston to distribution center DC1.
Nonnegative shipment quantity in the transportation model.
The slide lists = # units shipped from Boston to DC 2.
The narrator says, “Then XB2 from Boston to DC2.”
Number of units shipped from Boston to distribution center DC2.
Nonnegative shipment quantity in the transportation model.
The slide lists = # units shipped from Boston to DC 3.
The narrator says, “and XB3 to DC3.”
Number of units shipped from Boston to distribution center DC3.
Nonnegative shipment quantity in the transportation model.
The slide lists = # units shipped from Toronto to DC 1.
The narrator says, “Similarly for Toronto we can use XT1, XT2 and XT3.”
Number of units shipped from Toronto to distribution center DC1.
Nonnegative shipment quantity in the transportation model.
The slide lists = # units shipped from Toronto to DC 2.
The narrator says, “Similarly for Toronto we can use XT1, XT2 and XT3.”
Number of units shipped from Toronto to distribution center DC2.
Nonnegative shipment quantity in the transportation model.
The slide lists = # units shipped from Toronto to DC 3.
The narrator says, “Similarly for Toronto we can use XT1, XT2 and XT3.”
Number of units shipped from Toronto to distribution center DC3.
Nonnegative shipment quantity in the transportation model.
The slide shows X_{ij} = # units shipped from Plant i to DC j.
The narrator says, “Let Xij equal the number of units...” before the clip ends mid-sentence.
The spoken definition is cut off at the end of the clip, but the on-screen formula is complete.
X_{ij}
General decision variable for the number of units shipped from plant i to distribution center j.
Nonnegative shipment quantity; i indexes origins/plants and j indexes destinations/distribution centers.
The transportation matrix shows Boston with Supply = 300.
The narrator states that Boston has a supply or capacity of 300 units.
300
Supply/capacity at the Boston origin.
Units of product available to ship from Boston.
The transportation matrix shows Toronto with Supply = 500.
The narrator states that Toronto has a supply or capacity of 500 units.
500
Supply/capacity at the Toronto origin.
Units of product available to ship from Toronto.
The transportation matrix shows Demand for DC1 = 200.
The narrator states that the destinations have demands of 200, 300, and 250 respectively.
200
Demand at destination DC1.
Units of product required at DC1.
The transportation matrix shows Demand for DC2 = 300.
The narrator states that the destinations have demands of 200, 300, and 250 respectively.
300
Demand at destination DC2.
Units of product required at DC2.
The transportation matrix shows Demand for DC3 = 250.
The narrator states that the destinations have demands of 200, 300, and 250 respectively.
250
Demand at destination DC3.
Units of product required at DC3.
The narrator defines the goal of a transportation problem as producing products at supply locations or origins and transporting them to destinations where they are demanded at minimum costs.
The slide shows Supply locations (Origins) pointing to Demand locations (Destinations) with the label Minimum Costs.
The transportation problem asks how to move goods from origins to destinations so that all demand is met while total shipping cost is minimized. In this clip the origins are supply locations and the destinations are demand locations.
There are supply locations/origins.
There are demand locations/destinations.
The objective is minimum cost.
A table labeled From/To lists rows Boston and Toronto, columns DC1, DC2, DC3, a Supply column, and a Demand row.
The narrator says they will write an LP formulation for this transportation matrix and then reads out the origins, supplies, destinations, demands, and costs.
The matrix organizes the problem into origins as rows, destinations as columns, unit shipping costs in the interior cells, supply capacities in the rightmost column, and demands in the bottom row. For this example, Boston has supply 300, Toronto has supply 500, and DC1, DC2, DC3 have demands 200, 300, 250 respectively.
Rows represent origins/plants.
Columns represent destinations/distribution centers.
Interior entries are unit shipping costs.
Right column entries are supplies.
Bottom row entries are demands.
The narrator says, “These circles are called nodes for the origins... and these are the nodes for the destinations,” then later, “The arrows from the origins to destinations are called arcs.”
The slide draws two origin nodes labeled Boston and Toronto, three destination nodes labeled DC 1, DC 2, DC 3, and directed arrows between every origin-destination pair with costs on the arrows.
A transportation problem can be drawn as a bipartite network: origin nodes on one side, destination nodes on the other, and directed arcs from each origin to each destination. Node labels carry supply or demand values, and arc labels carry unit shipping costs.
Origins and destinations are represented as separate node sets.
Each feasible route is represented by an arc.
Arc direction is from origin to destination.
The slide lists , , , , , with definitions as units shipped from each origin to each DC.
The narrator explicitly defines each variable in words.
For a concrete small instance, each possible shipment route gets its own variable. Here the six variables represent the quantities shipped from Boston to DC1, DC2, DC3 and from Toronto to DC1, DC2, DC3.
Each origin-destination pair corresponds to one variable.
The variable measures units shipped along that route.
The narrator says the number of decision variables is simply the number of origins multiplied by the number of destinations.
The slide shows .
If every origin can ship to every destination, the number of decision variables equals the number of origins times the number of destinations. In this example there are 2 origins and 3 destinations, so there are 6 variables.
The model includes one variable for each origin-destination route.
All origin-destination pairs are allowed in the count shown here.
The narrator introduces a short form for when listing every variable is inconvenient or there are too many variables.
The slide shows X_{ij} = # units shipped from Plant i to DC j.
The spoken sentence is truncated at the end of the clip, but the displayed definition is complete.
Instead of naming each route separately, one can use a double-indexed variable X_{ij}, where i identifies the plant/origin and j identifies the distribution center/destination. This compact notation scales to larger transportation problems.
i indexes origins/plants.
j indexes destinations/distribution centers.
X_{ij} denotes the shipment quantity on route (i,j).
The slide defines X_{ij} = # units shipped from Plant i to DC j and lists the six specific variables , , , , , .
The narrator explains that i indexes Boston and Toronto while j indexes DC1, DC2, and DC3.
The transportation problem is modeled with one variable for each origin-destination pair. Here there are two origins (Boston, Toronto) and three destinations (DC1, DC2, DC3), so the model uses six shipment variables. The subscript notation encodes the route: the first index is the plant and the second index is the destination center.
\{B,T\}
\{1,2,3\}
Each variable represents a nonnegative shipment quantity on a specific route.
The slide writes Min .
The narrator says the objective is to minimize cost and reads the first terms explicitly.
The cost matrix and network edges show the same coefficients 5, 6, 4, 6, 3, 7.
The objective function sums the unit shipping cost on each route multiplied by the corresponding shipment variable. The coefficients come directly from the cost table and the labeled network edges. The video emphasizes that every route cost is included once in the total.
The model minimizes total transportation cost.
Coefficients are per-unit shipping costs for each origin-destination pair.
The slide writes Subject to: and .
The narrator says the total amount shipped from each plant cannot exceed its capacity.
Red circles highlight Boston and Toronto while outgoing edges are highlighted during the explanation.
For each plant, the sum of shipments leaving that plant must not exceed the plant's available supply. Because total supply exceeds total demand, these constraints are inequalities rather than equalities.
One constraint per origin node.
Right-hand sides are the plant capacities.
Inequality form is used because supply is not required to be exhausted.
The slide writes , , .
The narrator says equality is used because demand must be met and there is enough supply to meet it.
Incoming edges to each DC are highlighted while the corresponding demand value is circled.
For each destination center, the total incoming shipments must exactly satisfy the stated demand. This gives one equality constraint per DC.
One constraint per destination node.
Equality form is used because demand must be fully satisfied.
Feasibility relies on total supply being at least total demand.
The slide writes , , , , , or X_{ij} .
The narrator says nonnegativity can be listed variable by variable or written compactly as X_{ij} for all i and j.
Shipment quantities cannot be negative. The model may state this either by listing all six variables or by using the compact indexed form for all routes.
Applies to every decision variable.
Required for a valid linear programming formulation.
A red box encloses the full model: objective, supply constraints, demand constraints, and nonnegativity.
The narrator concludes, 'And that's the LP model.'
The complete LP model consists of a minimization objective over all route variables, supply inequalities at origins, demand equalities at destinations, and nonnegativity restrictions. The video presents this as the standard formulation workflow for a transportation problem.
Two origins and three destinations.
Total supply exceeds total demand.
All costs are given per unit shipped on each route.
The narrator says total supply exceeds total demand, so capacity will not be exhausted.
A red comparison at the bottom shows .
When total supply exceeds total demand, origin-side constraints are written with rather than = because not all capacity must be used.
Total supply is greater than total demand.
Demand constraints require exact satisfaction.
For the given transportation instance with supply 800 and demand 750.
The narrator says equality is used because demand must be met and there is enough supply to meet it.
The destination constraints are written as equalities with right-hand sides 200, 300, and 250.
Destination-side constraints are written as equalities when the demand at each destination must be fully satisfied.
Each DC has a fixed required demand.
There is sufficient total supply to satisfy all demands.
For each destination node j in the model.
The narration states that if total supply were to equal total demand, equality could be used for all constraints.
The slide text reads If Total Supply = Total Demand.
If total supply equals total demand in a transportation problem, then the model can use equality constraints for all supply and demand constraints.
The problem is a transportation problem.
Total supply equals total demand.
For all supply and demand constraints in the balanced case.
The slide displays .
The narration says this problem is an unbalanced transportation example where supply exceeds demand.
In the original numerical example, total supply 800 exceeds total demand 750, so the problem is unbalanced with excess supply.
Boston supply is 300.
Toronto supply is 500.
DC demands are 200, 300, and 250.
For the displayed numerical instance.
The narration says suppose demand at distribution center one increases to 300 units.
The slide later shows .
The narration says demand exceeds supply by 50 units.
After DC1 demand increases from 200 to 300, total demand becomes 850 while total supply remains 800, so demand exceeds supply by 50 units.
Original total supply is 800.
Original DC1 demand is 200.
DC1 demand is changed to 300.
For the modified numerical instance.
The narration says these 50 units do not exist, so their cost per unit is zero and their shipping cost is also zero since they are not going to be shipped at all.
The dummy node is labeled $0.
The expanded objective includes +.
In the dummy-plant formulation, the dummy supply represents nonexistent units, so the associated unit and shipping costs are set to zero.
A dummy plant is introduced to cover a shortage of 50 units.
Dummy shipments stand for unmet demand rather than real transportation.
For all routes from the dummy plant to the distribution centers.
The narration says since demand exceeds supply, all available supply will be used up.
The supply constraints are shown being changed from to =.
The clip states the conclusion verbally and shows the supply-side change, but does not provide a formal proof.
In the demand-exceeds-supply scenario, the alternative formulation treats all available real supply as fully used, so the supply constraints become equalities.
Total demand exceeds total supply.
No dummy node is introduced in this alternative formulation.
For the real plants in the modified example.
The narrator explains that the number of decision variables is the number of origins multiplied by the number of destinations.
The slide displays next to the six listed variables.
Start from the rule stated in the video for counting route variables.
Directly stated by the narrator.
Substitute the example’s 2 origins and 3 destinations into the rule.
The matrix and network both show 2 origins and 3 destinations.
This transportation instance has 6 decision variables, matching the six route-specific variables listed on screen.
The narrator proceeds step by step from decision variables to objective function, then constraints, then nonnegativity, and finally states that this is the LP model.
Each stage appears sequentially on the slide in the same order.
Define one decision variable for each origin-destination route.
This is the standard way to represent shipment quantities in a transportation model.
Multiply each route variable by its unit shipping cost and sum all terms to form the objective.
The objective is to minimize total transportation cost, and the coefficients are read from the cost table and network diagram.
Write the Boston supply constraint by summing all shipments leaving Boston.
Total outbound flow from an origin cannot exceed its available capacity.
Write the Toronto supply constraint by summing all shipments leaving Toronto.
Total outbound flow from an origin cannot exceed its available capacity.
Write the DC1 demand constraint by summing all shipments entering DC1.
Each destination's demand must be met exactly.
Write the DC2 demand constraint by summing all shipments entering DC2.
Each destination's demand must be met exactly.
Write the DC3 demand constraint by summing all shipments entering DC3.
Each destination's demand must be met exactly.
Add nonnegativity restrictions for all route variables.
Shipment quantities cannot be negative in a physical transportation model.
The resulting linear program is a minimization objective subject to origin supply inequalities, destination demand equalities, and nonnegativity constraints.
The narration explains adding 20 to Boston route costs and 18 to Toronto route costs.
The original and updated objectives are both shown on screen.
Start from the original transportation cost objective shown on the slide.
Observed directly from the initial formula display.
Add 20 to each Boston-route coefficient because the extra cost applies to every unit shipped from Boston.
Stated in the audio and supported by the $20 label on Boston.
Add 18 to each Toronto-route coefficient because the extra cost applies to every unit shipped from Toronto.
Stated in the audio and supported by the $18 label on Toronto.
Simplify the arithmetic to obtain the updated objective shown on screen.
Direct numerical simplification of the previous line.
The updated objective is Min .
The table lists supplies 300 and 500 and demands 200, 300, and 250.
The slide later displays .
Sum the supplies at Boston and Toronto.
Read from the supply column of the table.
Sum the demands at DC1, DC2, and DC3.
Read from the demand row of the table.
Compare total supply and total demand.
Numerical comparison of the two totals.
The original instance is unbalanced with supply exceeding demand by 50 units.
The narration says DC1 demand increases to 300 units.
The slide later displays .
Total supply remains unchanged.
The plant supplies are not altered in the new scenario.
Recompute total demand after DC1 demand changes from 200 to 300.
Uses the updated DC1 demand stated in the audio and shown on screen.
Compare the unchanged supply total with the new demand total.
Numerical comparison.
Compute the shortage by which demand exceeds supply.
Difference of the two totals.
The modified instance is unbalanced with demand exceeding supply by 50 units.
A dummy node with supply 50 and cost $0 is added.
The expanded model shows new variables , , , new objective terms, and a dummy supply constraint.
The clip visually highlights the dummy additions but does not separately prove that the expanded model is equivalent to the original intent.
Introduce a dummy source whose capacity equals the shortage.
Stated in the audio and shown in the network diagram.
Add decision variables for shipments from the dummy source to each distribution center.
Shown in the expanded variable list and constraints.
Append zero-cost terms to the objective function for the dummy routes.
Explicitly shown in the updated objective and explained in the audio.
Add a supply constraint for the dummy node.
Shown on the slide as (Dummy's Supply).
Update the demand constraints to include dummy shipments.
Shown in the expanded demand-constraint block.
The dummy-plant formulation turns the demand-heavy instance into an expanded transportation model with zero-cost artificial supply representing unmet demand.
The matrix gives Boston supply 300, Toronto supply 500, demands 200, 300, 250, and cost entries 5,6,4; 6,3,7.
The narrator reads the data and then converts it into a network and decision-variable list.
The clip only formulates the model setup; it does not solve for optimal shipments.
Given two plants, Boston and Toronto, and three distribution centers, DC1, DC2, DC3, set up the transportation problem data and decision variables for an LP formulation.
Boston supply = 300.
Toronto supply = 500.
DC1 demand = 200.
DC2 demand = 300.
DC3 demand = 250.
Unit shipping costs: Boston→DC1 = 5, Boston→DC2 = 6, Boston→DC3 = 4, Toronto→DC1 = 6, Toronto→DC2 = 3, Toronto→DC3 = 7.
Represent the instance as a transportation matrix, then as a network, and define the decision variables needed for an LP formulation.
Place unit costs in the interior, supplies in the right column, and demands in the bottom row.
This is the matrix format explicitly shown and described in the video.
Convert the matrix into a bipartite network with one node per origin and destination and one directed arc per route.
The narrator draws exactly this network after introducing nodes and arcs.
Define one variable for each route as the number of units shipped on that route.
The slide and narration explicitly assign these meanings.
Count the variables by multiplying the number of origins by the number of destinations.
The narrator states this counting rule and the slide displays the arithmetic.
Replace the route-by-route listing with a compact indexed notation.
The final slide introduces this short form for larger models.
The instance is represented by the given cost/supply/demand matrix, equivalently by a bipartite network with 5 nodes and 6 arcs, and the LP uses 6 decision variables, either listed individually or written generally as X_{ij}.
The six listed variables correspond one-to-one with the six arcs in the network, and the count matches the number of origin-destination pairs in the matrix.
The slide presents a concrete two-origin, three-destination instance with cost table, supplies, demands, and network graph.
The narrator formulates this exact instance as an LP model.
The final extension with production costs begins but is not completed within the clip.
Formulate a transportation problem with two plants, Boston and Toronto, and three destination centers, DC1, DC2, and DC3, using the given unit shipping costs, supplies, and demands.
Unit shipping costs: Boston to DC1 = 5, Boston to DC2 = 6, Boston to DC3 = 4; Toronto to DC1 = 6, Toronto to DC2 = 3, Toronto to DC3 = 7.
Supplies: Boston = 300, Toronto = 500.
Demands: DC1 = 200, DC2 = 300, DC3 = 250.
Total supply = 800 and total demand = 750.
Write the complete linear programming model for minimizing total shipping cost.
Introduce six route variables: , , , , , .
Each possible shipment route needs its own decision variable.
Use the given unit costs as coefficients in the objective function.
Total cost is the sum of route cost times route shipment quantity.
Constrain total shipments out of Boston by Boston's supply.
Outflow from an origin cannot exceed available supply.
Constrain total shipments out of Toronto by Toronto's supply.
Outflow from an origin cannot exceed available supply.
Require total inflow to DC1 to equal its demand.
Demand must be fully satisfied at each destination.
Require total inflow to DC2 to equal its demand.
Demand must be fully satisfied at each destination.
Require total inflow to DC3 to equal its demand.
Demand must be fully satisfied at each destination.
Impose nonnegativity on all route variables.
Negative shipments are not meaningful.
The LP model is: Min subject to , , , , , and X_{ij}.
The coefficients match the displayed cost table and network edge labels; the right-hand sides match the displayed supplies and demands; the inequality/equality pattern matches the narrator's explanation that supply exceeds demand while demand must be met.
The slide shows the full initial LP with objective, supply constraints, demand constraints, and nonnegativity.
The network diagram shows Boston and Toronto connected to DC1, DC2, DC3 with route costs.
Formulate the transportation problem for two plants and three distribution centers using the displayed costs, supplies, and demands.
Boston supply = 300.
Toronto supply = 500.
DC1 demand = 200.
DC2 demand = 300.
DC3 demand = 250.
Route costs: Boston→DC1 = 5, Boston→DC2 = 6, Boston→DC3 = 4, Toronto→DC1 = 6, Toronto→DC2 = 3, Toronto→DC3 = 7.
Write the linear programming model.
Use route costs as coefficients of the shipment variables in the objective.
Directly read from the displayed model.
Constrain total shipments out of Boston by its supply.
Shown as (Boston's Supply).
Constrain total shipments out of Toronto by its supply.
Shown as (Toronto's Supply).
Meet DC1 demand exactly in the initial formulation.
Shown as (DC1's Demand).
Meet DC2 demand exactly in the initial formulation.
Shown as (DC2's Demand).
Meet DC3 demand exactly in the initial formulation.
Shown as (DC3's Demand).
Impose nonnegativity on all shipment variables.
Shown on the slide and stated in the audio.
The initial LP is Min subject to the displayed supply, demand, and nonnegativity constraints.
The totals implied by the data are supply 800 and demand 750, matching the later on-screen comparison .
The narration says to add 20 to Boston product costs and 18 to Toronto product costs.
The updated objective is displayed as Min .
Adjust the transportation objective when each unit shipped from Boston gains an extra cost of 20 and each unit shipped from Toronto gains an extra cost of 18.
Original Boston route costs are 5, 6, 4.
Original Toronto route costs are 6, 3, 7.
Extra Boston cost = 20 per unit.
Extra Toronto cost = 18 per unit.
Write the updated objective function.
Add 20 to each Boston-route coefficient.
The extra cost applies uniformly to all Boston shipments.
Add 18 to each Toronto-route coefficient.
The extra cost applies uniformly to all Toronto shipments.
Substitute the updated coefficients into the objective.
Matches the formula shown on screen.
Min .
Each updated coefficient equals the corresponding original coefficient plus the stated source-level surcharge.
The narration says suppose demand at distribution center one increases to 300 units.
The slide shows after the change.
Determine the effect on balance when DC1 demand increases from 200 to 300 while supplies stay the same.
Total supply = 800.
Original demands = 200, 300, 250.
New DC1 demand = 300.
Find the new total demand and the imbalance type.
Recompute total demand after replacing 200 by 300 for DC1.
Uses the updated demand value stated in the clip.
Compare total supply with the new total demand.
Matches the on-screen comparison.
Compute the shortage.
Arithmetic difference between demand and supply.
Total demand becomes 850, so demand exceeds supply by 50 units.
The clip explicitly states the shortage is 50 units and displays .
A dummy node with supply 50 and cost $0 is added to the network.
The expanded model shows + and .
The clip does not solve the LP numerically; it only formulates the dummy extension.
Reformulate the instance where demand exceeds supply by introducing a dummy plant.
Shortage = 50 units.
Dummy supply = 50.
Dummy unit cost = 0.
Real route costs remain as in the updated objective.
Extend the LP with dummy variables, dummy cost terms, dummy supply constraint, and updated demand constraints.
Create a dummy source equal to the shortage.
Stated in the audio and shown in the diagram.
Add zero-cost objective terms for dummy shipments.
Shown in the expanded objective and explained as nonexistent units.
Add the dummy supply constraint.
Displayed as (Dummy's Supply).
Update DC1 demand to include dummy shipments.
Shown in the expanded demand constraints.
Update DC2 demand to include dummy shipments.
Shown in the expanded demand constraints.
Update DC3 demand to include dummy shipments.
Shown in the expanded demand constraints.
The expanded model adds ,,, zero-cost objective terms, the constraint , and dummy terms inside the demand equations.
The dummy supply 50 exactly matches the previously computed shortage .
Title slide reads Linear Programming / Transportation Problem, then a simple graphic shows Supply locations (Origins) → Demand locations (Destinations) under Minimum Costs.
The narrator introduces the topic and states the goal of minimizing transport cost from origins to destinations.
Title text
Supply locations (Origins)
Demand locations (Destinations)
Arrow
Minimum Costs label
The slide first presents the title, then adds the origin-to-destination schematic.
The arrow visually links supply to demand under the cost-minimization objective.
Origins remain on the left and destinations on the right.
The objective label remains Minimum Costs.
The visual establishes the transportation problem as moving goods from sources to sinks at least cost.
A transportation matrix appears; red boxes and ovals successively highlight the Supply column, the DC headers, the Demand row, and the interior cost block.
The narrator reads supplies, demands, and then explains the meaning of the interior cost entries.
Transportation matrix
Boston row
Toronto row
DC1/DC2/DC3 columns
Supply column
Demand row
Interior cost cells
First the supply column is emphasized.
Then the destination headers are emphasized.
Then the demand row is emphasized.
Finally the interior cost block is boxed and one cell is singled out as an example.
The matrix dimensions stay 2 origins by 3 destinations.
The numerical data do not change during highlighting.
The highlighting teaches how to read a transportation table: rows are origins, columns are destinations, side entries are supplies/demands, and interior entries are unit costs.
Two origin circles appear first, then three destination circles, then supply/demand labels, then all six directed arcs with costs.
The narrator names the circles nodes and the arrows arcs while assigning capacities, demands, and shipping costs.
Boston node
Toronto node
DC 1 node
DC 2 node
DC 3 node
Supply labels
Demand labels
Six directed arcs
Cost labels on arcs
Origin nodes are drawn before destination nodes.
Supply and demand values are attached to the corresponding nodes.
Arcs are added one group at a time until every origin connects to every destination.
The network remains bipartite with origins on one side and destinations on the other.
Each arc direction is from an origin to a destination.
The animation translates the tabular data into graph form, making routes and their costs explicit.
A Decision Variables panel lists through ; the corresponding arc is highlighted in yellow as each variable is introduced.
The lower part of the slide later shows and then X_{ij} = # units shipped from Plant i to DC j.
The last spoken phrase is cut off, but the displayed indexed definition is complete.
Decision Variables panel
Six route variables
Network arcs
Yellow highlight
equation
Indexed variable X_{ij}
Variables are added sequentially from Boston routes to Toronto routes.
Each new variable highlights its matching arc in the network.
After the full list, the slide summarizes the count and then replaces the list with indexed notation.
There are always six origin-destination routes in the example.
The network structure does not change while variables are defined.
The visual pairing shows that each decision variable corresponds exactly to one arc, i.e., one possible shipping route.
The left side shows a cost/supply/demand table and a bipartite network with Boston and Toronto on the left and DC1, DC2, DC3 on the right.
The right side lists the decision-variable definitions.
Cost table
Network graph with two origins and three destinations
Decision-variable list
The general definition X_{ij} is highlighted.
The index sets for i and j are added beneath the general definition.
The supplies, demands, and unit costs remain fixed on the left side.
The visual layout links each algebraic variable to a specific edge in the network and a specific entry in the cost table.
As the objective function is written, individual terms such as and are highlighted in yellow.
Corresponding network edges are emphasized while their coefficients are discussed.
Objective function line
Network edges from Boston and Toronto to DCs
Each term in the objective is highlighted in sequence.
Matching route edges in the network are visually emphasized.
The numerical costs 5, 6, 4, 6, 3, 7 do not change.
The animation demonstrates that each coefficient in the objective comes from a specific route cost in the transportation network.
Boston is circled in red and its outgoing edges are highlighted while the first supply constraint is written; then Toronto is circled and its outgoing edges are highlighted.
A red comparison appears at the bottom after both supply constraints are shown.
Boston node
Toronto node
Outgoing edges
Bottom comparison annotation
Focus shifts from Boston to Toronto.
Outgoing edges are highlighted for each origin in turn.
A summary comparison of total supply and total demand appears.
Node capacities 300 and 500 remain unchanged.
The visuals connect each supply constraint to the total outflow from one origin node and explain why those constraints are inequalities.
DC1, then DC2, then DC3 are circled in red while incoming edges are highlighted and the corresponding equality constraints are boxed.
DC1 node
DC2 node
DC3 node
Incoming edges
Attention moves from one destination to the next.
Incoming edges to each destination are highlighted as its equality constraint is written.
Demand values 200, 300, and 250 remain unchanged.
The animation shows that each demand constraint aggregates all inbound flows to one destination node.
A large red rectangle encloses the full LP formulation on the right side of the slide.
Full objective function
All constraints
Nonnegativity statement
The separate lines are visually grouped into one complete model.
The mathematical content of each line is unchanged.
The boxed display signals that the formulation process is complete for the basic transportation model.
Labels $20 and $18 appear next to Boston and Toronto.
The narrator introduces production costs and says to add them to the shipping cost.
The revised objective function is not fully shown before the clip ends.
Boston node
Toronto node
New cost labels $20 and $18
New per-unit production costs are attached to the origin nodes.
The narration indicates the objective function will be modified.
The original shipping-cost structure and constraints remain visible.
The clip starts to extend the pure transportation cost model by incorporating origin-specific production costs, but the completed reformulation is outside this segment.
A bipartite network shows Boston and Toronto on the left and DC1, DC2, DC3 on the right with route labels 5,6,4,6,3,7.
A table lists supplies 300 and 500 and demands 200, 300, 250.
Boston node
Toronto node
DC1 node
DC2 node
DC3 node
route cost labels
supply/demand table
The route costs and node capacities establish the numerical instance.
Later overlays modify costs and demand values.
The graph structure is bipartite from plants to distribution centers.
The decision variables correspond to arcs in the network.
The visual layout links each algebraic term X_{ij} to a specific arc from a plant to a destination, making the LP formulation readable directly from the network.
Red boxes show $20 near Boston and $18 near Toronto.
Yellow highlights mark +20+ and +18+ over groups of objective terms.
Boston label $20
Toronto label $18
objective function terms
Boston-related coefficients are visually grouped for +20.
Toronto-related coefficients are visually grouped for +18.
The objective is rewritten with larger coefficients.
The set of decision variables remains the same during this step.
Only cost coefficients change, not supplies or demands.
The animation shows that a uniform surcharge at a source translates into adding the same constant to every outgoing-route coefficient in the objective.
The narrator explicitly distinguishes circles as nodes and arrows as arcs.
The network labels nodes with supply/demand and arcs with costs.
One might think the shipping costs belong to the nodes rather than the routes.
In this representation, nodes carry supply or demand amounts, while arcs carry the unit shipping cost for moving goods along that route.
The narrator states that the number of decision variables is the number of origins multiplied by the number of destinations.
The slide shows .
A learner may count only the visible places (for example, 5 nodes) and conclude there are 5 variables.
The variables correspond to routes (arcs), not nodes. With 2 origins and 3 destinations, there are route variables.
The narrator explicitly notes that total supply exceeds total demand and that this is why the less-than-or-equal sign is used.
The slide shows .
One might think every node constraint in a transportation problem must be an equality.
Origin constraints are inequalities here because excess supply may remain unused when total supply exceeds total demand.
The narrator says equality is used because demand must be met.
All destination constraints are written with = signs.
One might write destination constraints with or instead of =.
Because each destination's demand must be satisfied exactly, the inbound-flow constraints are equalities.
The narration says if total supply were to equal total demand, we could have used equality for all constraints.
The current model initially uses for supply and = for demand in the unbalanced case.
One might think a transportation LP always uses equality constraints on both supply and demand sides.
Equality on all sides is appropriate in the balanced case. When the instance is unbalanced, the formulation must distinguish between exhausted supply and unmet or excess demand.
The narration says these 50 units do not exist and are not going to be shipped at all.
The dummy node is labeled with $0 cost.
A dummy plant’s shipments could be mistaken for actual physical inventory being transported.
Dummy shipments are a modeling device for unmet demand. Their zero cost reflects that they are not real shipments.
The narration says since demand exceeds supply, all available supply will be used up.
The supply constraints are changed from to = only in that demand-heavy scenario.
One might assume plant supply constraints should always be written as equalities.
Whether supply constraints are inequalities or equalities depends on the balance situation and the modeling assumption about unused capacity.
After defining the goal, the narrator immediately says they will write an LP formulation for the transportation matrix.
The abstract origins/destinations graphic is followed by a concrete matrix of supplies, demands, and costs.
The general goal of minimizing transport cost is instantiated in the matrix by specifying particular origins, destinations, supplies, demands, and unit costs.
The narrator says, “Now let’s draw a transportation network for this problem” after explaining the matrix.
The same numerical data are redrawn as nodes, supplies/demands, and arcs with costs.
The matrix and the bipartite network encode the same transportation data in two different representations.
As each variable is named, the corresponding arc in the network is highlighted.
The narrator defines variables as units shipped from a specific origin to a specific destination.
Each arc in the network becomes one decision variable representing the shipment quantity on that route.
The narrator first lists all variables, then says that if there are too many variables one can use a short form.
The slide moves from ,..., to X_{ij}.
The indexed notation X_{ij} generalizes the explicit route-by-route listing to arbitrary numbers of plants and distribution centers.
The slide shows just before introducing X_{ij}.
The narrator explains the count rule and then motivates compact notation for larger models.
Understanding that variables correspond to origin-destination pairs helps explain why a double index i,j is the natural compact notation.
The objective function is written only after the variables X_{ij} have been defined.
The narrator moves from defining variables to stating the objective function.
The objective function is expressed in terms of the route variables, so the variable definitions must come first.
Supply constraints are sums of the previously defined route variables.
Each supply constraint aggregates the variables corresponding to outgoing routes from one origin.
Demand constraints are sums of the previously defined route variables entering each destination.
Each demand constraint aggregates the variables corresponding to incoming routes to one destination.
The final boxed model contains the objective, supply constraints, demand constraints, and nonnegativity together.
The narrator concludes that the assembled lines form the LP model.
The complete LP formulation contains the objective function as one of its main components.
The narrator contrasts inequality use at supply nodes with equality use at demand nodes.
Supply constraints use while demand constraints use =.
Origin constraints limit outflow with inequalities, whereas destination constraints enforce exact inflow with equalities.
The slide presents a transportation network together with an explicit linear objective and linear constraints.
The transportation model contains the decision-variable definition X_{ij} as its basic modeling ingredient.
The narration contrasts balanced and unbalanced cases using total supply and total demand.
The comparisons and are shown.
Balanced and unbalanced transportation problems are distinguished by whether total supply equals total demand.
The narrator defines the transportation problem goal in words.
The opening slide shows origins, destinations, and minimum costs.
The matrix displays rows, columns, supplies, demands, and costs.
The narrator explains each part of the matrix.
The narrator says circles are nodes and arrows are arcs.
The network diagram labels nodes and arcs differently.
The slide lists through and then X_{ij}.
The narrator defines each variable as units shipped on a route.
The narrator states the multiplication rule for counting variables.
The slide shows .
The slide shows X_{ij} = # units shipped from Plant i to DC j.
The narrator introduces a short form for larger models.
The spoken sentence is truncated at the clip boundary.
The slide explicitly defines X_{ij}.
The objective function is displayed term by term.
The narrator explains that the objective is to minimize cost.
The narrator says total supply exceeds total demand, so capacity is not exhausted.
The slide shows .
The narrator says demand must be met and there is enough supply to meet it.
Destination constraints are written as equalities.
The full model is boxed on screen.
The narrator says, 'And that's the LP model.'
Labels $20 and $18 appear next to the origins.
The narrator begins explaining that production costs should be added to shipping costs.
The revised objective is not completed within the clip.
Covered · Title card and spoken introduction to the topic; no separate mathematical statement beyond naming the subject.
Covered · Verbal definition of the transportation problem objective with a simple origins-to-destinations graphic.
Covered · Presentation and explanation of the transportation matrix, including supplies, demands, and unit costs.
Covered · Conversion of the matrix into a bipartite network with nodes, supplies/demands, arcs, and arc costs.
Covered · Explicit definition of the six route variables and derivation of the count .
Covered · Introduction of compact indexed notation X_{ij}; the spoken sentence is cut off but the displayed definition is complete.
Covered · Defines the indexed decision variables and their route interpretation.
Covered · Constructs the minimization objective from route costs.
Covered · Writes origin supply constraints and explains why they are inequalities.
Covered · Writes destination demand constraints and explains why they are equalities.
Covered · Adds nonnegativity and boxes the complete LP model.
Covered · Begins an extension with production costs $20 and $18, but the revised objective is not completed within this clip.
Covered · The entire clip is a continuous worked explanation of the transportation LP, including the initial model, cost update, balance discussion, dummy-plant reformulation, and the start of an alternative direct reformulation.
Covered · The entire clip covers the presentation of the LP model and the modification for a prohibited route.
Reviewed subject paths