Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

Линейное программирование. Практикум. Учебное пособие для бакалавриата

.pdf
Скачиваний:
0
Добавлен:
12.08.2026
Размер:
1 Мб
Скачать

7. Tranportation problem

 

B1

B2

B3

B4

 

ai

 

 

 

 

 

 

 

A1

11

5

4

80

2

80

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

A2

1

4

5

 

9

170

70

60

40

 

 

 

 

 

 

 

 

 

 

 

 

 

A3

9

8

7

 

10

150

 

 

140

10

 

 

 

 

 

 

 

 

 

 

 

 

 

bj

70

60

180

90

 

400

 

 

 

 

 

 

 

z(X) =1750 <2170.

The plan

 

 

0

0

0

80

 

X

 

 

70

60

40

0

 

 

=

 

 

 

 

0

0

140

10

 

 

 

 

 

is optimal. We have proved that testing the initial basic plan obtained by the Least Cost Rule.

Questions for self-control

1)Formulateamathematicalmodelofthetransportation problem.

2)What is a closed transportation problem?

3)Formulate the stages solving the transportation problem?

— 91 —

7. Tranportation problem

Exercises for independent work

1) Find the initial plan for the transportation problem

 

B1

B2

B3

B4

 

ai

A1

2

6

7

80

4

90

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

A2

4

3

6

 

5

50

 

 

 

 

 

 

 

 

 

 

 

 

A3

1

8

8

 

10

60

 

 

 

 

 

bj

50

40

60

50

 

 

using a) North West Corner Rule; b) the Least Cost Rule.

2) Find the initial plan for the transportation problem

 

B1

B2

B3

B4

 

ai

 

 

 

 

 

 

 

A1

2

6

7

80

4

100

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

A2

4

3

6

 

5

150

 

 

 

 

 

 

 

 

 

 

 

 

A3

1

8

8

 

10

100

 

 

 

 

 

 

 

 

 

 

 

 

bj

150

70

50

80

 

 

 

 

 

 

 

 

 

using a) North West Corner Rule; b) the Least Cost Rule.

— 92 —

7. Tranportation problem

3) Solve the transportation problem a)

 

B1

B2

B3

B4

ai

 

 

 

 

 

 

A1

8

6

9

2

150

 

 

 

 

 

 

 

 

 

 

A2

7

3

12

10

70

 

 

 

 

A3

11

8

5

4

180

 

 

 

 

 

 

 

 

 

 

bj

80

60

60

200

 

 

 

 

 

 

 

b)

 

 

 

 

 

 

 

 

 

 

 

 

B1

B2

B3

B4

ai

A1

7

6

4

10

80

 

 

 

 

 

 

 

 

 

 

A2

5

2

8

3

250

 

 

 

 

A3

1

9

14

10

70

 

 

 

 

bj

150

140

120

90

 

— 93 —

7. Tranportation problem

c)

 

B1

B2

B3

B4

ai

 

 

 

 

 

 

A1

7

15

3

12

70

 

 

 

 

 

 

 

 

 

 

A2

5

1

8

11

170

 

 

 

 

 

 

 

 

 

 

A3

2

9

4

10

80

 

 

 

 

bj

120

100

130

70

 

— 94 —

CONCLUSION

Linear programming as a science appeared in the first half of the twentieth century to solve applied problems of economics. Linear programming is still actively used to solve both theoretical and applied problems in various branches of science. Therefore, linear programming takes an important place in the knowledge system of a modern economist.

— 95 —

ANSWERS FOR QUESTIONS

AND EXERCISES

Section 2

Questions

1) Linear programming is a branch of applied mathematics that deals with solving problems of maximization or minimization of a linear function subject to linear constraints (it means that constraints are linear equations or linear inequalities).

2) A linear programming problem is the following optimizing problem

f = c1x1 + +cmxm +c0 → max (min)

Subject to

a11x1 + +a1mxm b1,

,

an1x1 + +anmxm bn,

d11x1 + +d1mxm = q1,

,

dk1x1 + +dkmxm = qk, x1 ≥ 0, ,xm ≥ 0 .

— 96 —

Answers for questions and EXERCISES

f= CT X +C0 → max (min)

AX B,

3)DX = Q,X ≥ 0.

4)The linear function f to be maximized or minimized

is called the objective function.

(x1*,...,xn* )T of the linear

programming problem is called the optimal solution.

AX B,

6) DX = Q.

7) x1 ≥ 0, ,xm ≥ 0 .

8) A vector X = (x1,...,xn )T satisfying the constraints of the linear programming problem is called a feasible solution.

9) The set of all feasible solutions is called the feasible

set.

10) A linear programming problem is said to be feasible if the feasible set is not empty.

11) A linear programming problem can have a unique solution, infinitely many solutions, or no solutions.

12) A set M is said to be convex if for any x,y M and any t [0;1] it follows that tx +(1−t)y M .

13) The feasible set of a linear programming problem

is convex

 

 

14)

f = CT X +C

→ max

 

 

0

 

AX = B,

X ≥ 0.

— 97 —

Answers for questions and EXERCISES

15) Any linear programming problem can be transformed to the canonicals form.

16)

f = CT X +C0 → max

AX B,

X ≥ 0.

17) If a linear programming problem written in the canonicals form system of basic constraints reduced to the unit basis, then the linear programming problem can be transformed to the standard form.

Exercises

1)

f= x1 −5x2 +2x3 → max

x1 x2 +4x3 =7,

a)x1 −4x2 +y1 =2,

x1 +2x2 +3x3 y2 = 6,

x1 ≥ 0, x2 ≥ 0, x3 ≥ 0,y1 ≥ 0,y2 ≥ 0.

f= x1 +2x2 x4 → min

3= 3,

b)2x1 −2x2 +6x4 +y1 =1,x1 x2 +2x3 x4 +y2 =2,

x1 ≥ 0, x2 ≥ 0, x3 ≥ 0,x4 ≥ 0,y1 ≥ 0,y2 ≥ 0.x1 +2x2 −5x

2)

f = −x1 +4x2 −4 → max

a)x1 x2 ≤1,3x1 −2x2 ≤5,x1 ≥ 0, x2 ≥ 0.

— 98 —

Answers for questions and EXERCISES

f = x1 −3x2 +1 → min

b)x1 +2x2 ≤1,2x1 x2 ≤5,x1 ≥ 0, x2 ≥ 0.

3)

x1

f = (1 −1 2) x2 → minx3

1

1

 

−2 x

 

3

 

 

 

 

−2

 

 

 

 

1

 

 

 

 

1

 

 

 

4

x2

1

;

 

1

−5

 

 

2

x

 

 

7

 

 

 

 

 

 

 

 

 

 

3

 

 

 

 

 

 

 

 

 

0

 

 

 

 

 

 

 

x1

 

 

 

 

 

 

 

 

x

 

 

0

 

.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

 

 

x

 

 

 

 

 

 

 

 

 

3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x1

b) f = (1 3 1 4) x2 minx3

x4

 

 

 

 

 

 

 

 

 

x1

 

 

 

 

1 −1 3 −2

x2

 

2

 

 

 

 

 

 

 

 

 

 

 

 

 

=

 

;

 

1

−3 4

−2

x

 

5

 

 

 

 

 

 

 

 

 

 

 

 

 

3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

 

 

 

 

 

 

 

 

0

 

 

 

 

 

 

 

 

 

x1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

 

.

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

 

 

 

x

 

 

 

 

 

 

 

 

 

 

3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

 

 

 

 

x

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

 

 

 

 

 

 

 

 

 

 

 

 

— 99 —

Answers for questions and EXERCISES

Section 3

Questions

1) We apply the geometrical method if the linear programming problems has 2 variables and is written in the standard form (all constraints are inequalities).

2)

a) Find the boundaries of the feasible region.

They are the straight lines defined by equations obtained by replacing the inequality sign with an equal sign in the system of constraints. You can build them by finding two points through which this line passes. These points can be obtained by substituting a fixed value of one of the variables into the equation and finding the corresponding value of the other variable.

b) Find the half-planes containing the feasible region. The straight lines of the boundaries divide the plane

into two half-planes. Substituting a test point (for example, a point O(0;0) ), we can determine which half-plane containing the feasible region. If, when substituting the test point into the inequality defining the half-plane of the constraint, we get the correct statement, then the feasible region belongs to the half-plane containing the test point. If, when substituting a test point into an inequality defining a half-plane of the constraint, we get an incorrect statement, then the feasible region belongs to a half-plane that does not contain a test point.

c) Find the intersection of all half-planes containing the feasible region.

3)The vector n = (n1,n2 )T .

4)n1x1 +n2x2 = c where c is a constant.

5)The level line is perpendicular to the gradient.

100 —

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]