10 Prescriptive Analytics Optimization and Simulation
10 Prescriptive Analytics Optimization and Simulation
10 Prescriptive Analytics Optimization and Simulation
Chapter 6
Prescriptive Analytics:
Optimization and
Simulation
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Optimization via Mathematical
Programming
• Mathematical Programming
– A family of tools designed to help solve managerial
problems in which the decision maker must allocate
scarce resources among competing activities to
optimize a measurable goal
• Optimal solution: The best possible solution to a modeled
problem
– Linear programming (LP): A mathematical model for
the optimal solution of resource allocation problems.
All the relationships are linear.
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
LP Problem Characteristics
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
LP Problem Assumption
1. Returns from different allocations can be compared: that is,
they can be measured by common unit (E.g., dollars, utility)
2. The return from any allocation is independent of other
allocations
3. The total return is the sum of the returns yielded by the
different activities
4. All data are known with certainty
5. The resources are to be used in the most economical
manner
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Linear Programming Steps
1. Identify the …
– Decision variables
– Objective function
– Objective function coefficients
– Constraints
▪ Capacities / Demands / …
2. Represent the model
– LINDO: Write mathematical formulation
– EXCEL: Input data into specific cells in Excel
3. Run the model and observe the results
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Modeling in LP - An Example
The Product-Mix Linear Programming Model (for MBI Corporation)
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
LP Solution with Excel
Decision Variables:
X1 unit of CC - 7
X2 unit of CC - 8
Objective Function:
Maximize Z (profit)
z = 8000x1 + 12000x 2
Subject To
300X1 + 500X2 200K
10000X1 + 15000X 2 8000K
X1 100
X2 200
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Illustrating the Power of Spreadsheet
Modeling Case Study 2
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Illustrating the Power of Spreadsheet
Modeling Case Study 2
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Illustrating the Power of Spreadsheet
Modeling Case Study 2
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Illustrating the Power of Spreadsheet
Modeling Case Study 2
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Illustrating the Power of Spreadsheet
Modeling Case Study 2
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Illustrating the Power of Spreadsheet
Modeling Case Study 2
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Illustrating the Power of Spreadsheet
Modeling (1 of 3)
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Illustrating the Power of Spreadsheet
Modeling (2 of 3)
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Multiple Goals, Sensitivity Analysis, What-
If Analysis, and Goal Seeking (1 of 4)
• Multiple Goals
– Simple-goal vs. multiple goals
– Vast majority of managerial problems has multiple
goals (objectives) to achieve
▪ Attaining all goals simultaneously
• Methods of handling multiple goals
– Goal programming
– Expression of goals as constraints, using LP
– A points system
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Multiple Goals, Sensitivity Analysis, What-
If Analysis, and Goal Seeking (2 of 4)
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Multiple Goals, Sensitivity Analysis, What-
If Analysis, and Goal Seeking (3 of 4)
• Sensitivity analysis
– It is the process of assessing the impact of change in
inputs on outputs
– Helps to …
▪ eliminate (or reduce) variables
▪ revise models to eliminate too-large sensitivities
▪ adding details about sensitive variables or scenarios
▪ obtain better estimates of sensitive variables
▪ alter a real-world system to reduce sensitivities
▪ …
– Can be automatic or trial and error
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Multiple Goals, Sensitivity Analysis, What-
If Analysis, and Goal Seeking (4 of 4)
• What-if analysis
– Assesses solutions based on changes in variables or assumptions
(scenario analysis)
– What if we change our capacity at the milling station by 40% [what would
be the impact on output?]
• Goal seeking
– Calculate the values of the inputs necessary to achieve a desired level of
an output (goal)
– Backwards approach, starts with the goal and determines values of
inputs needed
– Example is break-even point determination
▪ In order to break even (profit = 0), how many products do we have to
sell each month?
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
What-If Analysis Example in Excel
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Decision Analysis with Decision Tables and
Decision Trees
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Decision Table – Investment Example:
Possible Situations
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Decision Table Investment Example:
Decision Table
• Payoff decision variables (alternatives)
• Uncontrollable variables (states of economy)
• Result variables (projected yield)
• Tabular representation:
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Decision Table Investment Example:
Treating Uncertainty
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Decision Trees
• Graphical representation of relationships
– Can be induced (driven) from data [data mining]
– Can be driven from experts [knowledge-driven]
• Multiple criteria approach
• Demonstrates complex relationships
• Cumbersome, if many alternatives exist
• Many tools exist:
– Mind Tools Ltd., mindtools.com
– TreeAge Software Inc., treeage.com
– Palisade Corp., palisade.com
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Simulation
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Major Characteristics of Simulation
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Advantages of Simulation
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Disadvantages of Simulation
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Simulation Methodology
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
End of Chapter 6
• Questions / Comments
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Copyright
Copyright © 2018, 2014, 2011 Pearson Education, Inc. All Rights Reserved