Presentation is loading. Please wait.

Presentation is loading. Please wait.

Mathematical Programming Cht. 2, 3, 4, 5, 9, 10.

Similar presentations


Presentation on theme: "Mathematical Programming Cht. 2, 3, 4, 5, 9, 10."— Presentation transcript:

1

2 Mathematical Programming Cht. 2, 3, 4, 5, 9, 10.

3 Mathematical Programming (MP) Mathematical programming (MP) is an optimization method for “deterministic decision making” with very many decision alternatives. MP is also called “restricted decision making model”. It includes linear programming (cht. 2, 3, 4), integer programming (cht. 5), multicriteria programming (cht. 9), and non-linear programming (cht. 10).

4 Two Steps of Using MP to Solve a Decision Making Problem Step 1. Represent the problem with a “program with variables”, which has an objective function(s) and many constraints. Step 2. Solve the program by computer. The variables’ values in the solution are the decision.

5 Chapter 2 Linear Programming: Fundamentals

6 Linear Programming (LP) Linear programming is the mathematical programming in which the objective function and all constraints are linear. A term is linear if it is a constant or its variable’s exponent is 1.

7 An Application Example Find how many bowls and mugs should be produced to maximize the profit.

8 LP Components Decision variables - their values are to be found in the solution. One linear objective function. Linear constraints - reflect limitations.

9 A Linear Program Max7X 1 + 4X 2 S.T.3X 1 + X 2 <= 580 2X 1 + 5X 2 <= 720 X 1 >= 20 X 2 <= 100 X 1, X 2 >= 0

10 Format of a Linear Program No variable is in denominator. At most one term for each variable. Variable terms are at left, constant terms are at right (called right-hand- side, RHS). Align columns of inequality signs, variable terms, and constants. Put non-negative constraints in at last.

11 Solution A solution is a set of values each for a variable. A feasible solution satisfies all constraints. An infeasible solution violates at least one constraint. The optimal solution is a feasible solution that meets the objective.

12 LP Solution Methods Trial-and-Error (brute force) Graphic Method (Won’t work if more than 2 variables) Simplex Method (Elegant, but time-taking if by hand) Computerized simplex method (We’ll use it programmed in QM)

13 Process of Solving a Problem By Using LP Step 1. Formulate the problem into a linear program (by us) Step 2. Solving the linear program (by computer)

14 LP Formulation Before using QM to solve a problem, we must first formulate the problem into a linear program, which is a description of the problem in terms of LP. Therefore, the process of formulating a problem in LP is a process of describing the problem by using an objective function and a couple of constraints.

15 LP Example 1, p.32-33 Find how many bowls and mugs should be produced to maximize the profit.

16 Steps for LP Formulating Define variables unambiguously. Describe the objective function by using the variables. Describing restrictions one at a time by using the variables, which form constraints.

17 LP Example 2 p.47-49 How many bags of each brand should be purchased in order to minimize the total cost?

18 Irregular LP Problems A regular LP has one optimal solution. Irregular cases: –Multiple optimal solutions –Infeasible problem –Unbounded problem

19 Chapter 3 Linear Programming: Sensitivity Analysis

20 Sensitivity Analysis (SA) SA is the analysis of the effect of parameter changes on the optimal solution. SA is conducted after the optimal solution is obtained.

21 Shadow Price (Dual Value) A shadow price is associated with a constraint in the solution.

22 In a product-mix problem as in example of ‘bowls and mugs’, a shadow price means: –the marginal value of a resource, i.e., –the contribution of an additional unit of a resource to the objective function value, i.e., –The highest “price” the company would be willing to pay for one additional unit of a resource.

23 What Is “Dual”? Each linear program has another LP associated with it. They are called a pair of primal and dual. The dual LP is the “transposition” of the primal LP. Primal and dual have equal optimal objective function values. The solution of the dual is the shadow prices of the primal, and vice versa.

24 More General on Shadow Price: The shadow price of a constraint shows how much the objective function value would be better off if there were one unit increase on the RHS of the constraint. A shadow price can be negative, which shows a negative contribution (i.e., worse off) to the objective function value by an additional unit of RHS of the constraint.

25 S.A. on RHS Sensitivity range for a RHS value is the range over which the RHS value can change without changing the current shadow price.

26 S.A. on Objective Coefficients Sensitivity range for an objective coefficient is the range over which the objective coefficient can change without changing the current optimal solution.

27 S.A. on other changes To see sensitivities on following changes, one must solve the changed LP again: –Changing constraint coefficients –Adding a new constraint –Adding a new variable

28 Why doing S.A.? LP is used for decision making on something in the future. Rarely does a manager know all of the parameters exactly. Many parameters are inaccurate “estimates” when a model is formed and solved. We want to see to what extent the optimal solution is stable to the inaccurate parameters.

29 Sensitive or In-sensitive? Do we want a model more sensitive or less sensitive to the inaccuracies (changes) of parameters in it ? Answer: Less sensitive. Why? –An optimal solution that is insensitive to inaccuracies of parameters is more likely valid in the real world situation.

30 Chapter 4 Linear Programming: Modeling Examples

31 LP Modeling To model a decision making problem with LP: –Understand the problem thoroughly; –Identify the variables and objective; –Describe the problem in terms of the variables, objective function, and constraints.

32 Examples Covered: Product mix Investment Marketing Blend (?) Transportation (?)

33

34

35

36


Download ppt "Mathematical Programming Cht. 2, 3, 4, 5, 9, 10."

Similar presentations


Ads by Google