Presentation is loading. Please wait.

Presentation is loading. Please wait.

Optimization Methods LI Xiao-lei ftp://202.194.201.155:112/upload.

Similar presentations


Presentation on theme: "Optimization Methods LI Xiao-lei ftp://202.194.201.155:112/upload."— Presentation transcript:

1 Optimization Methods LI Xiao-lei qylxl@sdu.edu.cn http://www.csce.sdu.edu.cn ftp://202.194.201.155:112/upload

2 Optimization Tree

3 Introduction to Operations Research  Encyclopedia of Mathematics Optimization Theory See Operations ResearchOperations Research  During World War II, British military leaders asked scientists and engineers to analyze several military problems. The application of mathematics and the scientific method to military operations was called operations research.  Today, the term oprations research means a scientific approach to decision making, which seeks to determine how best to design and operate a system, usually under conditions requiring the allocation of scarce resources.

4 The Methodology of operations research Seven-step procedure  Step1. Formulate the problem  Specify the organization’s objectives and the parts of the system that must be studied before the problem can be solved.  Step2. Observe the system  The analyst collects data to estimate the values of parameters that affect the organization’s problem.

5 The Methodology of operations research  Step3. Formulate a methematical model of the problem  The analyst develops a mathematical model of the problem.  Step4. Verify the model and use the model for prediction  The analyst now tries to determine if the mathematical model is an accurate representation of reality.  Step5. Select a suitable alternative  Given a model and a set of alternatives, the analyst now choose the alternative that best meets the organization’s objectives.

6 The Methodology of operations research  Step6. Present the results and conclusions of the study to the organization  The analyst presents the model and recommendations from step5 to the to the decision making individual or group. Let the organization choose the one that best meets its needs.  Step7. Implement and evaluate recommendations  If the organization has accepted the study, the analyst aids in implementing the recommendations.  The system must be constantly monitored to ensure that the recommendations are enabling the organization to meet its objectives.

7 Successful applications of operations research  Police patrol officer scheduling in San Francisco.  Reducing fuel cost in electric power industry.  Designing an ingot mold stripping facility at Betnlehem Steel.  Gasoline blending at Texaco.  Scheduling trucks at north american van lines.  Inventory management at Blue Bell.  … …

8 Reference: OPERATIONS RESEARCH:Mathematical Programming(THIRD EDITION) WAYNE L. WINSTON, 2003 More: Anything about Operations Research, Management Science, Decision Sciences, Mathematical Programming, Logistics Research.

9 Introduction to Linear Programming  LP is atool for solving optimization problems. In 1947,George Dantzig developed the simplex algorithm for solving LP problem, since then, LP has been used to solve optimization problems in industries as diverse as banking, education, petroleum, and trucking.  In a survey of Fortune 500 firms,85% of those responding said that they had used LP.

10 Linear Programming Problem  Example 1 Giapetto’s Woodcarving, Inc., manufactures two types of wooden toys: soldiers and trains. Requires two types of skilled labor: carpentry and finishing. A Soldier sells for $27 and uses $10 worth of raw materials, each costs variable labor and overhead by $14. requires 2 hours of finishing labor and 1 hour of carpentry labor. A train sells for $21 and uses $9 worth of raw materials, each cost variable labor and overhead by $10. requires 1 hour of finishing labor and 1 hour of carpentry labor. Each week, Giapetto can obtain all the needed raw material but only 100finishing hours and 80 carpentry hours. Demand for trains is unlimited, but at most 40 soldiers are bought. Formulate a mathematical model to maximize Giapetto’s weekly profit (revenues -costs).

11 Solution – explore characteristics  Decision Variables Giapetto must decide how many soldiers and trains should be manufactured each week. With this end, we define x 1 =number of soldiers produced each week. x 2 =number of trains produced each week.  Objective Function The decision maker wants to maximize (usually revenue or profit) or minimize (usually cost) some function of the decision variables. The function is called the objective function.

12 Solution – explore characteristics Weekly revenues =weekly revenues from soldiers + weekly revenues from trains =(dollars/soldier) (soldiers/week) + (dollars/train) (trains/week) =27 x 1 +21 x 2 Also, Weekly raw material costs=10 x 1 +9 x 2 Other weekly variable costs=14 x 1 +10 x 2 Then Giapetto wants to maximize, (27 x 1 +21 x 2 )-(10 x 1 +9 x 2 )-(14 x 1 +10 x 2 )= 3 x 1 +2 x 2

13 Solution – explore characteristics We use the variable z to denote the objective function value of LP. Giapetto’s objective function is, Maximize z =3 x 1 +2 x 2 The coefficient of a variable in the objective function is called the objective function coefficient of the variable.

14 Solution – explore characteristics  Constraints The value of x1 and x2 are limited by the following three restrictions. Constraint 1 Each week, no more than 100 hours of finishing time may be used. Constraint 2 Each week, no more than 80 hours of carpentry time may be used. Constraint 3 Because of limited demand, at most 40 soldiers should be produced each week.

15 Solution – explore characteristics Constraint 1 Total finishing hrs./Week =(finishing hrs./soldier) (soldiers made/week) +(finishing hrs./train) (trains made/week) = 2x 1 +1x 2 =2x 1 +x 2 Constraint 1 may be expressed by, 2x 1 +x 2 ≤100 Note: For a constraint to be reasonable, all terms in the constraint must have the same units.

16 Solution – explore characteristics  Constraint 2 Total carpentry hrs./week =(carpentry hrs./soldier) (soldiers/week) + (carpentry hrs./train) (trains/week) = 1x 1 +1x 2 =x 1 +x 2 The constraint 2 may be written as, x 1 +x 2 ≤80  Constraint 3 x 1 ≤40

17 Solution – explore characteristics  Sign restrictions If a decision variable x i can only assume nonnegative values, we add the sign restriction x i ≥0 If a decision variable x i allowed to assume both positive and negative values, we say that x i is unrestricted in sign. For the Giaprtto problem, x 1 ≥0 and x 2 ≥0

18 Solution – explore characteristics  Optimization model Max z=3x 1 +2x 2 s.t. 2x 1 + x 2 ≤100 x 1 + x 2 ≤80 x 1 ≤40 x 1 ≥0 x 2 ≥0 s.t. (subject to) means that the values of the decision variables must satisfy all the constraints and all the sign restrictions.

19  DEFINATION 1 A function f ( x 1, x 2,…, x n ) of x 1, x 2,…, x n is a linear function if and only if for some set of constants c 1, c 2,…, c n, f ( x 1, x 2,…, x n ) = c 1 x 1,+ c 2 x 2 + …+ c n x n  DEFINATION 2 For any linear function f ( x 1, x 2,…, x n ) and any number b, the inequalities f ( x 1, x 2,…, x n )≤ b and f ( x 1, x 2,…, x n )≥ b are linear inequalities.

20  DEFINATION 3 A linear programming problem (LP) is an optimization problem for which we do the following:  We attempt to maximize (or minimize) a linear function of the decision variables. The function that is to be maximized or minimized is called the objective function.  The values of the decision variables must satisfy a set of constraints. Each constraint must be a linear equation or linear inequality.  A sign restriction is associated with each variable. For any variable x i, the sign restriction specifies either that x i must be nonnegative or that x i may be unrestricted in sign.

21 Feasible Region and Optimal Solution  DEFINATION 4 The feasible region for an LP is the set of all points satisfying all the LP’s constraints and all the LP’s sign restrictions.  DEFINATION 5 For a maximization problem, an optimal solution to an LP is a point in the feasible region with the largest objective function value. Similarly, for a minimization problem, an optimal solution is a point in the feasible region with the smallest objective function value.

22 The graphical solution of two-variable linear programming problems  Finding the feasible solution The feasible region for the Giapetto problem is the set of all points ( x 1.x 2 ) satisfying all the inequalities, 2x 1 + x 2 ≤100 (Constraints) x 1 + x 2 ≤80 x 1 ≤40 x 1 ≥0 (Sign restrictions) x 2 ≥0

23 The graphical solution of two-variable linear programming problems constraint 1 is satisfied

24 The graphical solution of two-variable linear programming problems constraint 2 is satisfied

25 The graphical solution of two-variable linear programming problems constraint 3 is satisfied

26 The graphical solution of two-variable linear programming problems Any point on the polygon or interior is the feasible region; Any other point fails to satisfy at least one of the inequalities.

27 The graphical solution of two-variable linear programming problems  Finding the optimal solution The optimal solution will be the point in the feasible region with the largest value of objective function z=3x 1 +2x 2.

28 Convex Sets, Extreme Points, and LP  DEFINITION A set of points S is a convex set if the line segment joining any pair of points in S is wholly constrained in S. Convex sets Nonconvex sets A A A B B B E C D A B

29 Convex Sets, Extreme Points, and LP  DEFINATION  For any convex set S, a point P in S is an extreme point (corner point) if each line segment that lies completely in S and constrains the point P has P as an endpoint of the line segment.

30  The feasible region for the Giapetto problem is a convex set. It can be shown that the optimal solution is an extreme points. Note: Any LP that has an optimal solution has an extreme point that is optimal. This reduces the set of points yielding an optimal solution from the entire feasible region (infinite) to the set of extreme points (finite). Convex Sets, Extreme Points, and LP

31 Special Cases  Three type of LPs that do not have unique optimal solutions.  Some LPs have an infinite number of optimal solutions (alternative or multiple optimal solutions)  Some LPs have no feasible solutions (infeasible LPs)  Some LPs are unbounded: there are points in the feasible region with arbitrarily large (in a max problem) z-values.

32 Alternative or multiple optimal solutions max z= 3x 1 + 2x 2 s.t. 1/40x 1 +1/60x 2 ≤1 1/50x 1 +1/50x 2 ≤1 x 1,x 2 ≥0 Z=60 Z=100 Z=120

33 Infeasible LP max z= 3x 1 + 2x 2 s.t. 1/40x 1 +1/60x 2 ≤1 1/50x 1 +1/50x 2 ≤1 x 1 ≥30 x 2 ≥20 x 1,x 2 ≥0

34 Unbounded LP max z=2x 1 - x 2 s.t. x 1 - x 2 ≤1 2x 1 + x 2 ≥6 x 1,x 2 ≥0


Download ppt "Optimization Methods LI Xiao-lei ftp://202.194.201.155:112/upload."

Similar presentations


Ads by Google