Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 3 Introduction to Optimization Modeling

Similar presentations


Presentation on theme: "Chapter 3 Introduction to Optimization Modeling"— Presentation transcript:

1 Chapter 3 Introduction to Optimization Modeling
CBTL212 Managerial Problem Solving

2 3.1 INTRODUCTION Spreadsheet optimization is one of the most powerful and flexible methods of quantitative analysis. The specific type of optimization discussed here is linear programming (LP).

3 3.2 INTRODUCTION TO OPTIMIZATION
All optimization problems: Decision variables (Changing Cells) the variables whose values the decision maker can choose. directly or indirectly, the values of these variables determine such outputs as total cost, revenue, and profit variables an organization must know to function properly

4 3.2 INTRODUCTION TO OPTIMIZATION cont’
Objective function (Target Cells) value that is to be optimized—maximized or minimized Constraints must be satisfied usually physical, logical, or economic restrictions that depend on the nature of the problem

5 3.2 INTRODUCTION TO OPTIMIZATION cont’
Excel refers to the: decision variables as the changing cells cells must contain numbers that are allowed to change freely; they are not allowed to contain formulas objective as the target cell There can be only one target cell—which could contain profit, total cost, total distance traveled must be related through formulas to the changing cells

6 3.2 INTRODUCTION TO OPTIMIZATION cont’

7 3.2 INTRODUCTION TO OPTIMIZATION cont’
Constraints can come in a variety of forms. One very common form is nonnegativity. Nonnegativity constraints state that changing cells must have nonnegative (zero or positive) values. Nonnegativity constraints are usually included for physical reasons. For example, it is impossible to produce a negative number of automobiles.

8 3.2 INTRODUCTION TO OPTIMIZATION cont’
Two steps are involved in solving an optimization problem. Model Development what are the variables, objective and constraints, and how everything fits together? Spread sheet model - relate all variables with appropriate cell formulas model contains formulas for relating the changing cells to the target cell and that it contains formulas for operationalizing the constraints

9 3.2 INTRODUCTION TO OPTIMIZATION cont’
Optimize systematically choose the values of the decision variables that make the objective as large (for maximization) or small (for minimization) as possible and satisfy all the constraints

10 3.2 INTRODUCTION TO OPTIMIZATION cont’
LINEAR PROGRAMMING INTRO NOTES WE HAVE SOLVER in Excel!!!!!!!!!!!!!!!

11 3.2 INTRODUCTION TO OPTIMIZATION cont’
All we need to do is develop the model and then tell Solver the target cell, the changing cells, the constraints, and the type of model (linear, integer, or nonlinear). Solver then goes to work, finding the best feasible solution with the most suitable algorithm.

12 3.2 INTRODUCTION TO OPTIMIZATION cont’
Sensitivity analysis. what-if questions What if the unit costs increased by 5%? What if forecasted demands were 10% lower? What if resource availabilities could be increased by 20%? What effects would such changes have on the optimal solution?

13 3.5 PROPERTIES OF LINEAR MODELS
LP models possess three important properties that distinguish them from general mathematical programming models: proportionality, additivity, and divisibility.

14 3.5 PROPERTIES OF LINEAR MODELS cont’
Proportionality if the level of any activity is multiplied by a constant factor, then the contribution of this activity to the objective, or to any of the constraints in which the activity is involved, is multiplied by the same factor. Or A change in a variable results in a proportionate change in that variable’s contribution to the value of the function

15 3.5 PROPERTIES OF LINEAR MODELS cont’
Additivity the sum of the contributions from the various activities to a particular constraint equals the total contribution to that constraint Implies to the objective, i.e., the value of the objective is the sum of the contributions from the various activities or The function value is the sum of the contributions of each term

16 3.5 PROPERTIES OF LINEAR MODELS cont’
Divisibility both integer and noninteger levels of the activities are allowed or The decision variable can be divided into non-interger values, taking on fractional values. Interger programming techniques can be used if the divisibility assumption does not hold

17 3.5 PROPERTIES OF LINEAR MODELS cont’
If we want the levels of some activities to be integer values, there are two possible approaches: (1) We can solve the LP model without integer constraints, and if the solution turns out to have noninteger values, we can attempt to round them to integer values; or (2) we can explicitly constrain certain changing cells to contain integer values. The latter approach, however, takes us into the realm of integer programming, which is discussed in Chapter 6.

18 3.5 PROPERTIES OF LINEAR MODELS cont’
Discussion of the linear properties when a model is not linear? Two particular situations that lead to nonlinear models are when : (1) there are products or quotients of expressions involving changing cells and (2) there are nonlinear functions, such as squares, square roots, or logarithms, of changing cells.

19 3.5 PROPERTIES OF LINEAR MODELS cont’
In Excel’s Solver, if the model is linear—in particular if it satisfies the proportionality and additivity properties—then you should check the Assume Linear Model box in the Solver Options dialog box.

20 3.6 INFEASIBILITY AND UNBOUNDEDNESS
Two things can go wrong when you invoke Solver. Both of these can indicate that there is a mistake in the model

21 3.6 INFEASIBILITY AND UNBOUNDEDNESS cont’
it’s possible that there are no feasible solutions to the model. There are generally two reasons for this: There is a mistake in the model (an input was entered incorrectly, such as a >= instead of a <= ), or the problem has been so constrained that no solutions are left

22

23 3.6 INFEASIBILITY AND UNBOUNDEDNESS cont’
the model has been formulated in such a way that the objective is unbounded—that is, it can be increased (or decreased for minimization problems) without bound. If this occurs, we have probably entered a wrong input or forgotten some constraints

24


Download ppt "Chapter 3 Introduction to Optimization Modeling"

Similar presentations


Ads by Google