Professional Documents
Culture Documents
Introduction to LP
Linear Programming (LP) is a technique for optimization of a linear objective function, subject to linear equality and linear inequality constraints. Informally, linear programming determines the way to achieve the best outcome (such as maximum profit or lowest cost) in a given mathematical model and given some list of requirements represented as linear equations.
2
Introduction to LP
A Linear Programming model seeks to maximize or minimize a linear function, subject to a set of linear constraints. The linear model consists of the following components: A set of decision variables. An objective function. A set of constraints.
Introduction to LP
The Importance of Linear Programming
Many real world problems lend themselves to linear programming modeling. Many real world problems can be approximated by linear models. There are well-known successful applications:
Manufacturing Marketing Finance (investment) Advertising Agriculture
4
Introduction to LP
The Importance of Linear Programming
There are efficient solution techniques that solve linear programming models. The output generated from linear programming packages provides useful what if analysis.
Recognizing LP Problems
Characteristics of LP Problems A well-defined single objective must be stated. There must be alternative courses of action. The total achievement of the objective must be constrained by scarce resources or other restraints. The objective and each of the constraints must be expressed as linear mathematical functions.
10
Introduction to LP
Assumptions of the linear programming model The parameter values are known with certainty. The objective function and constraints exhibit constant returns to scale. There are no interactions between the decision variables (the additivity assumption). The Continuity assumption: Variables can take on any value within a given feasible range.
12
X = Decision Variables C = Constant n = No. of decision variables --- columns m = Constraints -- rows
b1 b = b2 bm
xi u 0 i = 1, 2, , n 14
Ex. 1 - continued
Each week Giapetto can obtain: All needed raw material. Only 100 finishing hours. Only 80 carpentry hours. Demand for the trains is unlimited. At most 40 soldiers are bought each week. Giapetto wants to maximize weekly profit (revenues costs). Formulate a mathematical model of Giapettos situation that can be used to maximize weekly profit.
16
Ex. 1 - Formulation
Identify Decision Variables Identify Objective Function Identify Constraints Formulate Optimization Model/ Mathematical Model
17
18
Weekly revenues = weekly revenue from soldiers + revenue from trains = 27x1 + 21x2 Weekly raw material cost Weekly variable costs = 10x1 + 9x2 = 14x1 + 10x2
Gispetto wants to maximize profit (revenue costs) (27x1 + 21x2) (10x1 + 9x2) (14x1 + 10x2) = = 3x1 + 2x2 Giapettos objective is to choose x1 and x2 to maximum 3x1 + 2x2.
23