Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Introduction to LP
Linear programming problem Problem formulation A maximization problem Graphical solution procedures Computer solutions A minimization problem Special case
2
LP problem
A mathematical programming problem is one that seeks to maximize an objective function subject to constraints. If both the objective function and the constraints are linear, the problem is referred to as a linear programming Linear functions are functions in which variable appear in a separate term raised to the first power and is multiplied by constant-which could be 0 Linear constraints are linear functions that are restricted to be less than or equal, equal to, or greater than or equal to constant.
LP solutions
The maximization or minimization of some quality is the objective in all linear programming problems. A feasible solution satisfied all the problems constraints. Optimal solution is feasible solution that results in the largest possible objective function value when maximizing (or smallest when minimizing) A graphical solution method can be used to solve a linear program with two variables.
Problem formulation
Problem formulation or modelling is the process of translating a vertical statement of a problem into a mathematical statement.
The available quantity of each materials are 20 tons Material 1, 5 tons Material 2 and 21 tons Material 3.
Material
M1 M2 M3 20 tons 5 tons 21 tons
Profit contribution per ton of F=$40 Profit contribution per ton of S=$30
40 30 20
10
10
20
30
40
50
10
10
(10,10)
10
20
50
11
10
(10,10)
10
20
50
12
10
10
20
50
13
70
Tons of Solvent Base 40 30 20
(0,70)
10
(0,35)
10
20
50
14
40 30 20
Material 2
Feasible Region
40 30 20
Feasible Region
(0,8) 10
17
40 30 20
20
21
22
23
3 1 2
24
Computer Solutions
Computer program designed to solve LP problems are now widely available Most large LP problems can be solved with just a few minutes of computer time Small LP problems usually require only a few seconds Linear programming solves are now part of many spreadsheet packages such as Microsoft Excel
25
Reduced cost
The reduces cost for a decision variable whose value is 0 in the optimal solution is the amount the variables objective function coefficient would have to improve (increase for maximization problems, decrease for minimization problems) before this variable could assume a positive value The reduced cost for a decision variable with positive value is 0
26
28
29
A=125
500 400
Feasible Region
300
200
100
100
200
300
400
500
600
Gallons of Product A
30
500 400
300
200
100
100
200
300
400
500
600
Gallons of Product A
31
Computer Solutions
Computer programs designed to solve LP problems are now widely available Most large LP problems can be solved with just a few minutes of computer time Small LP problem s usually require only a few seconds. LP solvers are now part of many spreadsheet packages, such as Microsoft Excel.
32
Feasible Region
The feasible region for two variables LP problem can be nonexistent, a single point, a line, a polygon or an unbounded area Any linear program falls in one of three categories:
Is infeasible Has a unique optimal solution or alternate optimal solution Has an objective function that can be increased without bound
A feasible region may be unbounded and yet there may be optimal solutions. This is common in minimization problems and is possible in maximization problems.
33
End
34