How do you use Excel Solver to solve a transportation problem? (2024)

  1. All
  2. Linear Programming

Powered by AI and the LinkedIn community

1

Step 1: Define the problem

Be the first to add your personal experience

2

Step 2: Set up the spreadsheet model

Be the first to add your personal experience

3

Step 3: Activate Excel Solver

Be the first to add your personal experience

4

Step 4: Specify the settings and parameters

Be the first to add your personal experience

5

Step 5: Run Excel Solver

Be the first to add your personal experience

6

Step 6: Interpret and analyze the solution

Be the first to add your personal experience

7

Here’s what else to consider

Be the first to add your personal experience

A transportation problem is a type of linear programming problem that involves finding the optimal way to allocate a limited supply of goods or resources to a given number of destinations or demands. For example, you might want to minimize the total cost of shipping products from several factories to different customers, or maximize the total profit of delivering services from various locations to different regions. Excel Solver is a powerful tool that can help you solve transportation problems by setting up a spreadsheet model and applying the appropriate constraints and objective function. In this article, we will show you how to use Excel Solver to solve a transportation problem in six steps.

Find expert answers in this collaborative article

Experts who add quality contributions will have a chance to be featured. Learn more

How do you use Excel Solver to solve a transportation problem? (1)

Earn a Community Top Voice badge

Add to collaborative articles to get recognized for your expertise on your profile. Learn more

1 Step 1: Define the problem

To begin, it's essential to define the problem precisely and identify the related data and parameters. This includes understanding the supply from each source or origin (e.g. the amount of products available at each factory), the demand of each destination or sink (e.g. the amount of products required by each customer), and the cost or benefit of transporting one unit of goods or resources from each source to each destination (e.g. the shipping cost or profit per product). You can organize this data into a table or matrix format, where the rows represent sources, columns represent destinations, and cells represent costs or benefits. Additionally, you need to decide whether you want to minimize or maximize the objective function, which is typically the total cost or profit of the transportation plan.

Add your perspective

Help others by sharing more (125 characters min.)

2 Step 2: Set up the spreadsheet model

To set up the spreadsheet model in Excel, you need to create three main sections: a data section to enter supply, demand, and cost or benefit data; a decision variables section to enter the amount of goods or resources transported from each source to each destination; and an objective function section to calculate the total cost or profit of the transportation plan. To ensure consistency and accuracy, formulas or references can be used to link the sections. Additionally, it is important that the decision variables are non-negative and that the supply and demand constraints are satisfied, meaning that the sum of the decision variables in each row must be equal to the supply of that source, and the sum of the decision variables in each column must be equal to the demand of that destination.

Add your perspective

Help others by sharing more (125 characters min.)

3 Step 3: Activate Excel Solver

The third step is to activate Excel Solver, which is an add-in that you can access from the Data tab in Excel. If you do not see the Solver button in the Data tab, you might need to install or enable it from the Excel Options menu. Once you activate Excel Solver, a dialog box will appear where you can specify the settings and parameters for solving the transportation problem.

Add your perspective

Help others by sharing more (125 characters min.)

4 Step 4: Specify the settings and parameters

The fourth step in solving a transportation problem is to specify the settings and parameters for the Excel Solver dialog box. This includes selecting the cell that contains the objective function value as the Set Objective box and choosing whether you want to minimize or maximize the objective function by selecting Min or Max in the Equal To box. Additionally, you should select the range of cells that contains the decision variables as the By Changing Variable Cells box, and add supply and demand constraints by clicking on the Add button and entering the appropriate formulas or references in the Cell Reference, Constraint, and Value boxes. Simplex LP is recommended as the Solving Method for linear programming problems. Other options and settings, such as precision, iteration, and tolerance can be adjusted depending on preferences and needs.

Add your perspective

Help others by sharing more (125 characters min.)

5 Step 5: Run Excel Solver

The fifth step is to run Excel Solver by clicking on the Solve button in the Excel Solver dialog box. Excel Solver will try to find the optimal solution for the transportation problem based on the settings and parameters you specified. If Excel Solver finds a feasible and optimal solution, it will display a message that says Solver found a solution. You can then choose whether you want to keep or restore the original values, or generate reports that show more details and information about the solution.

Add your perspective

Help others by sharing more (125 characters min.)

6 Step 6: Interpret and analyze the solution

The final step is to interpret and analyze the solution that Excel Solver found. You can look at the values of the decision variables, which show how much goods or resources are transported from each source to each destination. You can also look at the value of the objective function, which shows the total cost or profit of the transportation plan. You can compare different scenarios and solutions by changing the data or parameters and running Excel Solver again. You can also use sensitivity analysis or what-if analysis to examine how changes in the data or parameters affect the solution and the objective function.

Add your perspective

Help others by sharing more (125 characters min.)

7 Here’s what else to consider

This is a space to share examples, stories, or insights that don’t fit into any of the previous sections. What else would you like to add?

Add your perspective

Help others by sharing more (125 characters min.)

Linear Programming How do you use Excel Solver to solve a transportation problem? (5)

Linear Programming

+ Follow

Rate this article

We created this article with the help of AI. What do you think of it?

It’s great It’s not so great

Thanks for your feedback

Your feedback is private. Like or react to bring the conversation to your network.

Tell us more

Report this article

More articles on Linear Programming

No more previous content

  • How do you improve the convergence and accuracy of cutting plane and simplex methods for linear programming? 6 contributions
  • How do you formulate a MINLP problem for optimal design of a chemical process?
  • How do you teach or learn the graphical method of linear programming effectively and efficiently? 4 contributions
  • How do you integrate data and models in a MINLP problem using machine learning or artificial intelligence? 1 contribution
  • What are some common sources of uncertainty and variability in linear programming problems?

No more next content

See all

More relevant reading

  • Linear Programming How do you use Excel Solver for linear optimization in different fields and applications?
  • Process Simulation How do you choose the best solver for your process simulation in Excel?
  • Operations Research Your business is growing, but you’re struggling to manage your team’s workload. What tools can help?
  • Engineering Design How can you effectively manage complex data visualization requirements in HMI programming projects?

Are you sure you want to delete your contribution?

Are you sure you want to delete your reply?

How do you use Excel Solver to solve a transportation problem? (2024)

FAQs

How do I run Solver to solve a problem in Excel? ›

Click Data > Solver. After you define a problem, in the Solver Parameters dialog box, click Options. Select the Show Iteration Results check box to see the values of each trial solution, and then click OK. In the Solver Parameters dialog box, click Solve.

Which Microsoft Excel function used to solve the transportation model? ›

Solver is the Microsoft Excel function used to solve the transportation model.

How do you solve the transportation problem? ›

A transportation problem can be solved in three steps: creating a transportation matrix, finding an initial feasible solution, and checking whether the solution is optimal.

What is the formula of transportation problem? ›

A transportation scheme is a complete specification of how many units of the product should be shipped from each warehouse to each outlet. Therefore, the decision variables are: xij = the size of the shipment from warehouse i to outlet j, where i = 1, 2, ..., m and j = 1, 2, ..., n. This is a set of m × n variables.

Is there a Solver formula in Excel? ›

The Excel Solver function is located on the Data Ribbon and the keyboard shortcut on Windows is Alt, A, Y21. Once the dialog box appears you will notice several options you can work with. Set the “Objective” cell. In our case, this is Profit.

How to use Excel qm transportation? ›

Click on the Excel QM tab → Alphabetical → Transportation. In the Spreadsheet Initialization window, be sure to identify that we have three origins and three destinations and we want to minimize our costs. Click OK. A spreadsheet will display.

What is the formula for total transportation cost? ›

This can be done by estimating the fuel consumption and mileage for each shipment and multiplying it by the applicable fuel costs and vehicle maintenance expenses. Consider the wages of drivers involved in the transportation process and any additional fees or charges imposed by carriers or logistics providers.

What is the transportation cost problem? ›

In simple words, the main objective of the Transportation problem is to deliver (from the source to the destination) the resources at the minimum cost. It is also referred to as the Hitchco*ck Problem. It involves transporting a single product from 'm' source (origin) to 'n' destinations.

How to solve transportation problem using the least cost method? ›

Hence, the various steps involved in this method are as follows: Step 1: Find the cell with the least (minimum) cost in the transportation table. Step 2: Allocate the maximum feasible quantity to this cell considering the supply as well as demand. Step 3: Eliminate the row or column where an allocation is made.

What is the transportation problem basically _______________? ›

The transportation problem is a special type of linear programming problem where the objective is to minimise the cost of distributing a product from a number of sources or origins to a number of destinations. Because of its special structure the usual simplex method is not suitable for solving transportation problems.

How do you use Excel to solve math problems? ›

After the equal sign (=), you can type two numbers and a math operator to create a simple formula. For example, you could simply type =5+20, or =5*20. But to create a formula that you would not have to change, even if you change one of the values, type the cell reference and a math operator. For example, A1 + B1.

Top Articles
Latest Posts
Article information

Author: Sen. Ignacio Ratke

Last Updated:

Views: 5979

Rating: 4.6 / 5 (56 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Sen. Ignacio Ratke

Birthday: 1999-05-27

Address: Apt. 171 8116 Bailey Via, Roberthaven, GA 58289

Phone: +2585395768220

Job: Lead Liaison

Hobby: Lockpicking, LARPing, Lego building, Lapidary, Macrame, Book restoration, Bodybuilding

Introduction: My name is Sen. Ignacio Ratke, I am a adventurous, zealous, outstanding, agreeable, precious, excited, gifted person who loves writing and wants to share my knowledge and understanding with you.