SlideShare a Scribd company logo
1 of 120
Breakfast Talk, Malaysian Insurance Institute
20th April 2017 Kuala Lumpur
Dr. Anwar Ali
www.theoptimizationexpert.com
My Background
 Studied engineering and worked as an engineer
 Bachelor in Mechanical Eng, major in Industrial Engineering (IE)
 Held various engineering positions including process, machine
vision, equipment development, factory IE, systems IE
 27 years in American multinational companies (1988-2015)
 2 years at Texas Instruments KL
 25 years at Intel Penang & Kulim, including 2 years in Arizona
 Created in-house Operations Research group in 2002
 Have done simulation, math optimization, and the relevant data
integration to enable simulation and optimization
 Completed 2 post graduate degrees while working full time
 M.Sc. in Decision Science, UUM in 2005
 Doctor in Engineering (Eng Biz Mgt), UTM KL in 2014
Competitive Advantage with Optimization - Anwar Ali 2
Agenda
 Current Business and Technological Landscapes
 Analytics Evolution
 Introduction to Operations Research
 A Primer on Optimization
 Formulating and Solving Optimization Models
 Identifying Opportunities with Business Values
 How to Get Started
Competitive Advantage with Optimization - Anwar Ali 3
The Forces Driving Our Future
 Digital future
 Entrepreneurship rising
 Global marketplace
 Urban world
 Resourceful planet
 Health reimagined
Competitive Advantage with Optimization - Anwar Ali 4
Ernest & Young Megatrends 2015
The Forces Driving Our Future
 Digital future
 Convergence of social, mobile, cloud, big data
 Growing demand for anytime anywhere access to
information
 Entrepreneurship rising
 Technology enabling machines and software to
substitute for humans
 High-impact entrepreneurs are building innovative and
scalable enterprises
 Many new enterprises are digital from birth with young
faces
Competitive Advantage with Optimization - Anwar Ali 5
Ernest & Young Megatrends 2015
The Forces Driving Our Future
 Global marketplace
 Innovation will increasingly take place in rapid-growth
markets
 War for talent; greater workforce diversity providing
competitive advantage
 Urban world
 More cities across the globe
Competitive Advantage with Optimization - Anwar Ali 6
Ernest & Young Megatrends 2015
The Forces Driving Our Future
 Resourceful planet
 Increasing global demand for natural resources
 Growing concern over environmental degradation
 Health reimagined
 Increasing cost pressure require more sustainable
approach
 Explosion in big data and mobile health technologies
 From delivery of health care to management of health
Competitive Advantage with Optimization - Anwar Ali 7
Ernest & Young Megatrends 2015
Digital Future
 Technology is also changing the ways people work, and
is increasingly enabling machines and software to
substitute for humans. Enterprises and individuals
who can seize the opportunities offered by digital
advances stand to gain significantly, while those
who cannot may lose everything
Competitive Advantage with Optimization - Anwar Ali 8
Ernest & Young Megatrends 2015
Competitive Advantage with Optimization - Anwar Ali 9
Anytime anywhere access to information.
Machines and software substitute humans.
How should we adapt?
Today’s Technology Buzzwords
Competitive Advantage with Optimization - Anwar Ali 10
Big Data
Data Visualization
Data Scientist
Business Intelligence
Analytics
Internet of Things
Cloud
Apps
Wearable
Big Data and Traditional Analytics
Competitive Advantage with Optimization - Anwar Ali 11
big data @ work, Thomas H. Davenport, 2014
Terminology for Using and Analyzing Data
Competitive Advantage with Optimization - Anwar Ali 12
big data @ work, Thomas H. Davenport, 2014
Data Scientist?
Competitive Advantage with Optimization - Anwar Ali 13
Competitive Advantage with Optimization - Anwar Ali 14
Data Science
Data Science is an interdisciplinary field about processes
and systems to extract knowledge or insights from large
volumes of data in various forms, either structured or
unstructured, which is a continuation of some of the
data analysis fields such as data mining and predictive
analytics, as well as Knowledge Discovery in Databases
Wikipedia
Competitive Advantage with Optimization - Anwar Ali 15
Data Scientist
 Similar training like business/data analyst
 Computer science, modeling, statistics, analytics, math
 Somebody who can stare at data and spot trends,
discovering previously hidden insights, which can
provide a competitive advantage or address a problem
 Data scientists are inquisitive: exploring, asking
questions, doing “what if” analysis, questioning
existing assumptions and processes. Armed with data
and analytical results, a top-tier data scientist will then
communicate informed conclusions and
recommendations across an organization.
IBM
Competitive Advantage with Optimization - Anwar Ali 16
Data Scientist at Work
Competitive Advantage with Optimization - Anwar Ali 17
Business Intelligence
 Business intelligence (BI) is a broad category of
applications, technologies, and processes for
gathering, storing, accessing, and analyzing data to
help business users make better decisions
 The term was first used in 1865
 Business Analytics (BA), a newer term, is a subset of
BI, focusing on statistics, prediction, and
optimization, rather than the reporting functionality
 BI / BA are used interchangeably by different vendors
with their own definition
Competitive Advantage with Optimization - Anwar Ali 18
Analytics
The extensive use of data, statistical and quantitative
analysis, explanatory and predictive models, and fact-
based management to drive decisions and actions
Competing on Analytics: The New Science of Winning, Davenport and Harris, 2007
Competitive Advantage with Optimization - Anwar Ali 19
Business Analytics
Business analytics can be defined as the broad use of data
and quantitative analysis for decision-making within
organizations. It encompasses query and reporting, but
aspires to greater levels of mathematical sophistication. It
includes analytics, of course, but involves harnessing them to
meet defined business objectives. Business analytics
empowers people in the organization to make better
decisions, improve processes and achieve desired outcomes.
It brings together the best of data management, analytic
methods, and the presentation of results – all in a closed-
loop cycle for continuous learning and improvement
The New World of “Business Analytics”, Thomas H. Davenport, March 2010
Competitive Advantage with Optimization - Anwar Ali 20
Analytics Landscape
Competitive Advantage with Optimization - Anwar Ali 21
Descriptive
Prescriptive
Predictive
Degree of Complexity
CompetitiveAdvantage
Standard Reporting
Ad hoc reporting
Query/drill down
Alerts
Simulation
Forecasting
Predictive modeling
Optimization
What exactly is the problem?
What will happen next if ?
What if these trends continue?
What could happen…. ?
What actions are needed?
How many, how often, where?
What happened?
Stochastic Optimization
How can we achieve the best outcome?
How can we achieve the best outcome
including the effects of variability?
Source: IBM, Based on: Competing on Analytics,
Davenport and Harris, 2007
Analytics
 Descriptive analytics (what has occurred)
 The simplest class of analytics, condense big data into
smaller, more useful nuggets of information
 e.g. counts, likes, posts, views, sales, finance
 Predictive analytics (what will occur)
 Use available data to predict data we don’t have using variety
of statistical, modeling, data mining, and machine learning
techniques
 Prescriptive analytics (what should occur)
 Recommend one or more courses of action and showing the
likely outcome of each decision so that the business decision-
maker can take this information and act
Adapted from Information Week, definitions by Dr Michael Wu
http://www.informationweek.com/big-data/big-data-analytics/big-data-analytics-descriptive-vs-predictive-vs-prescriptive/d/d-id/1113279
Competitive Advantage with Optimization - Anwar Ali 22
MS Excel Examples
 Descriptive aggregate functions:
 SUM(), MIN/MAX(), COUNT(), STDEV(), AVERAGE()
 Pivot tables
 Predictive:
 FORECAST(), TREND()
 Analysis ToolPak add-in (comes with Excel)
 Data Mining add-in (downloadable from Microsoft)
 XLMiner add-in (need to purchase from FrontlineSolvers)
 Prescriptive:
 Solver add-in (comes with Excel, limited capability)
 Open Solver add-in (open source, unlimited capability)
Competitive Advantage with Optimization - Anwar Ali 23
No Crystal Ball Required
Competitive Advantage with Optimization - Anwar Ali 24
Business Intelligence Framework
Competitive Advantage with Optimization - Anwar Ali 25
Back in Business, by Ronald K. Klimberg and Virginia Miori, OR/MS Today, Vol 37, No 5, October 2010,
[http://www.informs.org/ORMS-Today/Public-Articles/October-Volume-37-Number-5/Back-in-Business]
OR/MS =
Operations Research/
Management Science
What is Operations Research?
 O.R. is the discipline of applying advanced analytical
methods to help make better decisions
 Also called Management Science or Decision Science,
O.R. is the science of Decision-Making
 Employing techniques from mathematical sciences,
O.R. arrives at optimal or near-optimal solutions to
complex decision-making problems
 Determine the maximum (e.g. profit, performance, or
yield) or minimum (e.g. loss, risk, or cost)
Competitive Advantage with Optimization - Anwar Ali 26
O.R. Leading Edge Techniques
 Simulation
 Giving you the ability to try out approaches and test
ideas for improvement
 Optimization
 Narrowing your choices to the very best where there are
virtually innumerable feasible options and comparing
them is difficult
 Probability and statistics
 Helping you measure risk, mine data to find valuable
connections and insights, test conclusions, and make
reliable forecasts
Competitive Advantage with Optimization - Anwar Ali 27
O.R. Leading Edge Techniques
 Simulation (predictive)
 Giving you the ability to try out approaches and test
ideas for improvement
 Optimization (prescriptive)
 Narrowing your choices to the very best where there are
virtually innumerable feasible options and comparing
them is difficult
 Probability and statistics (predictive)
 Helping you measure risk, mine data to find valuable
connections and insights, test conclusions, and make
reliable forecasts
Competitive Advantage with Optimization - Anwar Ali 28
O.R. Leading Edge Techniques
 Simulation
 Giving you the ability to try out approaches and test
ideas for improvement
 Optimization – THIS TALK
 Narrowing your choices to the very best where there
are virtually innumerable feasible options and
comparing them is difficult
 Probability and statistics
 Helping you measure risk, mine data to find valuable
connections and insights, test conclusions, and make
reliable forecasts
Competitive Advantage with Optimization - Anwar Ali 29
Analytics Landscape
Competitive Advantage with Optimization - Anwar Ali 30
Descriptive
Prescriptive
Predictive
Degree of Complexity
CompetitiveAdvantage
Standard Reporting
Ad hoc reporting
Query/drill down
Alerts
Simulation
Forecasting
Predictive modeling
Optimization
What exactly is the problem?
What will happen next if ?
What if these trends continue?
What could happen…. ?
What actions are needed?
How many, how often, where?
What happened?
Stochastic Optimization
How can we achieve the best outcome?
How can we achieve the best outcome
including the effects of variability?
Source: IBM, Based on: Competing on Analytics,
Davenport and Harris, 2007
Analytics Landscape
Descriptive
Prescriptive
Predictive
Degree of Complexity
CompetitiveAdvantage
Standard Reporting
Ad hoc reporting
Query/drill down
Alerts
Simulation
Forecasting
Predictive modeling
Optimization
What exactly is the problem?
What will happen next if ?
What if these trends continue?
What could happen…. ?
What actions are needed?
How many, how often, where?
What happened?
Stochastic Optimization
How can we achieve the best outcome?
How can we achieve the best outcome
including the effects of variability?
Source: IBM, Based on: Competing on Analytics,
Davenport and Harris, 2007
Operations Research
Competitive Advantage with Optimization - Anwar Ali 31
Three Eras of Analytics
Competitive Advantage with Optimization - Anwar Ali 32
big data @ work, Thomas H. Davenport, 2014
Competitive Advantage with Optimization - Anwar Ali 33
In 2013 Gartner called prescriptive
analytics 'the final frontier for big
data’, where companies can finally
turn the unprecedented levels of
data in the enterprise into
powerful action
Analytics Maturity (Gartner)
Competitive Advantage with Optimization - Anwar Ali 34
Analytics Maturity (SAP)
Competitive Advantage with Optimization - Anwar Ali 35
Examples of Optimization Application
 Deciding where to invest capital in order to grow
 Figuring out the best way to run a call center
 Locating a warehouse or depot to deliver materials
over shorter distances at reduced cost
 Solving complex scheduling problems
 Deciding when to discount, and how much
 Getting more out of manufacturing equipment
 Optimizing a portfolio of investments
Competitive Advantage with Optimization - Anwar Ali 36
What are the Benefits?
 Operations Research is called “The Science of Better”,
i.e. using science to make:
 bold decisions and run everyday operations with less
risk and better outcomes (no more gut-feel)
 repeatable, quantitative decision analysis
Adapted from: The Guide to Operational Research, http://www.scienceofbetter.co.uk/
Competitive Advantage with Optimization - Anwar Ali 37
Signs O.R. Could Be Beneficial
 The management face complex decision making
 The management is not sure what the main problem is
 The management is uncertain about potential
outcomes
 The organization is having problems with decision
making processes
 Management is troubled by risk
 The organization is not making the most of its data
 The organization needs to beat stiff competition
The Guide to Operational Research, http://www.scienceofbetter.co.uk/
Competitive Advantage with Optimization - Anwar Ali 38
Key Messages
 Seize the opportunities offered by digital advances
 Anytime anywhere access to information
 Machines and software substitute humans
 Be part of analytics initiatives
 Optimization is at the top of Analytics
 Optimization is the final frontier for big data
Competitive Advantage with Optimization - Anwar Ali 39
Agenda
 Current Business and Technological Landscapes √
 Analytics Evolution √
 Introduction to Operations Research √
 A Primer on Optimization
 Formulating and Solving Optimization Models
 Identifying Opportunities with Business Values
 How to Get Started
Competitive Advantage with Optimization - Anwar Ali 40
Optimization Modeling
 Optimization models have
 Objective function
 Decision variables
 Constraints
 Formulated as mathematical equations
 Solved graphically (if 2 decision variables) or using Excel
Solver, CPLEX, LPSolve, LINDO/LINGO, etc.
41Competitive Advantage with Optimization - Anwar Ali
LP Optimization Models
Competitive Advantage with Optimization - Anwar Ali 42
𝑚𝑎𝑥 𝑧 = 𝑐1 𝑥1 + 𝑐2 𝑥2
s.t.
𝑎11 𝑥1 + 𝑎12 𝑥2 ≤ 𝑏1
𝑎21 𝑥1 + 𝑎22 𝑥2 ≤ 𝑏2
𝑎31 𝑥1 + 𝑎32 𝑥2 ≤ 𝑏3
𝑥1 ≥ 0, 𝑥2 ≥ 0
𝑚𝑖𝑛 𝑧 = 𝑐1 𝑥1 + 𝑐2 𝑥2
s.t.
𝑎11 𝑥1 + 𝑎12 𝑥2 ≥ 𝑏1
𝑎21 𝑥1 + 𝑎22 𝑥2 ≥ 𝑏2
𝑎31 𝑥1 + 𝑎32 𝑥2 ≥ 𝑏3
𝑥1 ≥ 0, 𝑥2 ≥ 0
Objective function
Subject to
Constraints
Decision variables
Linear Programming
 A linear programming (LP) problem is an optimization
problem which
 Attempt to maximize (or minimize) a linear function
(called the objective function) of the decision variables
 The values of the decision variables must satisfy a set of
constraints. Each constraint must be a linear equation or
inequality
 A sign restriction is associated with each variable. For
any variable xi, the sign restriction specifies either that xi
must be nonnegative (xi ≥ 0) or that xi may be
unrestricted in sign
Competitive Advantage with Optimization - Anwar Ali 43
Example 1: Dorian Auto
 Operations Research:
Applications and
Algorithms
 Wayne L. Winston
 Duxbury Press; 4th
edition (2003)
Competitive Advantage with Optimization - Anwar Ali 44
Example 1: Dorian Auto
 Dorian Auto manufactures luxury cars and trucks
 The company believes that its most likely customers
are high-income women and men
 To reach these groups, Dorian Auto has embarked on
an ambitious TV advertising campaign and will
purchase 1-minute commercial spots on two type of
programs: comedy shows and football games
Competitive Advantage with Optimization - Anwar Ali 45
Example 1: Dorian Auto
 Each comedy commercial is seen by 7 million high
income women and 2 million high-income men and
costs $50,000
 Each football game is seen by 2 million high-income
women and 12 million high-income men and costs
$100,000
 Dorian Auto would like for commercials to be seen by
at least 28 million high-income women and 24 million
high-income men
 We will use LP to determine how Dorian Auto can
meet its advertising requirements at minimum cost
Competitive Advantage with Optimization - Anwar Ali 46
Example 1: Solution
 Decision variables:
x = the number of 1-minute comedy ads
y = the number of 1-minute football ads
 The objective is to minimize advertising cost
 Minimize z = 50x + 100y
 Constraints:
 Ads must be seen by at least 28 million high-income
women; 7x + 2y ≥ 28
 Ads must be seen by at least 24 million high-income
men; 2x + 12y ≥ 24
Competitive Advantage with Optimization - Anwar Ali 47
Graphical Solution
x (comedy ads)
y(footballads)
4 8 12 16
4
12
16
8
2
6
10
14
2 6 10 14
Competitive Advantage with Optimization - Anwar Ali 48
Graphical Solution
x (comedy ads)
y(footballads)
4 8 12 16
4
12
16
8
2
6
10
14
2 6 10 14
Competitive Advantage with Optimization - Anwar Ali 49
High-income women constraint; 7x + 2y ≥ 28
Graphical Solution
x (comedy ads)
y(footballads)
4 8 12 16
4
12
16
8
2
6
10
14
2 6 10 14
Competitive Advantage with Optimization - Anwar Ali 50
High-income women constraint; 7x + 2y ≥ 28
High-income men constraint; 2x + 12y ≥ 24
Unbounded
feasible region
Graphical Solution
x (comedy ads)
y(footballads)
4 8 12 16
4
12
16
8
2
6
10
14
2 6 10 14
Competitive Advantage with Optimization - Anwar Ali 51
High-income women constraint; 7x + 2y ≥ 28
High-income men constraint; 2x + 12y ≥ 24
Unbounded
feasible region
Graphical Solution
x (comedy ads)
y(footballads)
4 8 12 16
4
12
16
8
2
6
10
14
2 6 10 14
Competitive Advantage with Optimization - Anwar Ali 52
High-income women constraint; 7x + 2y ≥ 28
High-income men constraint; 2x + 12y ≥ 24
Unbounded
feasible region
Graphical Solution
x (comedy ads)
y(footballads)
4 8 12 16
4
12
16
8
2
6
10
14
2 6 10 14
Competitive Advantage with Optimization - Anwar Ali 53
High-income women constraint; 7x + 2y ≥ 28
High-income men constraint; 2x + 12y ≥ 24
x = 3.6
y = 1.4
Optimal Answer
 To minimize advertising cost, purchase
 3.6 slots of comedy ads (x)
 1.4 slots of football ads (y)
 The total advertising cost (in thousands) is
z = 50x + 100 y
z = 50(3.6) + 100(1.4)
z = 320
 But in reality, it is not possible to purchase fractional
number of 1-minute ads. The decision variables x and
y must be integers
Competitive Advantage with Optimization - Anwar Ali 54
Integer Programming
 When an LP model has integer decision variable(s), it is
called integer linear programming (ILP). Why ILP?
 We cannot buy 3.6 slots of ads, must be either 3 or 4
 Yes/no decisions can be modeled as 0 or 1 variables
 When an LP model has mixture of continuous and integer
variables, it is called mixed integer linear programming
(MILP)
 ILP and MILP models are harder and take longer to solve
compared to LP models
 We will use the term “math programming” to represent LP,
ILP, and MILP
Competitive Advantage with Optimization - Anwar Ali 55
Unbounded
feasible region
Graphical Solution
x (comedy ads)
y(footballads)
4 8 12 16
4
12
16
8
2
6
10
14
2 6 10 14
Competitive Advantage with Optimization - Anwar Ali 56
Feasible integer solutions
Unbounded
feasible region
Graphical Solution
x (comedy ads)
y(footballads)
4 8 12 16
4
12
16
8
2
6
10
14
2 6 10 14
Competitive Advantage with Optimization - Anwar Ali 57
Feasible integer solutions
Optimal integer solutions
Lowest z value
in feasible region
Unbounded
feasible region
Graphical Solution
x (comedy ads)
y(footballads)
4 8 12 16
4
12
16
8
2
6
10
14
2 6 10 14
Competitive Advantage with Optimization - Anwar Ali 58
2 solutions with
z = 400
x = 6, y = 1
x = 4, y = 2
Graphical Integer Solutions
 There are 2 solutions with z = 400
 4 slots of comedy ads (x) and 2 slots of football ads (y); z
= 50(4) + 100(2) = 400
 6 slots of comedy ads (x) and 1 slot of football ads (y); z
= 50(6) + 100(1) = 400
 For more complex problems which cannot be solve
graphically, branch-and-bound method is used
Competitive Advantage with Optimization - Anwar Ali 59
Example 2: Diet Problem
 Introduction to
Management Science
 Bernard W. Taylor III
 Prentice Hall, 7th edition
(2002)
 Latest is 11th edition
(2012)
Competitive Advantage with Optimization - Anwar Ali 60
Example 2: Diet Problem
 Breakfast to include at least 420 calories, 5 milligrams
of iron, 400 milligrams of calcium, 20 grams of
protein, 12 grams of fiber, and must have no more than
20 grams of fat and 30 milligrams of cholesterol
Competitive Advantage with Optimization - Anwar Ali 61
Example 2: Diet Problem
 The objective is to minimize meal cost while meeting
the following nutritional requirement:
 Calories ≥ 420
 Iron ≥ 5
 Calcium ≥ 400
 Protein ≥ 20
 Fiber ≥ 12
 Fat ≤ 20
 Cholesterol ≤ 30
Competitive Advantage with Optimization - Anwar Ali 62
Example 2: Decision Variables
x1 = cups of bran cereal
x2 = cups of dry cereal
x3 = cups of oatmeal
x4 = cups of oat bran
x5 = eggs
x6 = slices of bacon
x7 = oranges
x8 = cups of milk
x9 = cups of orange juice
x10 = slices of wheat toast
Competitive Advantage with Optimization - Anwar Ali 63
Example 2: Problem Formulation
Minimize
0.18x1 + 0.22x2 + 0.10x3 + 0.12x4 + 0.10x5 + 0.09x6 + 0.40x7 + 0.16x8 + 0.50x9 +
0.07x10
Subject to:
90x1 + 110x2 + 100x3 + 90x4 + 75x5 + 35x6 + 65x7 + 100x8 + 120x9 + 65x10 ≥
420
6x1 + 4x2 + 2x3 + 3x4 + x5 + x7 + x10 ≥ 5
20x1 + 48x2 + 12x3 + 8x4 + 30x5 + 52x7 + 250x8 + 3x9 + 26x10 ≥ 400
3x1 + 4x2 + 5x3 + 64 + 7x5 + 2x6 + x7 + 9x8 + x9 + 3x10 ≥ 20
5x1 + 2x2 + 3x3 + 4x4 + x7 + 3x10 ≥ 12
2x2 + 2x3 + 2x4 + 5x5 + 3x6 + 4x8 + x10 ≤ 20
270x5 + 8x6 + 12x8 ≤ 30
Competitive Advantage with Optimization - Anwar Ali 64
Example 2: Solution
 The diet problem cannot be solved graphically as it has
10 decision variables
 We will use ‘Solver’ to find solution for the problem
Competitive Advantage with Optimization - Anwar Ali 65
Solver
 Mathematical software, either stand-alone or library,
that 'solves' a mathematical programming problem
 Uses algorithms such as SIMPLEX and branch-and-
bound to solve the problem
 May include Integrated Development Environment
(IDE), e.g. GUI and editor
 Solvers used in this presentation:
 Excel Solver add-in (free, limited capability)
 Excel OpenSolver add-in (free, open source)
 IBM ILOG CPLEX Optimization Studio
Competitive Advantage with Optimization - Anwar Ali 66
Objective Function
Competitive Advantage with Optimization - Anwar Ali 67
Excel Solver Parameters
Competitive Advantage with Optimization - Anwar Ali 68
Excel Solver Solution
Competitive Advantage with Optimization - Anwar Ali 69
Example 2: Problem Formulation
Minimize
0.18x1 + 0.22x2 + 0.10x3 + 0.12x4 + 0.10x5 + 0.09x6 + 0.40x7 + 0.16x8 + 0.50x9 +
0.07x10
Subject to:
90x1 + 110x2 + 100x3 + 90x4 + 75x5 + 35x6 + 65x7 + 100x8 + 120x9 + 65x10 ≥
420
6x1 + 4x2 + 2x3 + 3x4 + x5 + x7 + x10 ≥ 5
20x1 + 48x2 + 12x3 + 8x4 + 30x5 + 52x7 + 250x8 + 3x9 + 26x10 ≥ 400
3x1 + 4x2 + 5x3 + 64 + 7x5 + 2x6 + x7 + 9x8 + x9 + 3x10 ≥ 20
5x1 + 2x2 + 3x3 + 4x4 + x7 + 3x10 ≥ 12
2x2 + 2x3 + 2x4 + 5x5 + 3x6 + 4x8 + x10 ≤ 20
270x5 + 8x6 + 12x8 ≤ 30
Competitive Advantage with Optimization - Anwar Ali 70
Model in IBM ILOG CPLEX
Competitive Advantage with Optimization - Anwar Ali 71
IBM ILOG CPLEX Solution
Competitive Advantage with Optimization - Anwar Ali 72
CPLEX Model (Integer variable)
Competitive Advantage with Optimization - Anwar Ali 73
Model in LPSolve
Competitive Advantage with Optimization - Anwar Ali 74
LPSolve Solution
Competitive Advantage with Optimization - Anwar Ali 75
LPSolve Model (Integer Variable)
Competitive Advantage with Optimization - Anwar Ali 76
LPSolve Solution (Integer Variable)
Competitive Advantage with Optimization - Anwar Ali 77
Key Take Away
 In university, we were taught how to model and then
solve the problem by hand
 In practice, solvers like Excel Solver, ILOG CPLEX and
LPSolve can find the solution(s) very quickly
 It is important to understand the modeling concepts
and able to formulate the problems correctly
 But real-world models are a lot more complex than the
textbook examples
 May have multiple conflicting objectives
 Many (thousands) decision variables and constraints
Competitive Advantage with Optimization - Anwar Ali 78
Conflicting Objectives
Competitive Advantage with Optimization - Anwar Ali 79
CostProfit
Labor
Service
Time
Regulations
Policy Laws
Process
Quality Systems
Safety
Compliance
Choice of Solver
 The choice of solver depends on the problem size and
the ability to integrate with enterprise system
 Excel Solver is recommended for rapid prototyping
and quick-wins
 Demonstrate the concept to users and management
 Can be used if the problem is small
 When all data is local and no database interface is required
 IBM ILOG CPLEX is very good for integrating the
solver solution with large enterprise system
 Scalable with powerful database interfaces
Competitive Advantage with Optimization - Anwar Ali 80
Agenda
 Current Business and Technological Landscapes √
 Analytics Evolution √
 Introduction to Operations Research √
 A Primer on Optimization √
 Formulating and Solving Optimization Models
 Identifying Opportunities with Business Values
 How to Get Started
Competitive Advantage with Optimization - Anwar Ali 81
Problem Formulation
 Problem formulation is the most challenging part in
math programming
 Once the problem has been formulated correctly,
putting the problem into solvers is easy
 Need to use the correct approach in developing the
mathematical equations of a problem
 The more experience we have in problem formulation,
the easier it becomes
Competitive Advantage with Optimization - Anwar Ali 82
The formulation of a
problem is often more
essential than its
solution, which may be
merely a matter of
mathematical or
experimental skill
Albert Einstein
Competitive Advantage with Optimization - Anwar Ali 83
Recommended Modeling Approach
 First, must understand the problem well
 e.g. business rules, objective(s), constraints, input data and
output/decisions required
 Talk to the experts how decisions are made without a model
 Relate the problem to the relevant model types
 Look at examples of the relevant model types
 Many Excel Solver examples are downloadable from Frontline
Systems
 IBM ILOG CPLEX has examples of different complexity
 Develop and refine the model until it represents the
problem faithfully
Competitive Advantage with Optimization - Anwar Ali 84
Additional Reference – Williams
 Model Building in
Mathematical
Programming
 H. Paul Williams
 John Wiley & Sons, Ltd.
5th edition (2013)
Competitive Advantage with Optimization - Anwar Ali 85
Model Types (from H. Paul Williams)
Competitive Advantage with Optimization - Anwar Ali 86
Network models
- Transportation problem
- Assignment problem
- Transhipment problem
- Minimim cost problem
- Shortest path problem
- Maximum flow through a network
- Critical path analysis
Integer programming models
- Set covering problems
- Set packing problems
- Set partitioning problems
- Knapsack problem
- Travelling salesman problem
- Vehicle routing problem
Bin packing / knapsack problem
Competitive Advantage with Optimization - Anwar Ali 88
Cut into different sizes and shapes and minimize the waste
Cutting stock problem
Competitive Advantage with Optimization - Anwar Ali 89
Start from a city, visit each city only once, and return to the original city
after all cities visited. Minimize the travel distance / cost
Traveling salesman problem (TSP)Competitive Advantage with Optimization - Anwar Ali 90
Assign gates to planes considering plane type, schedule, domestic/international, airlines
Assignment problemCompetitive Advantage with Optimization - Anwar Ali 91
Blending problemCompetitive Advantage with Optimization - Anwar Ali 92
Minimize breakfast cost and include at least 420
calories, 5 milligrams of iron, 400 milligrams of
calcium, 20 grams of protein, 12 grams of fiber, and
must have no more than 20 grams of fat and 30
milligrams of cholesterol
Diet problem which is blending problem
Competitive Advantage with Optimization - Anwar Ali 93
Summary of Problems
 Linear Programming
 Blending problem
 Integer Programming
 Bin packing / knapsack problem
 Cutting stock problem
 Traveling salesman problem (TSP)
 Assignment problem
 We pick the interesting knapsack problem and
demonstrate how it is formulated and solved
Competitive Advantage with Optimization - Anwar Ali 94
Knapsack Problem
 The original name came from a problem where a hiker tries
to pack the most valuable items without overloading the
knapsack. Each item has a certain value/benefit and
weight. An overall weight limitation gives the single
constraint
Competitive Advantage with Optimization - Anwar Ali 95
Picture from Wikipedia
Knapsack Problem
 This is a combinatorial optimization problem and has
been studied since 1897. Several algorithms have been
developed to solve this problem
 Application examples:
 Stocking warehouse to the space limit
 Finding the least wasteful way to cut raw materials
 Portfolio selection in investment decision
 Capital budgeting allocation decision
 Project selection
Competitive Advantage with Optimization - Anwar Ali 96
Problem Formulation
 Let
 0-1 knapsack
Competitive Advantage with Optimization - Anwar Ali 97
𝑥𝑖 = 𝑐𝑜𝑝𝑖𝑒𝑠 𝑜𝑓 𝑒𝑎𝑐ℎ 𝑘𝑖𝑛𝑑 𝑜𝑓 𝑖𝑡𝑒𝑚
𝑣𝑖 = 𝑣𝑎𝑙𝑢𝑒
𝑤𝑖 = 𝑤𝑒𝑖𝑔ℎ𝑡
𝑊 = 𝑚𝑎𝑥𝑖𝑚𝑢𝑚 𝑤𝑒𝑖𝑔ℎ𝑡 𝑐𝑎𝑝𝑎𝑐𝑖𝑡𝑦
𝑖 = 𝑖𝑡𝑒𝑚𝑠 𝑛𝑢𝑚𝑏𝑒𝑟𝑒𝑑 1. . 𝑛
𝑚𝑎𝑥𝑖𝑚𝑖𝑧𝑒 𝑣𝑖
𝑛
𝑖=1
𝑥𝑖
𝑠𝑢𝑏𝑗𝑒𝑐𝑡 𝑡𝑜 𝑤𝑖
𝑛
𝑖=1
𝑥𝑖 ≤ 𝑊, 𝑥𝑖 ∈ 0,1
Other Types of Knapsack
 Bounded
 Unbounded
Competitive Advantage with Optimization - Anwar Ali 98
𝑚𝑎𝑥𝑖𝑚𝑖𝑧𝑒 𝑣𝑖
𝑛
𝑖=1
𝑥𝑖
𝑠𝑢𝑏𝑗𝑒𝑐𝑡 𝑡𝑜 𝑤𝑖
𝑛
𝑖=1
𝑥𝑖 ≤ 𝑊, 𝑥𝑖 ∈ 0, . . . , 𝑐𝑖
𝑚𝑎𝑥𝑖𝑚𝑖𝑧𝑒 𝑣𝑖
𝑛
𝑖=1
𝑥𝑖
𝑠𝑢𝑏𝑗𝑒𝑐𝑡 𝑡𝑜 𝑤𝑖
𝑛
𝑖=1
𝑥𝑖 ≤ 𝑊, 𝑥𝑖 ≥ 0
Knapsack Problem Exercise
 Since the formulation has been given, let’s solve this
problem using Excel Solver
Competitive Advantage with Optimization - Anwar Ali 99
Items Weight Value Take?
1 12 4
2 1 2
3 4 10
4 1 1
5 2 2
Weight of items taken 0
Weight limit 15
Total value 0
From math model to OPL model
Competitive Advantage with Optimization - Anwar Ali 100
int n = 5;
range items = 1..n;
int w[items] = [12,1,4,1,2];
int v[items] = [4,2,10,1,2];
int W = 15; // weight limit
dvar boolean x[items];
maximize sum(i in items) v[i]*x[i];
subject to {
sum(i in items) w[i]*x[i] <= W;
}
𝑥𝑖 = 𝑐𝑜𝑝𝑖𝑒𝑠 𝑜𝑓 𝑒𝑎𝑐ℎ 𝑘𝑖𝑛𝑑 𝑜𝑓 𝑖𝑡𝑒𝑚
𝑣𝑖 = 𝑣𝑎𝑙𝑢𝑒
𝑤𝑖 = 𝑤𝑒𝑖𝑔ℎ𝑡
𝑊 = 𝑚𝑎𝑥𝑖𝑚𝑢𝑚 𝑤𝑒𝑖𝑔ℎ𝑡 𝑐𝑎𝑝𝑎𝑐𝑖𝑡𝑦
𝑖 = 𝑖𝑡𝑒𝑚𝑠 𝑛𝑢𝑚𝑏𝑒𝑟𝑒𝑑 1. . 𝑛
Items Weight Value Take?
1 12 4
2 1 2
3 4 10
4 1 1
5 2 2
Weight of items taken 0
Weight limit 15
Total value 0
From math model to OPL model
Competitive Advantage with Optimization - Anwar Ali 101
𝑚𝑎𝑥𝑖𝑚𝑖𝑧𝑒 𝑣𝑖
𝑛
𝑖=1
𝑥𝑖
𝑠𝑢𝑏𝑗𝑒𝑐𝑡 𝑡𝑜 𝑤𝑖
𝑛
𝑖=1
𝑥𝑖 ≤ 𝑊, 𝑥𝑖 ∈ 0,1
int n = 5;
range items = 1..n;
int w[items] = [12,1,4,1,2];
int v[items] = [4,2,10,1,2];
int W = 15; // weight limit
dvar boolean x[items];
maximize sum(i in items) v[i]*x[i];
subject to {
sum(i in items) w[i]*x[i] <= W;
}
0-1 knapsack
From math model to OPL model
Competitive Advantage with Optimization - Anwar Ali 102
int n = 5;
range items = 1..n;
int w[items] = [12,1,4,1,2];
int v[items] = [4,2,10,1,2];
int W = 15; // weight limit
dvar int+ x[items];
maximize sum(i in items) v[i]*x[i];
subject to {
sum(i in items) w[i]*x[i] <= W;
}
𝑚𝑎𝑥𝑖𝑚𝑖𝑧𝑒 𝑣𝑖
𝑛
𝑖=1
𝑥𝑖
𝑠𝑢𝑏𝑗𝑒𝑐𝑡 𝑡𝑜 𝑤𝑖
𝑛
𝑖=1
𝑥𝑖 ≤ 𝑊, 𝑥𝑖 ≥ 0
Unbounded
Agenda
 Current Business and Technological Landscapes √
 Analytics Evolution √
 Introduction to Operations Research √
 A Primer on Optimization √
 Formulating and Solving Optimization Models √
 Identifying Opportunities with Business Values
 How to Get Started
Competitive Advantage with Optimization - Anwar Ali 103
Waste neither time nor
money, but make the
best use of both
Benjamin Franklin
Competitive Advantage with Optimization - Anwar Ali 104
Competitive Advantage with Optimization - Anwar Ali 105
3 Classes of Business Value
 Cost reductions
 Decision improvements
 Improvements in products and services
Competitive Advantage with Optimization - Anwar Ali 106
Examples
 Cost reductions
 Capital dollars (e.g. fixed assets, buildings)
 Manpower optimization (e.g. call centre)
 Decision improvements
 What-if analyses speed
 Pricing decisions
 Improvements in products and services
 Customers retention
 New products
Competitive Advantage with Optimization - Anwar Ali 107
Competitive Advantage with Optimization - Anwar Ali 108
The capability to conduct Advanced Analytics
will no longer be viewed as a competitive
advantage – it will become a necessity for
survival and a requirement to stay
competitive in the marketplace
2016 Big Data Survey Respondent,
North American Chief Risk Officers Council
Analytics in Insurance
Competitive Advantage with Optimization - Anwar Ali 109
Report by Everest Group Research 2014
Optimization in Insurance
 Product profitability
 Cost reduction
 Portfolio selection
 Manpower planning
 Site location
 Capital/assets optimization
 Scenario analysis
Competitive Advantage with Optimization - Anwar Ali 110
Identifying Opportunities
 Whenever there is a need to iterate many possibilities
or scenarios before making recommendation to the
management, it means there is opportunity to use
Optimization
Competitive Advantage with Optimization - Anwar Ali 111
Agenda
 Current Business and Technological Landscapes √
 Analytics Evolution √
 Introduction to Operations Research √
 A Primer on Optimization √
 Formulating and Solving Optimization Models √
 Identifying Opportunities with Business Values √
 How to Get Started
Competitive Advantage with Optimization - Anwar Ali 112
Getting Started with Optimization
 Get management sponsors
 Convince management the benefits of optimization
 Identify the challenges in decision making process
 Unable to predict the outcome?
 Complexity in decision making
 Drill down the decision making process
 Objectives, rules, and boundary conditions
 Input data required
 What kind of outcomes/decisions needed
 Build and demo quick-win optimization model(s)
 Refine it until it can replace the current process
Competitive Advantage with Optimization - Anwar Ali 113
Competencies Required
 Spreadsheet modeling
 Mathematical optimization
 Data integration
 Business acumen
 Hire consultant or upskill / train employees
Competitive Advantage with Optimization - Anwar Ali 114
Training Offering
 Current offering of SBL claimable training
 1-day “Decision Optimization for Managers”
 3-day “Decision Optimization”
 Upcoming courses
 “Decision Optimization Non-Linear Programming”
 “Decision Optimization Stochastic Programming”
Competitive Advantage with Optimization - Anwar Ali 115
Expected Learning Outcome
 You will learn:
 Where O.R. fits in the analytics big picture and how it
helps decision making
 Algebraic expressions and spreadsheet modeling
techniques
 Linear Programming (LP) concepts and modeling
techniques
 How to formulate decision-making problems as LP
models and solve with various solvers
Competitive Advantage with Optimization - Anwar Ali 116
Course Outline – Fundamentals
 Introduction to Analytics and O.R.
 Algebraic Expressions
 Basic Spreadsheet Modeling
 LP and Solvers
 Model Types
Competitive Advantage with Optimization - Anwar Ali 117
Course Outline – Modeling
 Manpower Planning
 Blending
 Multi-period Inventory
 Transportation
 Assignment
 Transshipment
 Network
 Investment
Competitive Advantage with Optimization - Anwar Ali 118
Course Outline – Modeling
 Integer Programming (IP)
 0-1 IP
 Knapsack, Investment
 Fixed-charge and Facility Location
 Set Covering
 Either-Or constraints
 Traveling Salesman Problem (TSP)
 Goal Programming
Competitive Advantage with Optimization - Anwar Ali 119
anwarali@theoptimizationexpert.com
Competitive Advantage with Optimization - Anwar Ali 120

More Related Content

What's hot

Big Data: Smart Technologies Provide Big Opportunities
Big Data: Smart Technologies Provide Big OpportunitiesBig Data: Smart Technologies Provide Big Opportunities
Big Data: Smart Technologies Provide Big OpportunitiesNAED_Org
 
CS309A Final Paper_KM_DD
CS309A Final Paper_KM_DDCS309A Final Paper_KM_DD
CS309A Final Paper_KM_DDDavid Darrough
 
A Topic Model of Analytics Job Adverts (Operational Research Society Annual C...
A Topic Model of Analytics Job Adverts (Operational Research Society Annual C...A Topic Model of Analytics Job Adverts (Operational Research Society Annual C...
A Topic Model of Analytics Job Adverts (Operational Research Society Annual C...Michael Mortenson
 
Leveraging Your Data Report
Leveraging Your Data ReportLeveraging Your Data Report
Leveraging Your Data ReportNAED_Org
 
Big Data Courses In Mumbai
Big Data Courses In MumbaiBig Data Courses In Mumbai
Big Data Courses In Mumbaifaizrashid1995
 
Towards the Industrialization of AI
Towards the Industrialization of AITowards the Industrialization of AI
Towards the Industrialization of AIHui Lei
 
August webinar - Data Analysis vs Business Analysis vs BI vs Big Data
August webinar  - Data Analysis vs Business Analysis vs BI vs Big DataAugust webinar  - Data Analysis vs Business Analysis vs BI vs Big Data
August webinar - Data Analysis vs Business Analysis vs BI vs Big DataMichael Olafusi
 
Slides: Five Data Valuation Pillars
Slides:  Five Data Valuation PillarsSlides:  Five Data Valuation Pillars
Slides: Five Data Valuation PillarsJohn Furrier
 
Technology Driven Process PowerPoint Presentation Slides
Technology Driven Process PowerPoint Presentation Slides Technology Driven Process PowerPoint Presentation Slides
Technology Driven Process PowerPoint Presentation Slides SlideTeam
 
Industrialisation of Analytics in India
Industrialisation of Analytics in IndiaIndustrialisation of Analytics in India
Industrialisation of Analytics in IndiaBody of Knowledge
 
2015 Forrester Report
2015 Forrester Report2015 Forrester Report
2015 Forrester ReportAnthony Papp
 
940 sponsor gazdak_using our laptop
940 sponsor gazdak_using our laptop940 sponsor gazdak_using our laptop
940 sponsor gazdak_using our laptopRising Media, Inc.
 
GSAMPerspectives7-BigData-Edition
GSAMPerspectives7-BigData-EditionGSAMPerspectives7-BigData-Edition
GSAMPerspectives7-BigData-EditionGang Li
 
Quarterly ideenwerkstatt 12_2013_eng
Quarterly ideenwerkstatt 12_2013_engQuarterly ideenwerkstatt 12_2013_eng
Quarterly ideenwerkstatt 12_2013_engICV_eV
 
State of MLOps 2021 valohai survey_요약정리
State of MLOps 2021 valohai survey_요약정리State of MLOps 2021 valohai survey_요약정리
State of MLOps 2021 valohai survey_요약정리Chun Myung Kyu
 
To Become a Data-Driven Enterprise, Data Democratization is Essential
To Become a Data-Driven Enterprise, Data Democratization is EssentialTo Become a Data-Driven Enterprise, Data Democratization is Essential
To Become a Data-Driven Enterprise, Data Democratization is EssentialCognizant
 

What's hot (19)

Big Data: Smart Technologies Provide Big Opportunities
Big Data: Smart Technologies Provide Big OpportunitiesBig Data: Smart Technologies Provide Big Opportunities
Big Data: Smart Technologies Provide Big Opportunities
 
CS309A Final Paper_KM_DD
CS309A Final Paper_KM_DDCS309A Final Paper_KM_DD
CS309A Final Paper_KM_DD
 
A Topic Model of Analytics Job Adverts (Operational Research Society Annual C...
A Topic Model of Analytics Job Adverts (Operational Research Society Annual C...A Topic Model of Analytics Job Adverts (Operational Research Society Annual C...
A Topic Model of Analytics Job Adverts (Operational Research Society Annual C...
 
Leveraging Your Data Report
Leveraging Your Data ReportLeveraging Your Data Report
Leveraging Your Data Report
 
Big Data Courses In Mumbai
Big Data Courses In MumbaiBig Data Courses In Mumbai
Big Data Courses In Mumbai
 
Towards the Industrialization of AI
Towards the Industrialization of AITowards the Industrialization of AI
Towards the Industrialization of AI
 
Kaggle: Crowd Sourcing for Data Analytics
Kaggle: Crowd Sourcing for Data AnalyticsKaggle: Crowd Sourcing for Data Analytics
Kaggle: Crowd Sourcing for Data Analytics
 
August webinar - Data Analysis vs Business Analysis vs BI vs Big Data
August webinar  - Data Analysis vs Business Analysis vs BI vs Big DataAugust webinar  - Data Analysis vs Business Analysis vs BI vs Big Data
August webinar - Data Analysis vs Business Analysis vs BI vs Big Data
 
Slides: Five Data Valuation Pillars
Slides:  Five Data Valuation PillarsSlides:  Five Data Valuation Pillars
Slides: Five Data Valuation Pillars
 
Technology Driven Process PowerPoint Presentation Slides
Technology Driven Process PowerPoint Presentation Slides Technology Driven Process PowerPoint Presentation Slides
Technology Driven Process PowerPoint Presentation Slides
 
Industrialisation of Analytics in India
Industrialisation of Analytics in IndiaIndustrialisation of Analytics in India
Industrialisation of Analytics in India
 
Forrester on Big Data
Forrester on Big DataForrester on Big Data
Forrester on Big Data
 
2015 Forrester Report
2015 Forrester Report2015 Forrester Report
2015 Forrester Report
 
Predictive analytics 2025_br
Predictive analytics 2025_brPredictive analytics 2025_br
Predictive analytics 2025_br
 
940 sponsor gazdak_using our laptop
940 sponsor gazdak_using our laptop940 sponsor gazdak_using our laptop
940 sponsor gazdak_using our laptop
 
GSAMPerspectives7-BigData-Edition
GSAMPerspectives7-BigData-EditionGSAMPerspectives7-BigData-Edition
GSAMPerspectives7-BigData-Edition
 
Quarterly ideenwerkstatt 12_2013_eng
Quarterly ideenwerkstatt 12_2013_engQuarterly ideenwerkstatt 12_2013_eng
Quarterly ideenwerkstatt 12_2013_eng
 
State of MLOps 2021 valohai survey_요약정리
State of MLOps 2021 valohai survey_요약정리State of MLOps 2021 valohai survey_요약정리
State of MLOps 2021 valohai survey_요약정리
 
To Become a Data-Driven Enterprise, Data Democratization is Essential
To Become a Data-Driven Enterprise, Data Democratization is EssentialTo Become a Data-Driven Enterprise, Data Democratization is Essential
To Become a Data-Driven Enterprise, Data Democratization is Essential
 

Similar to Competitive Advantage with Optimization MII

Big Data Analytics in light of Financial Industry
Big Data Analytics in light of Financial Industry Big Data Analytics in light of Financial Industry
Big Data Analytics in light of Financial Industry Capgemini
 
Earley Executive Roundtable Summary - Data Analytics
Earley Executive Roundtable Summary - Data AnalyticsEarley Executive Roundtable Summary - Data Analytics
Earley Executive Roundtable Summary - Data AnalyticsEarley Information Science
 
Why Everything You Know About bigdata Is A Lie
Why Everything You Know About bigdata Is A LieWhy Everything You Know About bigdata Is A Lie
Why Everything You Know About bigdata Is A LieSunil Ranka
 
Data Science - Part I - Sustaining Predictive Analytics Capabilities
Data Science - Part I - Sustaining Predictive Analytics CapabilitiesData Science - Part I - Sustaining Predictive Analytics Capabilities
Data Science - Part I - Sustaining Predictive Analytics CapabilitiesDerek Kane
 
Big Data & Business Analytics: Understanding the Marketspace
Big Data & Business Analytics: Understanding the MarketspaceBig Data & Business Analytics: Understanding the Marketspace
Big Data & Business Analytics: Understanding the MarketspaceBala Iyer
 
Predictive Maintenance Solution -1019
Predictive Maintenance Solution -1019Predictive Maintenance Solution -1019
Predictive Maintenance Solution -1019Percy-Mitchell
 
Demonstrating Big Value in Big Data with New Analytics Approaches
Demonstrating Big Value in Big Data with New Analytics ApproachesDemonstrating Big Value in Big Data with New Analytics Approaches
Demonstrating Big Value in Big Data with New Analytics ApproachesJulie Severance
 
INTRODUCTION TO BUSINESS ANALYTICS.pptx
INTRODUCTION TO BUSINESS ANALYTICS.pptxINTRODUCTION TO BUSINESS ANALYTICS.pptx
INTRODUCTION TO BUSINESS ANALYTICS.pptxSurendhranatha Reddy
 
Better Living Through Analytics - Strategies for Data Decisions
Better Living Through Analytics - Strategies for Data DecisionsBetter Living Through Analytics - Strategies for Data Decisions
Better Living Through Analytics - Strategies for Data DecisionsProduct School
 
ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING
ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING
ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING Goodbuzz Inc.
 
Enterprise Architecture Proposal
Enterprise Architecture ProposalEnterprise Architecture Proposal
Enterprise Architecture ProposalStacey Cruz
 
AI and Data Science What These Machine Learning Terms Mean for Business.pdf
AI and Data Science What These Machine Learning Terms Mean for Business.pdfAI and Data Science What These Machine Learning Terms Mean for Business.pdf
AI and Data Science What These Machine Learning Terms Mean for Business.pdfKavika Roy
 
BIG DATA & BUSINESS ANALYTICS
BIG DATA & BUSINESS ANALYTICSBIG DATA & BUSINESS ANALYTICS
BIG DATA & BUSINESS ANALYTICSVikram Joshi
 
MPCA-SAS-innovators-flight-plan-ai.pdf
MPCA-SAS-innovators-flight-plan-ai.pdfMPCA-SAS-innovators-flight-plan-ai.pdf
MPCA-SAS-innovators-flight-plan-ai.pdfProsper85
 
Business Intelligence, Data Analytics, and AI
Business Intelligence, Data Analytics, and AIBusiness Intelligence, Data Analytics, and AI
Business Intelligence, Data Analytics, and AIJohnny Jepp
 
Delivering Value Through Business Analytics
Delivering Value Through Business AnalyticsDelivering Value Through Business Analytics
Delivering Value Through Business AnalyticsSocial Media Today
 

Similar to Competitive Advantage with Optimization MII (20)

Big Data Analytics in light of Financial Industry
Big Data Analytics in light of Financial Industry Big Data Analytics in light of Financial Industry
Big Data Analytics in light of Financial Industry
 
Earley Executive Roundtable Summary - Data Analytics
Earley Executive Roundtable Summary - Data AnalyticsEarley Executive Roundtable Summary - Data Analytics
Earley Executive Roundtable Summary - Data Analytics
 
LESSON 1.pdf
LESSON 1.pdfLESSON 1.pdf
LESSON 1.pdf
 
Why Everything You Know About bigdata Is A Lie
Why Everything You Know About bigdata Is A LieWhy Everything You Know About bigdata Is A Lie
Why Everything You Know About bigdata Is A Lie
 
Data Science - Part I - Sustaining Predictive Analytics Capabilities
Data Science - Part I - Sustaining Predictive Analytics CapabilitiesData Science - Part I - Sustaining Predictive Analytics Capabilities
Data Science - Part I - Sustaining Predictive Analytics Capabilities
 
Data Science
Data ScienceData Science
Data Science
 
Big Data & Business Analytics: Understanding the Marketspace
Big Data & Business Analytics: Understanding the MarketspaceBig Data & Business Analytics: Understanding the Marketspace
Big Data & Business Analytics: Understanding the Marketspace
 
Predictive Maintenance Solution -1019
Predictive Maintenance Solution -1019Predictive Maintenance Solution -1019
Predictive Maintenance Solution -1019
 
Demonstrating Big Value in Big Data with New Analytics Approaches
Demonstrating Big Value in Big Data with New Analytics ApproachesDemonstrating Big Value in Big Data with New Analytics Approaches
Demonstrating Big Value in Big Data with New Analytics Approaches
 
INTRODUCTION TO BUSINESS ANALYTICS.pptx
INTRODUCTION TO BUSINESS ANALYTICS.pptxINTRODUCTION TO BUSINESS ANALYTICS.pptx
INTRODUCTION TO BUSINESS ANALYTICS.pptx
 
Better Living Through Analytics - Strategies for Data Decisions
Better Living Through Analytics - Strategies for Data DecisionsBetter Living Through Analytics - Strategies for Data Decisions
Better Living Through Analytics - Strategies for Data Decisions
 
ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING
ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING
ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING
 
Business Analytics Unit III: Developing analytical talent
Business Analytics Unit III: Developing analytical talentBusiness Analytics Unit III: Developing analytical talent
Business Analytics Unit III: Developing analytical talent
 
Achieving Business Success with Data.pdf
Achieving Business Success with Data.pdfAchieving Business Success with Data.pdf
Achieving Business Success with Data.pdf
 
Enterprise Architecture Proposal
Enterprise Architecture ProposalEnterprise Architecture Proposal
Enterprise Architecture Proposal
 
AI and Data Science What These Machine Learning Terms Mean for Business.pdf
AI and Data Science What These Machine Learning Terms Mean for Business.pdfAI and Data Science What These Machine Learning Terms Mean for Business.pdf
AI and Data Science What These Machine Learning Terms Mean for Business.pdf
 
BIG DATA & BUSINESS ANALYTICS
BIG DATA & BUSINESS ANALYTICSBIG DATA & BUSINESS ANALYTICS
BIG DATA & BUSINESS ANALYTICS
 
MPCA-SAS-innovators-flight-plan-ai.pdf
MPCA-SAS-innovators-flight-plan-ai.pdfMPCA-SAS-innovators-flight-plan-ai.pdf
MPCA-SAS-innovators-flight-plan-ai.pdf
 
Business Intelligence, Data Analytics, and AI
Business Intelligence, Data Analytics, and AIBusiness Intelligence, Data Analytics, and AI
Business Intelligence, Data Analytics, and AI
 
Delivering Value Through Business Analytics
Delivering Value Through Business AnalyticsDelivering Value Through Business Analytics
Delivering Value Through Business Analytics
 

Recently uploaded

WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 

Recently uploaded (20)

WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 

Competitive Advantage with Optimization MII

  • 1. Breakfast Talk, Malaysian Insurance Institute 20th April 2017 Kuala Lumpur Dr. Anwar Ali www.theoptimizationexpert.com
  • 2. My Background  Studied engineering and worked as an engineer  Bachelor in Mechanical Eng, major in Industrial Engineering (IE)  Held various engineering positions including process, machine vision, equipment development, factory IE, systems IE  27 years in American multinational companies (1988-2015)  2 years at Texas Instruments KL  25 years at Intel Penang & Kulim, including 2 years in Arizona  Created in-house Operations Research group in 2002  Have done simulation, math optimization, and the relevant data integration to enable simulation and optimization  Completed 2 post graduate degrees while working full time  M.Sc. in Decision Science, UUM in 2005  Doctor in Engineering (Eng Biz Mgt), UTM KL in 2014 Competitive Advantage with Optimization - Anwar Ali 2
  • 3. Agenda  Current Business and Technological Landscapes  Analytics Evolution  Introduction to Operations Research  A Primer on Optimization  Formulating and Solving Optimization Models  Identifying Opportunities with Business Values  How to Get Started Competitive Advantage with Optimization - Anwar Ali 3
  • 4. The Forces Driving Our Future  Digital future  Entrepreneurship rising  Global marketplace  Urban world  Resourceful planet  Health reimagined Competitive Advantage with Optimization - Anwar Ali 4 Ernest & Young Megatrends 2015
  • 5. The Forces Driving Our Future  Digital future  Convergence of social, mobile, cloud, big data  Growing demand for anytime anywhere access to information  Entrepreneurship rising  Technology enabling machines and software to substitute for humans  High-impact entrepreneurs are building innovative and scalable enterprises  Many new enterprises are digital from birth with young faces Competitive Advantage with Optimization - Anwar Ali 5 Ernest & Young Megatrends 2015
  • 6. The Forces Driving Our Future  Global marketplace  Innovation will increasingly take place in rapid-growth markets  War for talent; greater workforce diversity providing competitive advantage  Urban world  More cities across the globe Competitive Advantage with Optimization - Anwar Ali 6 Ernest & Young Megatrends 2015
  • 7. The Forces Driving Our Future  Resourceful planet  Increasing global demand for natural resources  Growing concern over environmental degradation  Health reimagined  Increasing cost pressure require more sustainable approach  Explosion in big data and mobile health technologies  From delivery of health care to management of health Competitive Advantage with Optimization - Anwar Ali 7 Ernest & Young Megatrends 2015
  • 8. Digital Future  Technology is also changing the ways people work, and is increasingly enabling machines and software to substitute for humans. Enterprises and individuals who can seize the opportunities offered by digital advances stand to gain significantly, while those who cannot may lose everything Competitive Advantage with Optimization - Anwar Ali 8 Ernest & Young Megatrends 2015
  • 9. Competitive Advantage with Optimization - Anwar Ali 9 Anytime anywhere access to information. Machines and software substitute humans. How should we adapt?
  • 10. Today’s Technology Buzzwords Competitive Advantage with Optimization - Anwar Ali 10 Big Data Data Visualization Data Scientist Business Intelligence Analytics Internet of Things Cloud Apps Wearable
  • 11. Big Data and Traditional Analytics Competitive Advantage with Optimization - Anwar Ali 11 big data @ work, Thomas H. Davenport, 2014
  • 12. Terminology for Using and Analyzing Data Competitive Advantage with Optimization - Anwar Ali 12 big data @ work, Thomas H. Davenport, 2014
  • 13. Data Scientist? Competitive Advantage with Optimization - Anwar Ali 13
  • 14. Competitive Advantage with Optimization - Anwar Ali 14
  • 15. Data Science Data Science is an interdisciplinary field about processes and systems to extract knowledge or insights from large volumes of data in various forms, either structured or unstructured, which is a continuation of some of the data analysis fields such as data mining and predictive analytics, as well as Knowledge Discovery in Databases Wikipedia Competitive Advantage with Optimization - Anwar Ali 15
  • 16. Data Scientist  Similar training like business/data analyst  Computer science, modeling, statistics, analytics, math  Somebody who can stare at data and spot trends, discovering previously hidden insights, which can provide a competitive advantage or address a problem  Data scientists are inquisitive: exploring, asking questions, doing “what if” analysis, questioning existing assumptions and processes. Armed with data and analytical results, a top-tier data scientist will then communicate informed conclusions and recommendations across an organization. IBM Competitive Advantage with Optimization - Anwar Ali 16
  • 17. Data Scientist at Work Competitive Advantage with Optimization - Anwar Ali 17
  • 18. Business Intelligence  Business intelligence (BI) is a broad category of applications, technologies, and processes for gathering, storing, accessing, and analyzing data to help business users make better decisions  The term was first used in 1865  Business Analytics (BA), a newer term, is a subset of BI, focusing on statistics, prediction, and optimization, rather than the reporting functionality  BI / BA are used interchangeably by different vendors with their own definition Competitive Advantage with Optimization - Anwar Ali 18
  • 19. Analytics The extensive use of data, statistical and quantitative analysis, explanatory and predictive models, and fact- based management to drive decisions and actions Competing on Analytics: The New Science of Winning, Davenport and Harris, 2007 Competitive Advantage with Optimization - Anwar Ali 19
  • 20. Business Analytics Business analytics can be defined as the broad use of data and quantitative analysis for decision-making within organizations. It encompasses query and reporting, but aspires to greater levels of mathematical sophistication. It includes analytics, of course, but involves harnessing them to meet defined business objectives. Business analytics empowers people in the organization to make better decisions, improve processes and achieve desired outcomes. It brings together the best of data management, analytic methods, and the presentation of results – all in a closed- loop cycle for continuous learning and improvement The New World of “Business Analytics”, Thomas H. Davenport, March 2010 Competitive Advantage with Optimization - Anwar Ali 20
  • 21. Analytics Landscape Competitive Advantage with Optimization - Anwar Ali 21 Descriptive Prescriptive Predictive Degree of Complexity CompetitiveAdvantage Standard Reporting Ad hoc reporting Query/drill down Alerts Simulation Forecasting Predictive modeling Optimization What exactly is the problem? What will happen next if ? What if these trends continue? What could happen…. ? What actions are needed? How many, how often, where? What happened? Stochastic Optimization How can we achieve the best outcome? How can we achieve the best outcome including the effects of variability? Source: IBM, Based on: Competing on Analytics, Davenport and Harris, 2007
  • 22. Analytics  Descriptive analytics (what has occurred)  The simplest class of analytics, condense big data into smaller, more useful nuggets of information  e.g. counts, likes, posts, views, sales, finance  Predictive analytics (what will occur)  Use available data to predict data we don’t have using variety of statistical, modeling, data mining, and machine learning techniques  Prescriptive analytics (what should occur)  Recommend one or more courses of action and showing the likely outcome of each decision so that the business decision- maker can take this information and act Adapted from Information Week, definitions by Dr Michael Wu http://www.informationweek.com/big-data/big-data-analytics/big-data-analytics-descriptive-vs-predictive-vs-prescriptive/d/d-id/1113279 Competitive Advantage with Optimization - Anwar Ali 22
  • 23. MS Excel Examples  Descriptive aggregate functions:  SUM(), MIN/MAX(), COUNT(), STDEV(), AVERAGE()  Pivot tables  Predictive:  FORECAST(), TREND()  Analysis ToolPak add-in (comes with Excel)  Data Mining add-in (downloadable from Microsoft)  XLMiner add-in (need to purchase from FrontlineSolvers)  Prescriptive:  Solver add-in (comes with Excel, limited capability)  Open Solver add-in (open source, unlimited capability) Competitive Advantage with Optimization - Anwar Ali 23
  • 24. No Crystal Ball Required Competitive Advantage with Optimization - Anwar Ali 24
  • 25. Business Intelligence Framework Competitive Advantage with Optimization - Anwar Ali 25 Back in Business, by Ronald K. Klimberg and Virginia Miori, OR/MS Today, Vol 37, No 5, October 2010, [http://www.informs.org/ORMS-Today/Public-Articles/October-Volume-37-Number-5/Back-in-Business] OR/MS = Operations Research/ Management Science
  • 26. What is Operations Research?  O.R. is the discipline of applying advanced analytical methods to help make better decisions  Also called Management Science or Decision Science, O.R. is the science of Decision-Making  Employing techniques from mathematical sciences, O.R. arrives at optimal or near-optimal solutions to complex decision-making problems  Determine the maximum (e.g. profit, performance, or yield) or minimum (e.g. loss, risk, or cost) Competitive Advantage with Optimization - Anwar Ali 26
  • 27. O.R. Leading Edge Techniques  Simulation  Giving you the ability to try out approaches and test ideas for improvement  Optimization  Narrowing your choices to the very best where there are virtually innumerable feasible options and comparing them is difficult  Probability and statistics  Helping you measure risk, mine data to find valuable connections and insights, test conclusions, and make reliable forecasts Competitive Advantage with Optimization - Anwar Ali 27
  • 28. O.R. Leading Edge Techniques  Simulation (predictive)  Giving you the ability to try out approaches and test ideas for improvement  Optimization (prescriptive)  Narrowing your choices to the very best where there are virtually innumerable feasible options and comparing them is difficult  Probability and statistics (predictive)  Helping you measure risk, mine data to find valuable connections and insights, test conclusions, and make reliable forecasts Competitive Advantage with Optimization - Anwar Ali 28
  • 29. O.R. Leading Edge Techniques  Simulation  Giving you the ability to try out approaches and test ideas for improvement  Optimization – THIS TALK  Narrowing your choices to the very best where there are virtually innumerable feasible options and comparing them is difficult  Probability and statistics  Helping you measure risk, mine data to find valuable connections and insights, test conclusions, and make reliable forecasts Competitive Advantage with Optimization - Anwar Ali 29
  • 30. Analytics Landscape Competitive Advantage with Optimization - Anwar Ali 30 Descriptive Prescriptive Predictive Degree of Complexity CompetitiveAdvantage Standard Reporting Ad hoc reporting Query/drill down Alerts Simulation Forecasting Predictive modeling Optimization What exactly is the problem? What will happen next if ? What if these trends continue? What could happen…. ? What actions are needed? How many, how often, where? What happened? Stochastic Optimization How can we achieve the best outcome? How can we achieve the best outcome including the effects of variability? Source: IBM, Based on: Competing on Analytics, Davenport and Harris, 2007
  • 31. Analytics Landscape Descriptive Prescriptive Predictive Degree of Complexity CompetitiveAdvantage Standard Reporting Ad hoc reporting Query/drill down Alerts Simulation Forecasting Predictive modeling Optimization What exactly is the problem? What will happen next if ? What if these trends continue? What could happen…. ? What actions are needed? How many, how often, where? What happened? Stochastic Optimization How can we achieve the best outcome? How can we achieve the best outcome including the effects of variability? Source: IBM, Based on: Competing on Analytics, Davenport and Harris, 2007 Operations Research Competitive Advantage with Optimization - Anwar Ali 31
  • 32. Three Eras of Analytics Competitive Advantage with Optimization - Anwar Ali 32 big data @ work, Thomas H. Davenport, 2014
  • 33. Competitive Advantage with Optimization - Anwar Ali 33 In 2013 Gartner called prescriptive analytics 'the final frontier for big data’, where companies can finally turn the unprecedented levels of data in the enterprise into powerful action
  • 34. Analytics Maturity (Gartner) Competitive Advantage with Optimization - Anwar Ali 34
  • 35. Analytics Maturity (SAP) Competitive Advantage with Optimization - Anwar Ali 35
  • 36. Examples of Optimization Application  Deciding where to invest capital in order to grow  Figuring out the best way to run a call center  Locating a warehouse or depot to deliver materials over shorter distances at reduced cost  Solving complex scheduling problems  Deciding when to discount, and how much  Getting more out of manufacturing equipment  Optimizing a portfolio of investments Competitive Advantage with Optimization - Anwar Ali 36
  • 37. What are the Benefits?  Operations Research is called “The Science of Better”, i.e. using science to make:  bold decisions and run everyday operations with less risk and better outcomes (no more gut-feel)  repeatable, quantitative decision analysis Adapted from: The Guide to Operational Research, http://www.scienceofbetter.co.uk/ Competitive Advantage with Optimization - Anwar Ali 37
  • 38. Signs O.R. Could Be Beneficial  The management face complex decision making  The management is not sure what the main problem is  The management is uncertain about potential outcomes  The organization is having problems with decision making processes  Management is troubled by risk  The organization is not making the most of its data  The organization needs to beat stiff competition The Guide to Operational Research, http://www.scienceofbetter.co.uk/ Competitive Advantage with Optimization - Anwar Ali 38
  • 39. Key Messages  Seize the opportunities offered by digital advances  Anytime anywhere access to information  Machines and software substitute humans  Be part of analytics initiatives  Optimization is at the top of Analytics  Optimization is the final frontier for big data Competitive Advantage with Optimization - Anwar Ali 39
  • 40. Agenda  Current Business and Technological Landscapes √  Analytics Evolution √  Introduction to Operations Research √  A Primer on Optimization  Formulating and Solving Optimization Models  Identifying Opportunities with Business Values  How to Get Started Competitive Advantage with Optimization - Anwar Ali 40
  • 41. Optimization Modeling  Optimization models have  Objective function  Decision variables  Constraints  Formulated as mathematical equations  Solved graphically (if 2 decision variables) or using Excel Solver, CPLEX, LPSolve, LINDO/LINGO, etc. 41Competitive Advantage with Optimization - Anwar Ali
  • 42. LP Optimization Models Competitive Advantage with Optimization - Anwar Ali 42 𝑚𝑎𝑥 𝑧 = 𝑐1 𝑥1 + 𝑐2 𝑥2 s.t. 𝑎11 𝑥1 + 𝑎12 𝑥2 ≤ 𝑏1 𝑎21 𝑥1 + 𝑎22 𝑥2 ≤ 𝑏2 𝑎31 𝑥1 + 𝑎32 𝑥2 ≤ 𝑏3 𝑥1 ≥ 0, 𝑥2 ≥ 0 𝑚𝑖𝑛 𝑧 = 𝑐1 𝑥1 + 𝑐2 𝑥2 s.t. 𝑎11 𝑥1 + 𝑎12 𝑥2 ≥ 𝑏1 𝑎21 𝑥1 + 𝑎22 𝑥2 ≥ 𝑏2 𝑎31 𝑥1 + 𝑎32 𝑥2 ≥ 𝑏3 𝑥1 ≥ 0, 𝑥2 ≥ 0 Objective function Subject to Constraints Decision variables
  • 43. Linear Programming  A linear programming (LP) problem is an optimization problem which  Attempt to maximize (or minimize) a linear function (called the objective function) of the decision variables  The values of the decision variables must satisfy a set of constraints. Each constraint must be a linear equation or inequality  A sign restriction is associated with each variable. For any variable xi, the sign restriction specifies either that xi must be nonnegative (xi ≥ 0) or that xi may be unrestricted in sign Competitive Advantage with Optimization - Anwar Ali 43
  • 44. Example 1: Dorian Auto  Operations Research: Applications and Algorithms  Wayne L. Winston  Duxbury Press; 4th edition (2003) Competitive Advantage with Optimization - Anwar Ali 44
  • 45. Example 1: Dorian Auto  Dorian Auto manufactures luxury cars and trucks  The company believes that its most likely customers are high-income women and men  To reach these groups, Dorian Auto has embarked on an ambitious TV advertising campaign and will purchase 1-minute commercial spots on two type of programs: comedy shows and football games Competitive Advantage with Optimization - Anwar Ali 45
  • 46. Example 1: Dorian Auto  Each comedy commercial is seen by 7 million high income women and 2 million high-income men and costs $50,000  Each football game is seen by 2 million high-income women and 12 million high-income men and costs $100,000  Dorian Auto would like for commercials to be seen by at least 28 million high-income women and 24 million high-income men  We will use LP to determine how Dorian Auto can meet its advertising requirements at minimum cost Competitive Advantage with Optimization - Anwar Ali 46
  • 47. Example 1: Solution  Decision variables: x = the number of 1-minute comedy ads y = the number of 1-minute football ads  The objective is to minimize advertising cost  Minimize z = 50x + 100y  Constraints:  Ads must be seen by at least 28 million high-income women; 7x + 2y ≥ 28  Ads must be seen by at least 24 million high-income men; 2x + 12y ≥ 24 Competitive Advantage with Optimization - Anwar Ali 47
  • 48. Graphical Solution x (comedy ads) y(footballads) 4 8 12 16 4 12 16 8 2 6 10 14 2 6 10 14 Competitive Advantage with Optimization - Anwar Ali 48
  • 49. Graphical Solution x (comedy ads) y(footballads) 4 8 12 16 4 12 16 8 2 6 10 14 2 6 10 14 Competitive Advantage with Optimization - Anwar Ali 49 High-income women constraint; 7x + 2y ≥ 28
  • 50. Graphical Solution x (comedy ads) y(footballads) 4 8 12 16 4 12 16 8 2 6 10 14 2 6 10 14 Competitive Advantage with Optimization - Anwar Ali 50 High-income women constraint; 7x + 2y ≥ 28 High-income men constraint; 2x + 12y ≥ 24
  • 51. Unbounded feasible region Graphical Solution x (comedy ads) y(footballads) 4 8 12 16 4 12 16 8 2 6 10 14 2 6 10 14 Competitive Advantage with Optimization - Anwar Ali 51 High-income women constraint; 7x + 2y ≥ 28 High-income men constraint; 2x + 12y ≥ 24
  • 52. Unbounded feasible region Graphical Solution x (comedy ads) y(footballads) 4 8 12 16 4 12 16 8 2 6 10 14 2 6 10 14 Competitive Advantage with Optimization - Anwar Ali 52 High-income women constraint; 7x + 2y ≥ 28 High-income men constraint; 2x + 12y ≥ 24
  • 53. Unbounded feasible region Graphical Solution x (comedy ads) y(footballads) 4 8 12 16 4 12 16 8 2 6 10 14 2 6 10 14 Competitive Advantage with Optimization - Anwar Ali 53 High-income women constraint; 7x + 2y ≥ 28 High-income men constraint; 2x + 12y ≥ 24 x = 3.6 y = 1.4
  • 54. Optimal Answer  To minimize advertising cost, purchase  3.6 slots of comedy ads (x)  1.4 slots of football ads (y)  The total advertising cost (in thousands) is z = 50x + 100 y z = 50(3.6) + 100(1.4) z = 320  But in reality, it is not possible to purchase fractional number of 1-minute ads. The decision variables x and y must be integers Competitive Advantage with Optimization - Anwar Ali 54
  • 55. Integer Programming  When an LP model has integer decision variable(s), it is called integer linear programming (ILP). Why ILP?  We cannot buy 3.6 slots of ads, must be either 3 or 4  Yes/no decisions can be modeled as 0 or 1 variables  When an LP model has mixture of continuous and integer variables, it is called mixed integer linear programming (MILP)  ILP and MILP models are harder and take longer to solve compared to LP models  We will use the term “math programming” to represent LP, ILP, and MILP Competitive Advantage with Optimization - Anwar Ali 55
  • 56. Unbounded feasible region Graphical Solution x (comedy ads) y(footballads) 4 8 12 16 4 12 16 8 2 6 10 14 2 6 10 14 Competitive Advantage with Optimization - Anwar Ali 56 Feasible integer solutions
  • 57. Unbounded feasible region Graphical Solution x (comedy ads) y(footballads) 4 8 12 16 4 12 16 8 2 6 10 14 2 6 10 14 Competitive Advantage with Optimization - Anwar Ali 57 Feasible integer solutions Optimal integer solutions Lowest z value in feasible region
  • 58. Unbounded feasible region Graphical Solution x (comedy ads) y(footballads) 4 8 12 16 4 12 16 8 2 6 10 14 2 6 10 14 Competitive Advantage with Optimization - Anwar Ali 58 2 solutions with z = 400 x = 6, y = 1 x = 4, y = 2
  • 59. Graphical Integer Solutions  There are 2 solutions with z = 400  4 slots of comedy ads (x) and 2 slots of football ads (y); z = 50(4) + 100(2) = 400  6 slots of comedy ads (x) and 1 slot of football ads (y); z = 50(6) + 100(1) = 400  For more complex problems which cannot be solve graphically, branch-and-bound method is used Competitive Advantage with Optimization - Anwar Ali 59
  • 60. Example 2: Diet Problem  Introduction to Management Science  Bernard W. Taylor III  Prentice Hall, 7th edition (2002)  Latest is 11th edition (2012) Competitive Advantage with Optimization - Anwar Ali 60
  • 61. Example 2: Diet Problem  Breakfast to include at least 420 calories, 5 milligrams of iron, 400 milligrams of calcium, 20 grams of protein, 12 grams of fiber, and must have no more than 20 grams of fat and 30 milligrams of cholesterol Competitive Advantage with Optimization - Anwar Ali 61
  • 62. Example 2: Diet Problem  The objective is to minimize meal cost while meeting the following nutritional requirement:  Calories ≥ 420  Iron ≥ 5  Calcium ≥ 400  Protein ≥ 20  Fiber ≥ 12  Fat ≤ 20  Cholesterol ≤ 30 Competitive Advantage with Optimization - Anwar Ali 62
  • 63. Example 2: Decision Variables x1 = cups of bran cereal x2 = cups of dry cereal x3 = cups of oatmeal x4 = cups of oat bran x5 = eggs x6 = slices of bacon x7 = oranges x8 = cups of milk x9 = cups of orange juice x10 = slices of wheat toast Competitive Advantage with Optimization - Anwar Ali 63
  • 64. Example 2: Problem Formulation Minimize 0.18x1 + 0.22x2 + 0.10x3 + 0.12x4 + 0.10x5 + 0.09x6 + 0.40x7 + 0.16x8 + 0.50x9 + 0.07x10 Subject to: 90x1 + 110x2 + 100x3 + 90x4 + 75x5 + 35x6 + 65x7 + 100x8 + 120x9 + 65x10 ≥ 420 6x1 + 4x2 + 2x3 + 3x4 + x5 + x7 + x10 ≥ 5 20x1 + 48x2 + 12x3 + 8x4 + 30x5 + 52x7 + 250x8 + 3x9 + 26x10 ≥ 400 3x1 + 4x2 + 5x3 + 64 + 7x5 + 2x6 + x7 + 9x8 + x9 + 3x10 ≥ 20 5x1 + 2x2 + 3x3 + 4x4 + x7 + 3x10 ≥ 12 2x2 + 2x3 + 2x4 + 5x5 + 3x6 + 4x8 + x10 ≤ 20 270x5 + 8x6 + 12x8 ≤ 30 Competitive Advantage with Optimization - Anwar Ali 64
  • 65. Example 2: Solution  The diet problem cannot be solved graphically as it has 10 decision variables  We will use ‘Solver’ to find solution for the problem Competitive Advantage with Optimization - Anwar Ali 65
  • 66. Solver  Mathematical software, either stand-alone or library, that 'solves' a mathematical programming problem  Uses algorithms such as SIMPLEX and branch-and- bound to solve the problem  May include Integrated Development Environment (IDE), e.g. GUI and editor  Solvers used in this presentation:  Excel Solver add-in (free, limited capability)  Excel OpenSolver add-in (free, open source)  IBM ILOG CPLEX Optimization Studio Competitive Advantage with Optimization - Anwar Ali 66
  • 67. Objective Function Competitive Advantage with Optimization - Anwar Ali 67
  • 68. Excel Solver Parameters Competitive Advantage with Optimization - Anwar Ali 68
  • 69. Excel Solver Solution Competitive Advantage with Optimization - Anwar Ali 69
  • 70. Example 2: Problem Formulation Minimize 0.18x1 + 0.22x2 + 0.10x3 + 0.12x4 + 0.10x5 + 0.09x6 + 0.40x7 + 0.16x8 + 0.50x9 + 0.07x10 Subject to: 90x1 + 110x2 + 100x3 + 90x4 + 75x5 + 35x6 + 65x7 + 100x8 + 120x9 + 65x10 ≥ 420 6x1 + 4x2 + 2x3 + 3x4 + x5 + x7 + x10 ≥ 5 20x1 + 48x2 + 12x3 + 8x4 + 30x5 + 52x7 + 250x8 + 3x9 + 26x10 ≥ 400 3x1 + 4x2 + 5x3 + 64 + 7x5 + 2x6 + x7 + 9x8 + x9 + 3x10 ≥ 20 5x1 + 2x2 + 3x3 + 4x4 + x7 + 3x10 ≥ 12 2x2 + 2x3 + 2x4 + 5x5 + 3x6 + 4x8 + x10 ≤ 20 270x5 + 8x6 + 12x8 ≤ 30 Competitive Advantage with Optimization - Anwar Ali 70
  • 71. Model in IBM ILOG CPLEX Competitive Advantage with Optimization - Anwar Ali 71
  • 72. IBM ILOG CPLEX Solution Competitive Advantage with Optimization - Anwar Ali 72
  • 73. CPLEX Model (Integer variable) Competitive Advantage with Optimization - Anwar Ali 73
  • 74. Model in LPSolve Competitive Advantage with Optimization - Anwar Ali 74
  • 75. LPSolve Solution Competitive Advantage with Optimization - Anwar Ali 75
  • 76. LPSolve Model (Integer Variable) Competitive Advantage with Optimization - Anwar Ali 76
  • 77. LPSolve Solution (Integer Variable) Competitive Advantage with Optimization - Anwar Ali 77
  • 78. Key Take Away  In university, we were taught how to model and then solve the problem by hand  In practice, solvers like Excel Solver, ILOG CPLEX and LPSolve can find the solution(s) very quickly  It is important to understand the modeling concepts and able to formulate the problems correctly  But real-world models are a lot more complex than the textbook examples  May have multiple conflicting objectives  Many (thousands) decision variables and constraints Competitive Advantage with Optimization - Anwar Ali 78
  • 79. Conflicting Objectives Competitive Advantage with Optimization - Anwar Ali 79 CostProfit Labor Service Time Regulations Policy Laws Process Quality Systems Safety Compliance
  • 80. Choice of Solver  The choice of solver depends on the problem size and the ability to integrate with enterprise system  Excel Solver is recommended for rapid prototyping and quick-wins  Demonstrate the concept to users and management  Can be used if the problem is small  When all data is local and no database interface is required  IBM ILOG CPLEX is very good for integrating the solver solution with large enterprise system  Scalable with powerful database interfaces Competitive Advantage with Optimization - Anwar Ali 80
  • 81. Agenda  Current Business and Technological Landscapes √  Analytics Evolution √  Introduction to Operations Research √  A Primer on Optimization √  Formulating and Solving Optimization Models  Identifying Opportunities with Business Values  How to Get Started Competitive Advantage with Optimization - Anwar Ali 81
  • 82. Problem Formulation  Problem formulation is the most challenging part in math programming  Once the problem has been formulated correctly, putting the problem into solvers is easy  Need to use the correct approach in developing the mathematical equations of a problem  The more experience we have in problem formulation, the easier it becomes Competitive Advantage with Optimization - Anwar Ali 82
  • 83. The formulation of a problem is often more essential than its solution, which may be merely a matter of mathematical or experimental skill Albert Einstein Competitive Advantage with Optimization - Anwar Ali 83
  • 84. Recommended Modeling Approach  First, must understand the problem well  e.g. business rules, objective(s), constraints, input data and output/decisions required  Talk to the experts how decisions are made without a model  Relate the problem to the relevant model types  Look at examples of the relevant model types  Many Excel Solver examples are downloadable from Frontline Systems  IBM ILOG CPLEX has examples of different complexity  Develop and refine the model until it represents the problem faithfully Competitive Advantage with Optimization - Anwar Ali 84
  • 85. Additional Reference – Williams  Model Building in Mathematical Programming  H. Paul Williams  John Wiley & Sons, Ltd. 5th edition (2013) Competitive Advantage with Optimization - Anwar Ali 85
  • 86. Model Types (from H. Paul Williams) Competitive Advantage with Optimization - Anwar Ali 86 Network models - Transportation problem - Assignment problem - Transhipment problem - Minimim cost problem - Shortest path problem - Maximum flow through a network - Critical path analysis Integer programming models - Set covering problems - Set packing problems - Set partitioning problems - Knapsack problem - Travelling salesman problem - Vehicle routing problem
  • 87.
  • 88. Bin packing / knapsack problem Competitive Advantage with Optimization - Anwar Ali 88
  • 89. Cut into different sizes and shapes and minimize the waste Cutting stock problem Competitive Advantage with Optimization - Anwar Ali 89
  • 90. Start from a city, visit each city only once, and return to the original city after all cities visited. Minimize the travel distance / cost Traveling salesman problem (TSP)Competitive Advantage with Optimization - Anwar Ali 90
  • 91. Assign gates to planes considering plane type, schedule, domestic/international, airlines Assignment problemCompetitive Advantage with Optimization - Anwar Ali 91
  • 92. Blending problemCompetitive Advantage with Optimization - Anwar Ali 92
  • 93. Minimize breakfast cost and include at least 420 calories, 5 milligrams of iron, 400 milligrams of calcium, 20 grams of protein, 12 grams of fiber, and must have no more than 20 grams of fat and 30 milligrams of cholesterol Diet problem which is blending problem Competitive Advantage with Optimization - Anwar Ali 93
  • 94. Summary of Problems  Linear Programming  Blending problem  Integer Programming  Bin packing / knapsack problem  Cutting stock problem  Traveling salesman problem (TSP)  Assignment problem  We pick the interesting knapsack problem and demonstrate how it is formulated and solved Competitive Advantage with Optimization - Anwar Ali 94
  • 95. Knapsack Problem  The original name came from a problem where a hiker tries to pack the most valuable items without overloading the knapsack. Each item has a certain value/benefit and weight. An overall weight limitation gives the single constraint Competitive Advantage with Optimization - Anwar Ali 95 Picture from Wikipedia
  • 96. Knapsack Problem  This is a combinatorial optimization problem and has been studied since 1897. Several algorithms have been developed to solve this problem  Application examples:  Stocking warehouse to the space limit  Finding the least wasteful way to cut raw materials  Portfolio selection in investment decision  Capital budgeting allocation decision  Project selection Competitive Advantage with Optimization - Anwar Ali 96
  • 97. Problem Formulation  Let  0-1 knapsack Competitive Advantage with Optimization - Anwar Ali 97 𝑥𝑖 = 𝑐𝑜𝑝𝑖𝑒𝑠 𝑜𝑓 𝑒𝑎𝑐ℎ 𝑘𝑖𝑛𝑑 𝑜𝑓 𝑖𝑡𝑒𝑚 𝑣𝑖 = 𝑣𝑎𝑙𝑢𝑒 𝑤𝑖 = 𝑤𝑒𝑖𝑔ℎ𝑡 𝑊 = 𝑚𝑎𝑥𝑖𝑚𝑢𝑚 𝑤𝑒𝑖𝑔ℎ𝑡 𝑐𝑎𝑝𝑎𝑐𝑖𝑡𝑦 𝑖 = 𝑖𝑡𝑒𝑚𝑠 𝑛𝑢𝑚𝑏𝑒𝑟𝑒𝑑 1. . 𝑛 𝑚𝑎𝑥𝑖𝑚𝑖𝑧𝑒 𝑣𝑖 𝑛 𝑖=1 𝑥𝑖 𝑠𝑢𝑏𝑗𝑒𝑐𝑡 𝑡𝑜 𝑤𝑖 𝑛 𝑖=1 𝑥𝑖 ≤ 𝑊, 𝑥𝑖 ∈ 0,1
  • 98. Other Types of Knapsack  Bounded  Unbounded Competitive Advantage with Optimization - Anwar Ali 98 𝑚𝑎𝑥𝑖𝑚𝑖𝑧𝑒 𝑣𝑖 𝑛 𝑖=1 𝑥𝑖 𝑠𝑢𝑏𝑗𝑒𝑐𝑡 𝑡𝑜 𝑤𝑖 𝑛 𝑖=1 𝑥𝑖 ≤ 𝑊, 𝑥𝑖 ∈ 0, . . . , 𝑐𝑖 𝑚𝑎𝑥𝑖𝑚𝑖𝑧𝑒 𝑣𝑖 𝑛 𝑖=1 𝑥𝑖 𝑠𝑢𝑏𝑗𝑒𝑐𝑡 𝑡𝑜 𝑤𝑖 𝑛 𝑖=1 𝑥𝑖 ≤ 𝑊, 𝑥𝑖 ≥ 0
  • 99. Knapsack Problem Exercise  Since the formulation has been given, let’s solve this problem using Excel Solver Competitive Advantage with Optimization - Anwar Ali 99 Items Weight Value Take? 1 12 4 2 1 2 3 4 10 4 1 1 5 2 2 Weight of items taken 0 Weight limit 15 Total value 0
  • 100. From math model to OPL model Competitive Advantage with Optimization - Anwar Ali 100 int n = 5; range items = 1..n; int w[items] = [12,1,4,1,2]; int v[items] = [4,2,10,1,2]; int W = 15; // weight limit dvar boolean x[items]; maximize sum(i in items) v[i]*x[i]; subject to { sum(i in items) w[i]*x[i] <= W; } 𝑥𝑖 = 𝑐𝑜𝑝𝑖𝑒𝑠 𝑜𝑓 𝑒𝑎𝑐ℎ 𝑘𝑖𝑛𝑑 𝑜𝑓 𝑖𝑡𝑒𝑚 𝑣𝑖 = 𝑣𝑎𝑙𝑢𝑒 𝑤𝑖 = 𝑤𝑒𝑖𝑔ℎ𝑡 𝑊 = 𝑚𝑎𝑥𝑖𝑚𝑢𝑚 𝑤𝑒𝑖𝑔ℎ𝑡 𝑐𝑎𝑝𝑎𝑐𝑖𝑡𝑦 𝑖 = 𝑖𝑡𝑒𝑚𝑠 𝑛𝑢𝑚𝑏𝑒𝑟𝑒𝑑 1. . 𝑛 Items Weight Value Take? 1 12 4 2 1 2 3 4 10 4 1 1 5 2 2 Weight of items taken 0 Weight limit 15 Total value 0
  • 101. From math model to OPL model Competitive Advantage with Optimization - Anwar Ali 101 𝑚𝑎𝑥𝑖𝑚𝑖𝑧𝑒 𝑣𝑖 𝑛 𝑖=1 𝑥𝑖 𝑠𝑢𝑏𝑗𝑒𝑐𝑡 𝑡𝑜 𝑤𝑖 𝑛 𝑖=1 𝑥𝑖 ≤ 𝑊, 𝑥𝑖 ∈ 0,1 int n = 5; range items = 1..n; int w[items] = [12,1,4,1,2]; int v[items] = [4,2,10,1,2]; int W = 15; // weight limit dvar boolean x[items]; maximize sum(i in items) v[i]*x[i]; subject to { sum(i in items) w[i]*x[i] <= W; } 0-1 knapsack
  • 102. From math model to OPL model Competitive Advantage with Optimization - Anwar Ali 102 int n = 5; range items = 1..n; int w[items] = [12,1,4,1,2]; int v[items] = [4,2,10,1,2]; int W = 15; // weight limit dvar int+ x[items]; maximize sum(i in items) v[i]*x[i]; subject to { sum(i in items) w[i]*x[i] <= W; } 𝑚𝑎𝑥𝑖𝑚𝑖𝑧𝑒 𝑣𝑖 𝑛 𝑖=1 𝑥𝑖 𝑠𝑢𝑏𝑗𝑒𝑐𝑡 𝑡𝑜 𝑤𝑖 𝑛 𝑖=1 𝑥𝑖 ≤ 𝑊, 𝑥𝑖 ≥ 0 Unbounded
  • 103. Agenda  Current Business and Technological Landscapes √  Analytics Evolution √  Introduction to Operations Research √  A Primer on Optimization √  Formulating and Solving Optimization Models √  Identifying Opportunities with Business Values  How to Get Started Competitive Advantage with Optimization - Anwar Ali 103
  • 104. Waste neither time nor money, but make the best use of both Benjamin Franklin Competitive Advantage with Optimization - Anwar Ali 104
  • 105. Competitive Advantage with Optimization - Anwar Ali 105
  • 106. 3 Classes of Business Value  Cost reductions  Decision improvements  Improvements in products and services Competitive Advantage with Optimization - Anwar Ali 106
  • 107. Examples  Cost reductions  Capital dollars (e.g. fixed assets, buildings)  Manpower optimization (e.g. call centre)  Decision improvements  What-if analyses speed  Pricing decisions  Improvements in products and services  Customers retention  New products Competitive Advantage with Optimization - Anwar Ali 107
  • 108. Competitive Advantage with Optimization - Anwar Ali 108 The capability to conduct Advanced Analytics will no longer be viewed as a competitive advantage – it will become a necessity for survival and a requirement to stay competitive in the marketplace 2016 Big Data Survey Respondent, North American Chief Risk Officers Council
  • 109. Analytics in Insurance Competitive Advantage with Optimization - Anwar Ali 109 Report by Everest Group Research 2014
  • 110. Optimization in Insurance  Product profitability  Cost reduction  Portfolio selection  Manpower planning  Site location  Capital/assets optimization  Scenario analysis Competitive Advantage with Optimization - Anwar Ali 110
  • 111. Identifying Opportunities  Whenever there is a need to iterate many possibilities or scenarios before making recommendation to the management, it means there is opportunity to use Optimization Competitive Advantage with Optimization - Anwar Ali 111
  • 112. Agenda  Current Business and Technological Landscapes √  Analytics Evolution √  Introduction to Operations Research √  A Primer on Optimization √  Formulating and Solving Optimization Models √  Identifying Opportunities with Business Values √  How to Get Started Competitive Advantage with Optimization - Anwar Ali 112
  • 113. Getting Started with Optimization  Get management sponsors  Convince management the benefits of optimization  Identify the challenges in decision making process  Unable to predict the outcome?  Complexity in decision making  Drill down the decision making process  Objectives, rules, and boundary conditions  Input data required  What kind of outcomes/decisions needed  Build and demo quick-win optimization model(s)  Refine it until it can replace the current process Competitive Advantage with Optimization - Anwar Ali 113
  • 114. Competencies Required  Spreadsheet modeling  Mathematical optimization  Data integration  Business acumen  Hire consultant or upskill / train employees Competitive Advantage with Optimization - Anwar Ali 114
  • 115. Training Offering  Current offering of SBL claimable training  1-day “Decision Optimization for Managers”  3-day “Decision Optimization”  Upcoming courses  “Decision Optimization Non-Linear Programming”  “Decision Optimization Stochastic Programming” Competitive Advantage with Optimization - Anwar Ali 115
  • 116. Expected Learning Outcome  You will learn:  Where O.R. fits in the analytics big picture and how it helps decision making  Algebraic expressions and spreadsheet modeling techniques  Linear Programming (LP) concepts and modeling techniques  How to formulate decision-making problems as LP models and solve with various solvers Competitive Advantage with Optimization - Anwar Ali 116
  • 117. Course Outline – Fundamentals  Introduction to Analytics and O.R.  Algebraic Expressions  Basic Spreadsheet Modeling  LP and Solvers  Model Types Competitive Advantage with Optimization - Anwar Ali 117
  • 118. Course Outline – Modeling  Manpower Planning  Blending  Multi-period Inventory  Transportation  Assignment  Transshipment  Network  Investment Competitive Advantage with Optimization - Anwar Ali 118
  • 119. Course Outline – Modeling  Integer Programming (IP)  0-1 IP  Knapsack, Investment  Fixed-charge and Facility Location  Set Covering  Either-Or constraints  Traveling Salesman Problem (TSP)  Goal Programming Competitive Advantage with Optimization - Anwar Ali 119