Preview

ExcelSolverTutorial

Powerful Essays
Open Document
Open Document
1416 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
ExcelSolverTutorial
Tutorial: Using Excel for Linear
Optimization Problems
Part 1: Organize Your Information
There are three categories of information needed for solving an optimization problem in Excel: an Objective Function, Decision Variables, and
Constraints. It is simplest to organize these on paper before you start working with the spreadsheet. For tutorial purposes we will follow an example, “The
Cargo Problem”, from start to finish:
A shipping company has the capacity to move 100 tons of cargo per day by air. The company charges $250/ton for air freight.
Besides the weight constraint, the company can only move 50,000 ft3 of cargo per day because of limited volume of aircraft storage compartments. The following amounts of cargo are available for shipping each day:
Cargo
Weight (tons)
Volume (ft3/ton)
1
30
550
2
40
800
3
50
400
Maximize the profit for the shipping company.
¾ Set up this problem:
Objective Function: Profit = 250*(Cargo1 + Cargo2+ Cargo3) ($/week)
Decision Variables:
Cargo 1 (weight in tons)
Cargo 2
Cargo 3
Constraints:
Weight:
Cargo1 + Cargo2 + Cargo3 ≤ 100
Volume:
550*Cargo1 + 800*Cargo2 +400*Cargo3 ≤ 50000
Amount 1: Cargo1 ≤ 30
Amount 2: Cargo2 ≤ 40
Amount 3: Cargo3 ≤ 50
*Do not forget to include the trivial constraints!
Trivial 1:
Cargo1 ≥ 0
Trivial 2:
Cargo2 ≥ 0
Trivial 3:
Cargo3 ≥ 0

Part 2: Set Up the Problem in the Excel Spreadsheet
Solver is an Add-in for Microsoft Excel which is typically not enabled during the initial installation of Excel. If ‘Solver’ does not appear on the ‘Tools’ menu in
Excel, then you need to enable it as follows:
¾ Select the ‘Tools’ menu in Excel, and then choose ‘Add-ins’. Check the box titled ‘Solver Add-ins’ and then click ‘OK’. ‘Solver’ should then appear as an item on the Tools menu.
In order to enter your data and work with it in the most straightforward way it is best to stay organized by using consistent labels and columns. Refer to the following figure as one example for setting up this problem in a spreadsheet.
¾ Enter

You May Also Find These Documents Helpful

  • Powerful Essays

    Comp230-Intro to Scripting

    • 12553 Words
    • 51 Pages

    ________ data items may involve organizing them, checking them for accuracy, or performing mathematical operations on them.…

    • 12553 Words
    • 51 Pages
    Powerful Essays
  • Satisfactory Essays

    Rhonda Howard Resume

    • 326 Words
    • 3 Pages

    · Compiled, sorted and verified accuracy of data to be entered. JABA Charlottesville, VA Intern November 2012 to April 2013 · Entered alphabetic, numeric and symbolic data from source documents into computer, using data entry device, such as keyboard and optical scanner.…

    • 326 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Describe the advantages afforded by a user-friendly, "intelligent", data-entry screen as opposed to the default screen generated by a Database Management System for a particular application.…

    • 692 Words
    • 3 Pages
    Powerful Essays
  • Satisfactory Essays

    information and other types of data at the same time to make sure they are correct, it wouldn't be like looking at the same…

    • 318 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    a guide to mysql ch 7

    • 1287 Words
    • 9 Pages

    Security of data, simplicity for removing extra information and the ability to better examine data.…

    • 1287 Words
    • 9 Pages
    Powerful Essays
  • Satisfactory Essays

    Cs Programming Chapter 1

    • 2450 Words
    • 10 Pages

    ____ data items may involve organizing or sorting them, checking them for accuracy, or performing calculations with them.…

    • 2450 Words
    • 10 Pages
    Satisfactory Essays
  • Powerful Essays

    If you are not doing this assignment at Mt. SAC make sure you are using Excel 2007. You cannot use previous versions of Excel to complete this assignment. If you are doing this assignment in the lab, remember that you need a blue print card to use the lab printer.…

    • 3306 Words
    • 14 Pages
    Powerful Essays
  • Good Essays

    It can be extremely complicated and some users won’t understand what they are dealing with.…

    • 755 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Intro to Computers

    • 609 Words
    • 3 Pages

    | Allows users to organize data in rows and columns and perform calculations and recalculate when data changes.…

    • 609 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    2. Which of the following identifies the patterns used for each data series in a chart?…

    • 985 Words
    • 5 Pages
    Satisfactory Essays
  • Good Essays

    JGT Task 2

    • 1850 Words
    • 6 Pages

    Alistair Wu has requested that I look at what the lowest shipping schedule and cost can be based on data that he has provided. He wants to know what the lowest possible cost of shipping will can be. Mr. Wu is also considering increasing production at the Shanghai factory from 1,300 to 2,800 units, and wants to ensure that this growth will be an affordable choice. The first chart that was given lists the factory capacity and what each warehouse demand is. The second chart lists the price of shipping from each factory to each warehouse. The chart looks at the demand in the warehouses as well as the cost to ship there from each factory. It then generates a cost effective shipping plan to ship products to the warehouse with least shipping expense and fills those warehouses first. It then allocates additional products to other warehouses that have higher shipping prices. This is evident with Shuzworld H and Shuzworld F, the program ships the most products to the lower priced warehouses 1 and 3. Warehouse 1 need 2,500 units but Shuzworld F only produces 2,200 units. That means Warehouse 1 will take all off the units from Shuzworld F and still have a demand of 300 units. Warehouse needs 1,800 units and Shuzworld H produces 2,300 units. This means Warehouse 3 will receive all of its units from Shuzworld H and Shuzworld H will still have an excess of 500 units.…

    • 1850 Words
    • 6 Pages
    Good Essays
  • Powerful Essays

    P = .19X1 + 0.33X2 + 0.16X3 + 0.31X4 + 0.5X5 + 0.16X61 + 0.16X62 + 0.54X7 + 0.73X81 + 0.73X82 + 0X9 + 0.2X101 + 0.2X102…

    • 1097 Words
    • 5 Pages
    Powerful Essays
  • Good Essays

    They organize this information in their minds, and code it in ways that keep it usable and easily…

    • 2003 Words
    • 12 Pages
    Good Essays
  • Powerful Essays

    Ease of data entry, ease of access and data consistency are important as the project…

    • 1786 Words
    • 8 Pages
    Powerful Essays
  • Good Essays

    Protac

    • 827 Words
    • 4 Pages

    1. 2. 3. 4. 5. Solver y programación lineal El modelo Optimización Informes en excel Ejercicios…

    • 827 Words
    • 4 Pages
    Good Essays