1. Trang chủ
  2. » Giáo án - Bài giảng

Business analytics methods, models and decisions evans analytics2e ppt 13

76 55 1

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 76
Dung lượng 7,16 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

The objective function and all constraints are linear functions of the decision variables..  Put the objective function coefficients, constraint coefficients, and right-hand values in

Trang 1

Chapter 13

Linear Optimization

Trang 2

Optimization is the process of selecting values of

decision variables that minimize or maximize

some quantity of interest.

 Optimization models have wide applicability in

operations and supply chains, finance, marketing, and other disciplines.

 This chapter focuses only on linear optimization models.

Linear Optimization

Trang 3

1. Identify the decision variables – the unknown values

that the model seeks to determine.

to minimize or maximize.

requirements, or other restrictions that are imposed on any solution, either from practical or technological

considerations or by management policy.

mathematical expressions.

Building Linear Optimization Models

Trang 4

 SSC sells two snow ski models - Jordanelle & Deercrest

 Manufacturing requires fabrication and finishing.

 The fabrication department has 12 skilled workers, each of whom works 7 hours per day The finishing department has 3 workers, who also work a 7-hour shift.

 Each pair of Jordanelle skis requires 3.5 labor-hours in the fabricating department and 1 labor-hour in finishing.

 The Deercrest model requires 4 labor-hours in fabricating and 1.5 labor-hours in finishing

 The company operates 5 days per week

 SSC makes a net profit of $50 on the Jordanelle model and

$65 on the Deercrest model.

Example 13.1 Sklenka Ski Company:

Identifying Model Components

Trang 5

 Step 1: Identify the decision variables

 The company wants to determine how many of each model should be produced on a daily basis

to maximize net profit.

Trang 6

 Step 2: Identify the objective function

net profit figures for each type of ski

◦ SSC makes a net profit of $50 on the Jordanelle model and $65

on the Deercrest model

Example 13.1 Continued

Trang 7

 Step 3: Identify the constraints

◦ Look for clues in the problem statement that describe limited resources that are available, requirements that must be met, or other restrictions

 Both the fabrication and finishing departments have limited

numbers of workers, who work only 7 hours each day; this limits the amount of production time available in each department:

◦ Fabrication: Total labor hours used in fabrication cannot exceed the amount of labor hours available.

◦ Finishing: Total labor hours used in finishing cannot exceed the amount of labor

Trang 8

 Represent decision variables by descriptive names, abbreviations, or subscripted letters

(X1, X2, etc.)

◦ For mathematical formulations involving many

variables, subscripted letters are often more

convenient.

◦ In spreadsheet models, we recommend using

more descriptive names to make the models and solutions easier to understand.

Translating Model Information into Mathematical Expressions

Trang 9

Profit per pair of skis sold:

$50 for Jordanelle skis, $65 for Deercrest skis

◦ ($/pair of skis)(number of pairs of skis) = $.

Example 13.2: SSC – Modeling the Objective Function

Trang 10

 Constraints are expressed as algebraic inequalities or equations, with all variables on the left side and constant terms on the right.

◦ “Cannot exceed” translates mathematically as “≤”

◦ “At least,” would translate as “≥”

◦ “Must contain exactly,” would specify an “= ” relationship

these three forms.

Translating Constraints

Mathematically

Trang 11

A constraint function is the left-hand side of a

constraint.

exceed the amount of labor hours available.

Constraint Functions

Trang 12

 Fabrication constraint

 Available fabrication labor hours: (12 workers)(7 hours/day) = 84 hours/day

 Required fabrication labor hours per ski pair: 3.5 hours for

Jordanelle, 4 hours for Deercrest

Fabrication constraint: 3.5 Jordanelle + 4 Deercrest ≤ 84

Finishing constraint: 1 Jordanelle + 1.5 Deercrest ≤ 21

Example 13.3: SSC – Modeling the

Constraints

Trang 13

 Market mixture constraint

◦ The number of pairs of Deercrest skis must be at least

twice the number of Jordanelle skis.

Trang 14

Maximize total profit = 50 Jordanelle + 65 Deercrest

3.5 Jordanelle + 4 Deercrest ≤ 84

1 Jordanelle + 1.5 Deercrest ≤ 21 −2 Jordanelle + 1 Deercrest

Trang 15

 Some examples:

development projects cannot exceed the assigned

budget of $300,000.

◦ Amount spent on research and development ≤ 300,000

of product must be produced.

◦ Number of units of product produced ≥ 500

◦ Amount of nitrogen in mixture/total amount in mixture = 0.30

More About Constraints

Trang 16

 A fertilizer mixture is made of two ingredients and must contain exactly

30% nitrogen Ingredient X contains 20% nitrogen Ingredient Y

contains 33% nitrogen

Define x = the number of pounds of X in the mixture and y = the

number of pounds of Y in the mixture

Amount of nitrogen in mixture = 0.20x + 0.33y

Total amount of mixture = x + y

Fraction of nitrogen in mix = (0.20x + 0.33y)/(x + y)

would be

(0.20x + 0.33y)/(x + y) = 0.30, or simplified as -0.1x - 0.03y = 0

 Note that the first version is not linear; however the simplified

constraint is linear

Example 13.4: Modeling a Mixture

Constraint

Trang 17

A linear optimization model (often called a

linear program, or LP) has two basic properties.

1. The objective function and all constraints are

linear functions of the decision variables

◦ This means that each function is simply a sum of terms,

each of which is some constant multiplied by a decision variable.

2. All variables are continuous

◦ This means that they may assume any real value

(typically, nonnegative).

Characteristics of Linear Optimization Models

Trang 18

 Put the objective function coefficients, constraint coefficients, and right-hand values in a logical format in the spreadsheet.

◦ For example, you might assign the decision variables to columns and the constraints to rows

 Define a set of cells (either rows or columns) for the values of the decision variables

◦ The names of the decision variables should be listed directly above the decision variable cells.

◦ Use shading or other formatting to distinguish these cells.

 Define separate cells for the objective function and each constraint function (the left-hand side of a constraint)

◦ Use descriptive labels directly above these cells.

Implementing Linear Optimization

Models on Spreadsheets

Trang 19

Example 13.5: A Spreadsheet Model for Sklenka Skis

Decision variables Objective function Constraint functions

Trang 20

Maximize Jordanelle + 65 Deercrest

D16 = B7* B14 + C7* C14 ≤ D7 D19 = C14 - 2* B14 ≥ 0

B14 ≥ 0 C14 ≥ 0

Trang 21

 In Excel, the pairwise sum of products of terms

can easily be computed using the SUMPRODUCT function.

Trang 22

 Several common functions in Excel can cause difficulties when attempting to solve linear programs using Solver because they are discontinuous (or “nonsmooth”) and do not satisfy the conditions of a linear model.

Trang 23

A feasible solution to an optimization problem is

any solution that satisfies all of the constraints.

An optimal solution is the best of all the feasible

solutions.

 Software for determining optimal solutions

Solver (“standard Solver”) is a free add-in packaged with

Excel for solving optimization problems.

Premium Solver, which is a part of Analytic Solver

Platform has better functionality, accuracy, reporting, and

interface

Solving Linear Optimization Models

Trang 24

Data > Analysis > Solver in the Excel ribbon

Use the Solver Parameters dialog to define the

objective, decision variables, and constraints from your spreadsheet model.

Using the Standard Solver

Trang 25

Example 13.6: Using Standard Solver for the SSC Problem

Solver Parameters dialog

Objective function cell

Decision variables cells

Trang 26

 Three reports: Answer,

Sensitivity, and Limits

◦ To add them to your Excel

workbook, click on the

ones you want and then

click OK.

Outline Reports; this is

an Excel feature that

produces the reports in

"outlined format."

Solver Results Dialog

Trang 27

Optimal Solution to SSC Problem

Trang 28

After installing Analytic Solver Platform, Premium

Solver will be found under the Add-Ins tab in the

Excel ribbon

Premium Solver has a different user interface than

the standard Solver.

Using Premium Solver

Trang 29

Solver Parameters

dialog

First, click on Objective

and then click the Add

button The Add

Objective dialog

appears, prompting you

for the cell reference for

the objective function

and the type of objective

(min or max).

Example 13.7: Using Premium Solver for

the SSC Model

Trang 30

Next, highlight Normal

under the Variables list

and click Add; this will

bring up an Add

Variable Cells dialog

Enter the range of the

decisions variables in

the Cell Reference field.

Example 13.7 Continued

Trang 31

Next, highlight Normal

under the Constraints

list and click the Add

button; this brings up

the Add Constraint

dialog, just like in the

standard version.

Example 13.7 Continued

Trang 32

 Check this box

LP/Quadratic” for the

solving method

Example 13.7 Continued

Trang 33

 Completed

Premium Solver

dialog

Example 13.7 Continued

Trang 34

The Solver Answer Report provides basic information about the

solution, including the values of the original and optimal objective

function (in the Objective Cell section) and decision variables (in the

Decision Variable Cells section)

In the Constraints section, Cell Value refers to the value of the

constraint function using the optimal values of the decision

variables

A binding constraint is one for which the Cell Value is equal to the

right-hand side of the value of the constraint

The Status column tells whether each constraint is binding or not

binding

of the constraints for the optimal solution

Solver Answer Report

Trang 35

Example 13.8: Interpreting the SSC Answer Report

Trang 36

 Understanding slack values

Example 13.8 Continued

Maximize profit = 50 Jordanelle + 65 Deercrest

3.5 Jordanelle + 4 Deercrest ≤ 84 (fabrication)

1 Jordanelle + 1.5 Deercrest ≤ 21 (finishing)

−2 Jordanelle + 1 Deercrest ≥ 0 (market

 No excess finishing hours

Market mix constraint: −2(5.25) + 1(10.5) = 0 ≥ 0

 Exactly twice the number of Deercrest skis as Jordanelle skis

Trang 37

 The set of feasible solutions is called the feasible region.

For a problem with only two decision variables, x 1 and x 2, we can draw the feasible region on a two-dimensional coordinate system by plotting the

equations corresponding to each constraint.

 Nonnegativity constraints:

Graphical Interpretation of Linear

Optimization

Trang 38

 Fabrication constraint: 3.5 Jordanelle + 4 Deercrest ≤ 84

◦ Plot the equation: 3.5 Jordanelle + 4 Deercrest = 84

◦ Set Jordanelle = 0; Deercrest = 21

◦ Set Deercrest = 0; Jordanelle = 24

Example 13.9: Graphing the Constraints in the SSC Problem

Trang 39

 Finishing constraint: 1 Jordanelle + 1.5 Deercrest ≤ 21

◦ Plot the equation: 1 Jordanelle + 1.5 Deercrest = 21

◦ Set Jordanelle = 0; Deercrest = 14

◦ Set Deercrest = 0; Jordanelle = 21

Example 13.9 Continued

Trang 40

 Market mix constraint: -2 Jordanelle + 1 Deercrest ≥ 0

◦ Plot the equation: -2 Jordanelle + 1 Deercrest = 0

◦ Set Jordanelle = 5; Deercrest = 10

◦ Set Deercrest = 0; Jordanelle = 0

Example 13.9 Continued

Trang 41

 Feasible region

Example 13.10 Identifying the Feasible Region and Optimal Solution

Trang 42

 The points at which the constraint lines intersect along

the feasible region are called corner points.

 If an optimal solution exists, then it will occur at a corner point.

Corner Points

Trang 43

 Because our objective is

to maximize profit, we

seek a corner point that

has the largest value of

the objective function Total

Profit = 50 Jordanelle + 65

Deercrest.

 Graph the profit line and

move in an improving

direction until it passes

through the last corner

point of the feasible

Trang 44

Solver uses a mathematical algorithm called the simplex

method, which was developed in 1947 by the late Dr

George Dantzig.

◦ The simplex method characterizes feasible solutions algebraically

by solving systems of linear equations

◦ It moves systematically from one corner point to another to

improve the objective function until an optimal solution is found (or until the problem is deemed infeasible or unbounded)

◦ It is quick and efficient

How Solver Works

Trang 45

 Crebo Manufacturing produces 4 types of structural support fittings.

per year.

produced to maximize gross profit margin?

Example 13.11: Crebo Manufacturing

Trang 46

Define X1, X2, X3, and X4 as the number of plugs, rails, rivets, and clips to produce.

Trang 47

 The simplex method evaluates the impact of constraints

in terms of their contribution to the objective function for each variable.

(maximum) solution is found by simply choosing the

variable with the highest ratio of the objective coefficient

to the constraint coefficient.

How the Simplex Method Works

Trang 48

 Clips have the highest marginal profit per unit of resource consumed.

 Maximum possible production of clips

= 280,000 minutes ÷ minutes/unit

= 280,000 ÷ 2 = 140,000

 Profit for maximum production of clips

= gross margin/unit * max possible production

= $1.20 * 140,000 = $168,000

Example 13.12: Solving the Crebo

Manufacturing Model

Trang 49

Solver assigns names to:

◦ Target cells

◦ Changing cells

◦ Constraint function cells

 Names are formed by concatenating the first cell containing text to the:

◦ Left of the cell and

◦ Above the cell

How Solver Creates Names in Reports

Trang 50

SSC Example

 Name assigned to objective function

◦ Cell D22: “Profit Contribution + Total Profit”

 Names assigned to decision

variables:

◦ Cell B14: “Quantity Produced + Jordanelle”

◦ Cell B15: Quantity Produced + Deercrest”

 Names assigned to constraints:

◦ Cell D15: “Fabrication + Hours Used”

◦ Cell D16: “Finishing + Hours Used”

◦ Cell D19: “Market mixture + Excess

Deercrest”

Trang 51

Unique optimal solution

◦ there is exactly one solution that will result in the maximum (or minimum) objective

Alternative (multiple) optimal solutions

◦ the objective is maximized (or minimized) by more than one

combination of decision variables, all of which have the same objective function value

Unbounded solution

◦ the objective can be increased or decreased without bound (i.e.,

to infinity for a maximization problem or negative infinity for a minimization problem)

Infeasibility

◦ no feasible solution exists

Solver Outcomes

Trang 52

Example 3.13: A Model with Alternative

Optimal Solutions

13- New objective function in the SSC problem:

◦ Max 50 Jordanelle + 75 Deercrest

Trang 53

 Remove the finishing and fabrication constraints from the Sklenka Ski problem.

Solver message:

Example 13.14: A Model with an Unbounded Solution

Trang 54

 Suppose, by mistake, the modeler in the Sklenka Ski problem used

a ≥ sign in the fabrication constraint (instead of ≤):

Example 13.15: An Infeasible Model

Trang 55

 Models should be used to provide insight for

making better decisions.

◦ What might happen should the model assumptions

change or when the data used in the model are

uncertain?

found by simply changing the data and re-solving the model.

Using Optimization Models for Prediction and Insight

Trang 56

 Four questions are posed by the managers of Sklenka Ski company:

1 If the Jordanelle ski’s profit increased $10/pair,

how would the optimal solution change?

2 If the Jordanelle ski’s profit decreased $10/pair,

how would the optimal solution change?

3 If 10 additional finishing hours were available, how would manufacturing plans be affected?

4 If 2 fewer finishing hours were available, how would manufacturing plans be affected?

Example 13.16: Using Solver for What-If

Analysis

Ngày đăng: 31/10/2020, 18:28

TỪ KHÓA LIÊN QUAN

🧩 Sản phẩm bạn có thể quan tâm