SlideShare una empresa de Scribd logo
1 de 7
Descargar para leer sin conexión
CIVL 1112                                                     Excel - Solver                                                               1/7




     Excel Solver Function                                                       Excel Solver Function
                                                                          What is the Excel Solver good for?
  What is the Excel Solver good for?
                                                                            Solvers, or optimizers, are software tools that help
  What must I do to use a solver?                                           users find the best way to allocate scarce resources.

  How do I define a model?
                                                                            The resources may be raw materials, machine time or
  What kind of solution can I expect?                                       people time, money, or anything else in limited supply.

  What makes a model hard to solve?                                        The "best" or optimal solution may mean maximizing
                                                                             profits, minimizing costs, or achieving the best possible
  Can you show me step by step?
                                                                               quality.




     Excel Solver Function                                                       Excel Solver Function
What must I do to use a solver?                                           What must I do to use a solver?

  To use a solver, you must build a model that specifies:                  Spreadsheets such as Excel provide a convenient way
                                                                             to build a model
     Th resources to be used, using d i i variables
      The            t b      d   i decision       i bl                     Anyone who has used a spreadsheet is already f
                                                                                       h h     d        d h        l   d familiar
                                                                                                                              l
     The limits on resource usage, called constraints, and                  with the process:
     The measure to optimize, called the objective.                            Cells on a worksheet can hold numbers, labels, or formulas that
                                                                                 calculate new values -- such as the objective of an optimization
  The solver will find values for the decision variables                       Constraints are simply limits (specified with <=, = or >=
   that satisfy the constraints while optimizing                                 relations) on formula cells
   (maximizing or minimizing) the objective.                                    And the decision variables are simply input cells containing
                                                                                 numbers




     Excel Solver Function                                                       Excel Solver Function
How do I define a model? Decision Variables                               How do I define a model? Decision Variables

 A solver deals with numbers, so you'll need to quantify                   For example, if you are shipping goods from 3 different
  the various elements of your model: decision variables,                    plants to 5 different warehouses, there are 3 x 5 = 15
  constraints, and the objective -- and their relationships                  different routes alon which products could be shipped
                                                                                               along

 Decision variables usually measure the amounts of                         So, you might have 15 variables, each one measuring the
  resources, such as time and money, to be allocated to                      number of products shipped along that route
  some purpose, or the level of some activity

 For example, the number of products to be manufactured,
  the number of pounds or gallons of a chemical required
  for some process, etc.
CIVL 1112                                                  Excel - Solver                                                     2/7




     Excel Solver Function                                                  Excel Solver Function
How do I define a model? Decision Variables                            How do I define a model? Objective

  In addition, you might also have 4 different product                  Once you've defined the decision variables, the next
   types, and you might want to plan shipments in each of                 step is to define the objective, which is a function that
   the next 6 months                                                      depends on the variables
  So this might lead to 15 x 4 x 6 = 360 variables
                                                                         For example, suppose you were planning how many units
  This illustrates how a model can become large rather                   to manufacture of three products:
   quickly!
                                                                                     TV sets, stereos, and speaker
  Part of the art of modeling is deciding how much detail
   is really required




     Excel Solver Function                                                  Excel Solver Function
How do I define a model? Objective                                     How do I define a model? Objective

  Your objective might be to maximize profit                            On a spreadsheet where the number of TV sets,
                                                                          stereos and speakers are in cells D9, E9 and F9
  Assume that:
           h        each TV set yields a profit of $ 5
                       h V         ld       f    f $75,                   respectively,
                                                                          respectively the formula would be:
                    each stereo $50, and
                    each speaker $35                                                  = 75*D9 + 50*E9 + 35*F9

  Then your objective function might be:
                                                                         You'd be finished at this point, if the model did not
                                                                          require any constraints
          75*TV sets + 50*stereos + 35*speakers




     Excel Solver Function                                                  Excel Solver Function
How do I define a model? Constraints                                   How do I define a model? Constraints
  In most models constraints play a key role in
   determining what values can be assumed by the                        General Constraints
   decision variables                                                    For example, the cell range A1:A5 contains the
                                                                                   p               g
                                                                          percentage of funds to be used to purchase 5
  Constraints reflect real-world limits on variables                     different types of material

  To define a constraint, you first compute a value based               You could use cell B1 to calculate =SUM(A1:A5)
   on the decision variables
                                                                         Then define a constraint of B1 = 1 so that the
  Then you place a limit (<=, = or >=) on this computed                  percentages allocated must sum up to 100%.
   value
CIVL 1112                                                Excel - Solver                                                       3/7




     Excel Solver Function                                                Excel Solver Function
How do I define a model? Constraints                                 How do I define a model? Constraints
                                                                     Physical Constraints
 Bounds on Variables
  Of course, you can also place a limit directly on a
              y             p                   y                     Many constraints are determined by the physical nature
   decision variable, such as A1 <= 100                                of the problem.

  Upper and lower bounds on the variables are efficiently            For example, if your decision variables measure the
   handled by most optimizers and are very useful in many              physical dimensions of an object, negative values for
   problems.                                                           these variables would make no sense.




     Excel Solver Function                                                Excel Solver Function
How do I define a model? Constraints                                 How do I define a model? Constraints
Physical Constraints                                                 Integer Constraints
                                                                      Advanced optimization software also allows you to
 This type of non-negativity constraint is very common
               non negativity                                          specify constraints that require decision variables to
                                                                       assume only integer (whole number) values at the
 Constraints such as A1 >= 0 must be stated explicitly,               solution
  because the solver has no other way to know that                    If you are scheduling a fleet of trucks, for example, a
  negative values are disallowed                                       solution that called for a fraction of a truck to travel a
                                                                       certain route would not be useful.
                                                                      Integer constraints normally can be applied only to
                                                                       decision variables, not to quantities calculated from
                                                                       them.




     Excel Solver Function                                                Excel Solver Function
What kind of solution can I expect?
 A solution (set of values for the decision variables) for
                                                                     What kind of solution can I expect?
  which all of the constraints in the Solver model are                A globally optimal solution is one where there are no
  satisfied is called a feasible solution                              other feasible solutions with better objective function
                                                                       values
 Most solution algorithms first try to find a feasible
  solution, and then try to improve it by finding another             A locally optimal solution is one where there are no
  feasible solution that increases the value of the                    other feasible solutions "in the vicinity" with better
  objective function (when maximizing, or decreases it                 objective function values
  when minimizing)
                                                                      The Solver is designed to find optimal solutions --
 An optimal solution is a feasible solution where the                 ideally the global optimum -- but this is not always
  objective function reaches a maximum (or minimum)                    possible
  value
CIVL 1112                                                          Excel - Solver                                                    4/7




     Excel Solver Function                                                          Excel Solver Function
What makes a model hard to solve?                                              Can you show me step by step?
 Three major factors interact to determine how                                Consider the following problem:
  difficult it will be to find an optimal solution to a solver                  Imagine that you are managing a factory that is building
  model:                                                                         three products TV sets, stereos and speakers
                                                                                       products:

    The mathematical relationships between the objective and
                                                                                Each product is assembled from parts in inventory, and
     constraints, and the decision variables
                                                                                 there are five types of parts: chassis, picture tubes,
    The size of the model (number of decision variables and                     speaker cones, power supplies and electronics units
     constraints)
                                                                                Your goal is to produce the mix of products which will
    The use of integer variables - memory and solution time may                 maximize profits, given the inventory of products on
     rise exponentially as you add more integer variables
                                                                                 hand




     Excel Solver Function                                                          Excel Solver Function
Can you show me step by step?                                                  Can you show me step by step?
 From this description, we can see that:                                       To assemble a TV set, you need 1 chassis, 1 picture
    The decision variables are the number of products to build                  tube, 2 speaker cones, 1 power supply and 2 sets of
    The objective function will be (gross) profit                               electronics
                                                                                To make a stereo, you need 1 chassis, 2 speaker cones, 1
 Assume that you can sell TV sets for a gross profit of                         power supply and 1 set of electronics
  $75 each, stereos for a profit of $50 each, and                               To build a speaker, all you need is 1 speaker cone and 1
  speaker cones for $35 each                                                     set of electronics
                                                                                The parts you have on hand are 450 chassis, 250
          75*TV sets + 50*stereos + 35*speakers                                  picture tubes, 800 speaker cones, 450 power supplies
                                                                                 and 600 sets of electronics




     Excel Solver Function                                                          Excel Solver Function
Can you show me step by step?                                                  Can you show me step by step?
 Before we implement this problem statement in either                          Building each product requires a certain number of
  Excel, let's write out formulas corresponding to the                           parts of each type.
  verbal description above.
                p                                                               The number of parts used depends on the mix of
 If we temporarily use the symbols:                                             products built (constraint left hand side), and the
    x for the number of TV sets assembled,                                      number of parts of each type on hand (constraint right
    y for the number of stereos, and                                            hand side):
    z for the number of speakers,                                                        1 x + 1 y + 0 z <= 450 (Chassis)
                                                                                          1 x + 0 y + 0 z <= 250 (Picture tubes)
 The total profit is:                                                                    2 x + 2 y + 1 z <= 800 (Speaker cones)
                                                                                          1 x + 1 y + 0 z <= 450 (Power supplies)
            Maximize 75 x + 50 y + 35 z (Profit)
                                                                                          2 x + 1 y + 1 z <= 600 (Electronics)
CIVL 1112                                                      Excel - Solver                                                  5/7




    Excel Solver Function                                                       Excel Solver Function
Can you show me step by step?                                              Can you show me step by step?
 The next step is to create a worksheet where the
  formulas for the objective function and the constraints
  are calculated

 In the worksheet on the next slide, we have reserved
  cells E4, F4, and G4 to hold our decision variables x, y
  and z: the number of TV sets, stereos and speakers to
  build




    Excel Solver Function                                                       Excel Solver Function
Can you show me step by step?                                              Can you show me step by step?
                                 The objective function is:                                          The Excel formula for the
                                     75 x + 50 y + 35 z                                                number of chassis used is:
                                                                                                         =E7*$E$4+F7*$F$4+G7*$G$4

                                 The Excel formula is:                                               The Excel formula for the
                                  =E4*E14+F4*F14+G4*G14                                                number of picture tubes used
                                                                                                       is:
                                                                                                         =E8*$E$4+F8*$F$4+G8*$G$4


                                                                                                      The remaining # Used values
                                                                                                       are computed in similar ways




    Excel Solver Function                                                       Excel Solver Function
Can you show me step by step?                                              Can you show me step by step?
                                 The constraints are:                                                To run Solver, click on the
                                 Number of used parts must                                            Data tab, in the Analysis
                                  be less than inventory, or                                           group, click Solver.

                                       D7:D11 <= C7:C11

                                 Number of TV sets, stereos,
                                  and speakers must be non-
                                  negative, or

                                          E4:G4 >= 0
CIVL 1112                                             Excel - Solver                                                  6/7




    Excel Solver Function                                              Excel Solver Function
Can you show me step by step?                                     Can you show me step by step?
                           Set the target cell, or the                                      Choose the “Set Target Cell”
                            value of the objective                                            or the value of the objective
                            function, in this case, the                                       function, in this case, the
                            Total Profit, cell E16
                                  Profit                                                      Total Profit, cell E16
                                                                                                    Profit




    Excel Solver Function                                              Excel Solver Function
Can you show me step by step?                                     Can you show me step by step?
                           Set the “By Changing Cells”                                      Set the inventory constraint:
                            or the value of the decision
                            variables, in this case, the                                           D7:D11 <= C7:C11
                            number of TVs stereos and
                                        TVs, stereos,
                            speakers: E4:G4




    Excel Solver Function                                              Excel Solver Function
Can you show me step by step?                                     Can you show me step by step?
                           Set the non-negative                                             Excel Solver is ready to run.
                            constraint:                                                       Just click on Solve

                                    E4:G4 >= 0
CIVL 1112                                                    Excel - Solver                              7/7




     Excel Solver Function                                                    Excel Solver Function
Can you show me step by step?                                            Can you show me step by step?
                                   When you click on Solve the
                                    following window appears

                                   Y can s l t an Answer
                                    You     select   A s
                                    Report and Excel inserts a
                                    new sheet into the workbook




     Excel Solver Function                                                    Excel Solver Function
How do I define a model?                                                                 Questions?
 See if you can use Solver to:

  Maximize the Cost-Adjusted SWR f the reinforced
  M         h        d     d   R for h     f    d
  concrete beam project

 What are the decision variables?
 What is the objective function?
 What are the constraints?

Más contenido relacionado

Destacado

The Sleepwalkers Box MoMA PS1 Launch
The Sleepwalkers Box MoMA PS1 Launch The Sleepwalkers Box MoMA PS1 Launch
The Sleepwalkers Box MoMA PS1 Launch RussellF
 
Outsourcing Infrastruktury IT
Outsourcing Infrastruktury ITOutsourcing Infrastruktury IT
Outsourcing Infrastruktury ITComarch
 
Passion & Entrepreneurial Axioms
Passion & Entrepreneurial AxiomsPassion & Entrepreneurial Axioms
Passion & Entrepreneurial AxiomsRob Frasca
 
Day One Slide Show
Day One Slide ShowDay One Slide Show
Day One Slide Showguest2e5e3ec
 
Using SafeAssign
Using SafeAssignUsing SafeAssign
Using SafeAssignUMBlearning
 
Soyez visibles et attractifs sur Google - Destination Brocéliande
Soyez visibles et attractifs sur Google - Destination BrocéliandeSoyez visibles et attractifs sur Google - Destination Brocéliande
Soyez visibles et attractifs sur Google - Destination BrocéliandeDestination Brocéliande
 

Destacado (8)

The Sleepwalkers Box MoMA PS1 Launch
The Sleepwalkers Box MoMA PS1 Launch The Sleepwalkers Box MoMA PS1 Launch
The Sleepwalkers Box MoMA PS1 Launch
 
10yr S P R I N G N B
10yr S P R I N G  N B10yr S P R I N G  N B
10yr S P R I N G N B
 
Bath Remodel 1835
Bath Remodel 1835Bath Remodel 1835
Bath Remodel 1835
 
Outsourcing Infrastruktury IT
Outsourcing Infrastruktury ITOutsourcing Infrastruktury IT
Outsourcing Infrastruktury IT
 
Passion & Entrepreneurial Axioms
Passion & Entrepreneurial AxiomsPassion & Entrepreneurial Axioms
Passion & Entrepreneurial Axioms
 
Day One Slide Show
Day One Slide ShowDay One Slide Show
Day One Slide Show
 
Using SafeAssign
Using SafeAssignUsing SafeAssign
Using SafeAssign
 
Soyez visibles et attractifs sur Google - Destination Brocéliande
Soyez visibles et attractifs sur Google - Destination BrocéliandeSoyez visibles et attractifs sur Google - Destination Brocéliande
Soyez visibles et attractifs sur Google - Destination Brocéliande
 

Similar a Excel Solver

Tbs910 linear programming
Tbs910 linear programmingTbs910 linear programming
Tbs910 linear programmingStephen Ong
 
Excel basics for everyday use part two
Excel basics for everyday use part twoExcel basics for everyday use part two
Excel basics for everyday use part twoKevin McLogan
 
Data envelopment analysis
Data envelopment analysisData envelopment analysis
Data envelopment analysisGlory Maker
 
Linear programming with excel
Linear programming with excelLinear programming with excel
Linear programming with excelHilda Isfanovi
 
MSL 5080, Methods of Analysis for Business Operations 1 .docx
 MSL 5080, Methods of Analysis for Business Operations 1 .docx MSL 5080, Methods of Analysis for Business Operations 1 .docx
MSL 5080, Methods of Analysis for Business Operations 1 .docxgertrudebellgrove
 
MSL 5080, Methods of Analysis for Business Operations 1 .docx
MSL 5080, Methods of Analysis for Business Operations 1 .docxMSL 5080, Methods of Analysis for Business Operations 1 .docx
MSL 5080, Methods of Analysis for Business Operations 1 .docxpoulterbarbara
 
Linear programming
Linear programmingLinear programming
Linear programmingpolast
 
Summary of Excel Skills
Summary of Excel SkillsSummary of Excel Skills
Summary of Excel Skillsjunggi784
 
LINEAR PROGRAMMING
LINEAR PROGRAMMINGLINEAR PROGRAMMING
LINEAR PROGRAMMINGrashi9
 
Operation research history and overview application limitation
Operation research history and overview application limitationOperation research history and overview application limitation
Operation research history and overview application limitationBalaji P
 
EMERSON EDUARDO RODRIGUES Optimization and lp
EMERSON EDUARDO RODRIGUES Optimization and lpEMERSON EDUARDO RODRIGUES Optimization and lp
EMERSON EDUARDO RODRIGUES Optimization and lpEMERSON EDUARDO RODRIGUES
 
Model Analyzer For Excel
Model Analyzer For ExcelModel Analyzer For Excel
Model Analyzer For ExcelYsrael Mertz
 
Excel Solver(By Mahsa Rezaei)
Excel Solver(By Mahsa Rezaei)Excel Solver(By Mahsa Rezaei)
Excel Solver(By Mahsa Rezaei)mahsa rezaei
 
Fundamentals of Quantitative Analysis
Fundamentals of Quantitative AnalysisFundamentals of Quantitative Analysis
Fundamentals of Quantitative AnalysisJubayer Alam Shoikat
 
Intermediate excel application to advanced courses
Intermediate excel   application to advanced coursesIntermediate excel   application to advanced courses
Intermediate excel application to advanced courseszavenger
 
Microsoft Excel 101: What you must know
Microsoft Excel 101: What you must knowMicrosoft Excel 101: What you must know
Microsoft Excel 101: What you must knowSwati Chhabra
 
powerpoint 1-19.pdf
powerpoint 1-19.pdfpowerpoint 1-19.pdf
powerpoint 1-19.pdfJuanPicasso7
 

Similar a Excel Solver (20)

Excel solver
Excel solverExcel solver
Excel solver
 
Excel solver
Excel solverExcel solver
Excel solver
 
Chapter.09
Chapter.09Chapter.09
Chapter.09
 
Tbs910 linear programming
Tbs910 linear programmingTbs910 linear programming
Tbs910 linear programming
 
Excel basics for everyday use part two
Excel basics for everyday use part twoExcel basics for everyday use part two
Excel basics for everyday use part two
 
Data envelopment analysis
Data envelopment analysisData envelopment analysis
Data envelopment analysis
 
Linear programming with excel
Linear programming with excelLinear programming with excel
Linear programming with excel
 
MSL 5080, Methods of Analysis for Business Operations 1 .docx
 MSL 5080, Methods of Analysis for Business Operations 1 .docx MSL 5080, Methods of Analysis for Business Operations 1 .docx
MSL 5080, Methods of Analysis for Business Operations 1 .docx
 
MSL 5080, Methods of Analysis for Business Operations 1 .docx
MSL 5080, Methods of Analysis for Business Operations 1 .docxMSL 5080, Methods of Analysis for Business Operations 1 .docx
MSL 5080, Methods of Analysis for Business Operations 1 .docx
 
Linear programming
Linear programmingLinear programming
Linear programming
 
Summary of Excel Skills
Summary of Excel SkillsSummary of Excel Skills
Summary of Excel Skills
 
LINEAR PROGRAMMING
LINEAR PROGRAMMINGLINEAR PROGRAMMING
LINEAR PROGRAMMING
 
Operation research history and overview application limitation
Operation research history and overview application limitationOperation research history and overview application limitation
Operation research history and overview application limitation
 
EMERSON EDUARDO RODRIGUES Optimization and lp
EMERSON EDUARDO RODRIGUES Optimization and lpEMERSON EDUARDO RODRIGUES Optimization and lp
EMERSON EDUARDO RODRIGUES Optimization and lp
 
Model Analyzer For Excel
Model Analyzer For ExcelModel Analyzer For Excel
Model Analyzer For Excel
 
Excel Solver(By Mahsa Rezaei)
Excel Solver(By Mahsa Rezaei)Excel Solver(By Mahsa Rezaei)
Excel Solver(By Mahsa Rezaei)
 
Fundamentals of Quantitative Analysis
Fundamentals of Quantitative AnalysisFundamentals of Quantitative Analysis
Fundamentals of Quantitative Analysis
 
Intermediate excel application to advanced courses
Intermediate excel   application to advanced coursesIntermediate excel   application to advanced courses
Intermediate excel application to advanced courses
 
Microsoft Excel 101: What you must know
Microsoft Excel 101: What you must knowMicrosoft Excel 101: What you must know
Microsoft Excel 101: What you must know
 
powerpoint 1-19.pdf
powerpoint 1-19.pdfpowerpoint 1-19.pdf
powerpoint 1-19.pdf
 

Último

Stock Market Brief Deck FOR 4/17 video.pdf
Stock Market Brief Deck FOR 4/17 video.pdfStock Market Brief Deck FOR 4/17 video.pdf
Stock Market Brief Deck FOR 4/17 video.pdfMichael Silva
 
Overview of Inkel Unlisted Shares Price.
Overview of Inkel Unlisted Shares Price.Overview of Inkel Unlisted Shares Price.
Overview of Inkel Unlisted Shares Price.Precize Formely Leadoff
 
Call Girls Near Golden Tulip Essential Hotel, New Delhi 9873777170
Call Girls Near Golden Tulip Essential Hotel, New Delhi 9873777170Call Girls Near Golden Tulip Essential Hotel, New Delhi 9873777170
Call Girls Near Golden Tulip Essential Hotel, New Delhi 9873777170Sonam Pathan
 
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办fqiuho152
 
letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...
letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...
letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...Henry Tapper
 
The Triple Threat | Article on Global Resession | Harsh Kumar
The Triple Threat | Article on Global Resession | Harsh KumarThe Triple Threat | Article on Global Resession | Harsh Kumar
The Triple Threat | Article on Global Resession | Harsh KumarHarsh Kumar
 
2024 Q1 Crypto Industry Report | CoinGecko
2024 Q1 Crypto Industry Report | CoinGecko2024 Q1 Crypto Industry Report | CoinGecko
2024 Q1 Crypto Industry Report | CoinGeckoCoinGecko
 
NO1 WorldWide Love marriage specialist baba ji Amil Baba Kala ilam powerful v...
NO1 WorldWide Love marriage specialist baba ji Amil Baba Kala ilam powerful v...NO1 WorldWide Love marriage specialist baba ji Amil Baba Kala ilam powerful v...
NO1 WorldWide Love marriage specialist baba ji Amil Baba Kala ilam powerful v...Amil baba
 
House of Commons ; CDC schemes overview document
House of Commons ; CDC schemes overview documentHouse of Commons ; CDC schemes overview document
House of Commons ; CDC schemes overview documentHenry Tapper
 
Managing Finances in a Small Business (yes).pdf
Managing Finances  in a Small Business (yes).pdfManaging Finances  in a Small Business (yes).pdf
Managing Finances in a Small Business (yes).pdfmar yame
 
SBP-Market-Operations and market managment
SBP-Market-Operations and market managmentSBP-Market-Operations and market managment
SBP-Market-Operations and market managmentfactical
 
Call Girls Near Delhi Pride Hotel, New Delhi|9873777170
Call Girls Near Delhi Pride Hotel, New Delhi|9873777170Call Girls Near Delhi Pride Hotel, New Delhi|9873777170
Call Girls Near Delhi Pride Hotel, New Delhi|9873777170Sonam Pathan
 
project management information system lecture notes
project management information system lecture notesproject management information system lecture notes
project management information system lecture notesongomchris
 
NO1 Certified Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Ami...
NO1 Certified Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Ami...NO1 Certified Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Ami...
NO1 Certified Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Ami...Amil baba
 
AnyConv.com__FSS Advance Retail & Distribution - 15.06.17.ppt
AnyConv.com__FSS Advance Retail & Distribution - 15.06.17.pptAnyConv.com__FSS Advance Retail & Distribution - 15.06.17.ppt
AnyConv.com__FSS Advance Retail & Distribution - 15.06.17.pptPriyankaSharma89719
 
BPPG response - Options for Defined Benefit schemes - 19Apr24.pdf
BPPG response - Options for Defined Benefit schemes - 19Apr24.pdfBPPG response - Options for Defined Benefit schemes - 19Apr24.pdf
BPPG response - Options for Defined Benefit schemes - 19Apr24.pdfHenry Tapper
 
Unveiling Business Expansion Trends in 2024
Unveiling Business Expansion Trends in 2024Unveiling Business Expansion Trends in 2024
Unveiling Business Expansion Trends in 2024Champak Jhagmag
 
原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证
原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证
原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证jdkhjh
 
《加拿大本地办假证-寻找办理Dalhousie毕业证和达尔豪斯大学毕业证书的中介代理》
《加拿大本地办假证-寻找办理Dalhousie毕业证和达尔豪斯大学毕业证书的中介代理》《加拿大本地办假证-寻找办理Dalhousie毕业证和达尔豪斯大学毕业证书的中介代理》
《加拿大本地办假证-寻找办理Dalhousie毕业证和达尔豪斯大学毕业证书的中介代理》rnrncn29
 

Último (20)

Stock Market Brief Deck FOR 4/17 video.pdf
Stock Market Brief Deck FOR 4/17 video.pdfStock Market Brief Deck FOR 4/17 video.pdf
Stock Market Brief Deck FOR 4/17 video.pdf
 
Monthly Economic Monitoring of Ukraine No 231, April 2024
Monthly Economic Monitoring of Ukraine No 231, April 2024Monthly Economic Monitoring of Ukraine No 231, April 2024
Monthly Economic Monitoring of Ukraine No 231, April 2024
 
Overview of Inkel Unlisted Shares Price.
Overview of Inkel Unlisted Shares Price.Overview of Inkel Unlisted Shares Price.
Overview of Inkel Unlisted Shares Price.
 
Call Girls Near Golden Tulip Essential Hotel, New Delhi 9873777170
Call Girls Near Golden Tulip Essential Hotel, New Delhi 9873777170Call Girls Near Golden Tulip Essential Hotel, New Delhi 9873777170
Call Girls Near Golden Tulip Essential Hotel, New Delhi 9873777170
 
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办
 
letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...
letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...
letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...
 
The Triple Threat | Article on Global Resession | Harsh Kumar
The Triple Threat | Article on Global Resession | Harsh KumarThe Triple Threat | Article on Global Resession | Harsh Kumar
The Triple Threat | Article on Global Resession | Harsh Kumar
 
2024 Q1 Crypto Industry Report | CoinGecko
2024 Q1 Crypto Industry Report | CoinGecko2024 Q1 Crypto Industry Report | CoinGecko
2024 Q1 Crypto Industry Report | CoinGecko
 
NO1 WorldWide Love marriage specialist baba ji Amil Baba Kala ilam powerful v...
NO1 WorldWide Love marriage specialist baba ji Amil Baba Kala ilam powerful v...NO1 WorldWide Love marriage specialist baba ji Amil Baba Kala ilam powerful v...
NO1 WorldWide Love marriage specialist baba ji Amil Baba Kala ilam powerful v...
 
House of Commons ; CDC schemes overview document
House of Commons ; CDC schemes overview documentHouse of Commons ; CDC schemes overview document
House of Commons ; CDC schemes overview document
 
Managing Finances in a Small Business (yes).pdf
Managing Finances  in a Small Business (yes).pdfManaging Finances  in a Small Business (yes).pdf
Managing Finances in a Small Business (yes).pdf
 
SBP-Market-Operations and market managment
SBP-Market-Operations and market managmentSBP-Market-Operations and market managment
SBP-Market-Operations and market managment
 
Call Girls Near Delhi Pride Hotel, New Delhi|9873777170
Call Girls Near Delhi Pride Hotel, New Delhi|9873777170Call Girls Near Delhi Pride Hotel, New Delhi|9873777170
Call Girls Near Delhi Pride Hotel, New Delhi|9873777170
 
project management information system lecture notes
project management information system lecture notesproject management information system lecture notes
project management information system lecture notes
 
NO1 Certified Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Ami...
NO1 Certified Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Ami...NO1 Certified Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Ami...
NO1 Certified Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Ami...
 
AnyConv.com__FSS Advance Retail & Distribution - 15.06.17.ppt
AnyConv.com__FSS Advance Retail & Distribution - 15.06.17.pptAnyConv.com__FSS Advance Retail & Distribution - 15.06.17.ppt
AnyConv.com__FSS Advance Retail & Distribution - 15.06.17.ppt
 
BPPG response - Options for Defined Benefit schemes - 19Apr24.pdf
BPPG response - Options for Defined Benefit schemes - 19Apr24.pdfBPPG response - Options for Defined Benefit schemes - 19Apr24.pdf
BPPG response - Options for Defined Benefit schemes - 19Apr24.pdf
 
Unveiling Business Expansion Trends in 2024
Unveiling Business Expansion Trends in 2024Unveiling Business Expansion Trends in 2024
Unveiling Business Expansion Trends in 2024
 
原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证
原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证
原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证
 
《加拿大本地办假证-寻找办理Dalhousie毕业证和达尔豪斯大学毕业证书的中介代理》
《加拿大本地办假证-寻找办理Dalhousie毕业证和达尔豪斯大学毕业证书的中介代理》《加拿大本地办假证-寻找办理Dalhousie毕业证和达尔豪斯大学毕业证书的中介代理》
《加拿大本地办假证-寻找办理Dalhousie毕业证和达尔豪斯大学毕业证书的中介代理》
 

Excel Solver

  • 1. CIVL 1112 Excel - Solver 1/7 Excel Solver Function Excel Solver Function What is the Excel Solver good for?  What is the Excel Solver good for?  Solvers, or optimizers, are software tools that help  What must I do to use a solver? users find the best way to allocate scarce resources.  How do I define a model?  The resources may be raw materials, machine time or  What kind of solution can I expect? people time, money, or anything else in limited supply.  What makes a model hard to solve?  The "best" or optimal solution may mean maximizing profits, minimizing costs, or achieving the best possible  Can you show me step by step? quality. Excel Solver Function Excel Solver Function What must I do to use a solver? What must I do to use a solver?  To use a solver, you must build a model that specifies:  Spreadsheets such as Excel provide a convenient way to build a model  Th resources to be used, using d i i variables The t b d i decision i bl  Anyone who has used a spreadsheet is already f h h d d h l d familiar l  The limits on resource usage, called constraints, and with the process:  The measure to optimize, called the objective.  Cells on a worksheet can hold numbers, labels, or formulas that calculate new values -- such as the objective of an optimization  The solver will find values for the decision variables  Constraints are simply limits (specified with <=, = or >= that satisfy the constraints while optimizing relations) on formula cells (maximizing or minimizing) the objective.  And the decision variables are simply input cells containing numbers Excel Solver Function Excel Solver Function How do I define a model? Decision Variables How do I define a model? Decision Variables  A solver deals with numbers, so you'll need to quantify  For example, if you are shipping goods from 3 different the various elements of your model: decision variables, plants to 5 different warehouses, there are 3 x 5 = 15 constraints, and the objective -- and their relationships different routes alon which products could be shipped along  Decision variables usually measure the amounts of  So, you might have 15 variables, each one measuring the resources, such as time and money, to be allocated to number of products shipped along that route some purpose, or the level of some activity  For example, the number of products to be manufactured, the number of pounds or gallons of a chemical required for some process, etc.
  • 2. CIVL 1112 Excel - Solver 2/7 Excel Solver Function Excel Solver Function How do I define a model? Decision Variables How do I define a model? Objective  In addition, you might also have 4 different product  Once you've defined the decision variables, the next types, and you might want to plan shipments in each of step is to define the objective, which is a function that the next 6 months depends on the variables  So this might lead to 15 x 4 x 6 = 360 variables  For example, suppose you were planning how many units  This illustrates how a model can become large rather to manufacture of three products: quickly! TV sets, stereos, and speaker  Part of the art of modeling is deciding how much detail is really required Excel Solver Function Excel Solver Function How do I define a model? Objective How do I define a model? Objective  Your objective might be to maximize profit  On a spreadsheet where the number of TV sets, stereos and speakers are in cells D9, E9 and F9  Assume that: h each TV set yields a profit of $ 5 h V ld f f $75, respectively, respectively the formula would be: each stereo $50, and each speaker $35 = 75*D9 + 50*E9 + 35*F9  Then your objective function might be:  You'd be finished at this point, if the model did not require any constraints 75*TV sets + 50*stereos + 35*speakers Excel Solver Function Excel Solver Function How do I define a model? Constraints How do I define a model? Constraints  In most models constraints play a key role in determining what values can be assumed by the General Constraints decision variables  For example, the cell range A1:A5 contains the p g percentage of funds to be used to purchase 5  Constraints reflect real-world limits on variables different types of material  To define a constraint, you first compute a value based  You could use cell B1 to calculate =SUM(A1:A5) on the decision variables  Then define a constraint of B1 = 1 so that the  Then you place a limit (<=, = or >=) on this computed percentages allocated must sum up to 100%. value
  • 3. CIVL 1112 Excel - Solver 3/7 Excel Solver Function Excel Solver Function How do I define a model? Constraints How do I define a model? Constraints Physical Constraints Bounds on Variables  Of course, you can also place a limit directly on a y p y  Many constraints are determined by the physical nature decision variable, such as A1 <= 100 of the problem.  Upper and lower bounds on the variables are efficiently  For example, if your decision variables measure the handled by most optimizers and are very useful in many physical dimensions of an object, negative values for problems. these variables would make no sense. Excel Solver Function Excel Solver Function How do I define a model? Constraints How do I define a model? Constraints Physical Constraints Integer Constraints  Advanced optimization software also allows you to  This type of non-negativity constraint is very common non negativity specify constraints that require decision variables to assume only integer (whole number) values at the  Constraints such as A1 >= 0 must be stated explicitly, solution because the solver has no other way to know that  If you are scheduling a fleet of trucks, for example, a negative values are disallowed solution that called for a fraction of a truck to travel a certain route would not be useful.  Integer constraints normally can be applied only to decision variables, not to quantities calculated from them. Excel Solver Function Excel Solver Function What kind of solution can I expect?  A solution (set of values for the decision variables) for What kind of solution can I expect? which all of the constraints in the Solver model are  A globally optimal solution is one where there are no satisfied is called a feasible solution other feasible solutions with better objective function values  Most solution algorithms first try to find a feasible solution, and then try to improve it by finding another  A locally optimal solution is one where there are no feasible solution that increases the value of the other feasible solutions "in the vicinity" with better objective function (when maximizing, or decreases it objective function values when minimizing)  The Solver is designed to find optimal solutions --  An optimal solution is a feasible solution where the ideally the global optimum -- but this is not always objective function reaches a maximum (or minimum) possible value
  • 4. CIVL 1112 Excel - Solver 4/7 Excel Solver Function Excel Solver Function What makes a model hard to solve? Can you show me step by step?  Three major factors interact to determine how Consider the following problem: difficult it will be to find an optimal solution to a solver  Imagine that you are managing a factory that is building model: three products TV sets, stereos and speakers products:  The mathematical relationships between the objective and  Each product is assembled from parts in inventory, and constraints, and the decision variables there are five types of parts: chassis, picture tubes,  The size of the model (number of decision variables and speaker cones, power supplies and electronics units constraints)  Your goal is to produce the mix of products which will  The use of integer variables - memory and solution time may maximize profits, given the inventory of products on rise exponentially as you add more integer variables hand Excel Solver Function Excel Solver Function Can you show me step by step? Can you show me step by step?  From this description, we can see that:  To assemble a TV set, you need 1 chassis, 1 picture  The decision variables are the number of products to build tube, 2 speaker cones, 1 power supply and 2 sets of  The objective function will be (gross) profit electronics  To make a stereo, you need 1 chassis, 2 speaker cones, 1  Assume that you can sell TV sets for a gross profit of power supply and 1 set of electronics $75 each, stereos for a profit of $50 each, and  To build a speaker, all you need is 1 speaker cone and 1 speaker cones for $35 each set of electronics  The parts you have on hand are 450 chassis, 250 75*TV sets + 50*stereos + 35*speakers picture tubes, 800 speaker cones, 450 power supplies and 600 sets of electronics Excel Solver Function Excel Solver Function Can you show me step by step? Can you show me step by step?  Before we implement this problem statement in either  Building each product requires a certain number of Excel, let's write out formulas corresponding to the parts of each type. verbal description above. p  The number of parts used depends on the mix of  If we temporarily use the symbols: products built (constraint left hand side), and the  x for the number of TV sets assembled, number of parts of each type on hand (constraint right  y for the number of stereos, and hand side):  z for the number of speakers, 1 x + 1 y + 0 z <= 450 (Chassis) 1 x + 0 y + 0 z <= 250 (Picture tubes)  The total profit is: 2 x + 2 y + 1 z <= 800 (Speaker cones) 1 x + 1 y + 0 z <= 450 (Power supplies) Maximize 75 x + 50 y + 35 z (Profit) 2 x + 1 y + 1 z <= 600 (Electronics)
  • 5. CIVL 1112 Excel - Solver 5/7 Excel Solver Function Excel Solver Function Can you show me step by step? Can you show me step by step?  The next step is to create a worksheet where the formulas for the objective function and the constraints are calculated  In the worksheet on the next slide, we have reserved cells E4, F4, and G4 to hold our decision variables x, y and z: the number of TV sets, stereos and speakers to build Excel Solver Function Excel Solver Function Can you show me step by step? Can you show me step by step?  The objective function is:  The Excel formula for the 75 x + 50 y + 35 z number of chassis used is: =E7*$E$4+F7*$F$4+G7*$G$4  The Excel formula is:  The Excel formula for the =E4*E14+F4*F14+G4*G14 number of picture tubes used is: =E8*$E$4+F8*$F$4+G8*$G$4  The remaining # Used values are computed in similar ways Excel Solver Function Excel Solver Function Can you show me step by step? Can you show me step by step?  The constraints are:  To run Solver, click on the  Number of used parts must Data tab, in the Analysis be less than inventory, or group, click Solver. D7:D11 <= C7:C11  Number of TV sets, stereos, and speakers must be non- negative, or E4:G4 >= 0
  • 6. CIVL 1112 Excel - Solver 6/7 Excel Solver Function Excel Solver Function Can you show me step by step? Can you show me step by step?  Set the target cell, or the  Choose the “Set Target Cell” value of the objective or the value of the objective function, in this case, the function, in this case, the Total Profit, cell E16 Profit Total Profit, cell E16 Profit Excel Solver Function Excel Solver Function Can you show me step by step? Can you show me step by step?  Set the “By Changing Cells”  Set the inventory constraint: or the value of the decision variables, in this case, the D7:D11 <= C7:C11 number of TVs stereos and TVs, stereos, speakers: E4:G4 Excel Solver Function Excel Solver Function Can you show me step by step? Can you show me step by step?  Set the non-negative  Excel Solver is ready to run. constraint: Just click on Solve E4:G4 >= 0
  • 7. CIVL 1112 Excel - Solver 7/7 Excel Solver Function Excel Solver Function Can you show me step by step? Can you show me step by step?  When you click on Solve the following window appears  Y can s l t an Answer You select A s Report and Excel inserts a new sheet into the workbook Excel Solver Function Excel Solver Function How do I define a model? Questions?  See if you can use Solver to: Maximize the Cost-Adjusted SWR f the reinforced M h d d R for h f d concrete beam project  What are the decision variables?  What is the objective function?  What are the constraints?