请输入您要查询的字词:

 

单词 simplex method
释义
simplex method

Mathematics
  • An algebraic method of solving the standard form of a linear programming problem which allows the solution of multivariable problems, which could not be tackled graphically. The process is as follows, using a two-variable, two-constraint problem to illustrate. To maximize P = 2x+3y, subject to x+2y ≤ 20, 2x+y ≤15, x ≥ 0, y ≥ 0:

    1. (i) introduce slack variables, s and t, to rewrite each inequality as an equation, giving x+2y+s−20 = 0 and 2x+y+t−15 = 0;

    2. (ii) introduce all other slack variables into each equation with a coefficient of zero, giving x+2y+s+0t−20 = 0 and 2x+y+0s+t−15 = 0;

    3. (iii) rewrite the objective function in standard form, including all slack variables with a coefficient of zero, giving P−2x−3y+0s+0t = 0.

    The simplex tableau is a table which shows the current values for each variable in each constraint, with the last row, known as the objective row, showing the values in the equation derived from the objective function. The simplex algorithm is the process by which that table is manipulated in order to find the optimal solution. In the solution, the algorithm will produce a series of tableaux.

    The initial tableau for this problem will be:

    basic variable

    x

    y

    s

    t

    value

    s

    1

    2

    1

    0

    20

    t

    2

    1

    0

    1

    15

    P

    − 2

    − 3

    0

    0

    0

    The optimality condition is that when the objective row shows zero in all columns representing basic variables and no negative entries, then it represents an optimal solution.

    The standard procedure to achieve this condition is to repeat the following set of steps until all the basic variables, x and y, have been set to zero.

    1. (i) Choose the variable with the largest negative entry in the objective row. The column it is in is called the pivotal column and it is known as the entering variable. In the example y is the entering variable, and the pivotal column is the third from the left.

    2. (ii) For each row of the tableau, divide the value (in the last column) by the entering variable. In the example this gives 20/2 = 10 and 15/1 = 15. The smallest of these determines the pivotal row of the tableau at this stage and the leaving variable, which is s in the example. The pivot is the cell in both the pivotal column and the pivotal row, i.e. 2 in this case.

    3. (iii) Divide all entries in the pivotal row by the pivot, so the row reads s, 0.5, 1, 0.5, 0, 10 in the example.

    4. (iv) Add or subtract multiples of this row to (or from) each other to make the other entries in the pivotal column zero. So it has to be subtracted once from the t row, and added three times to the P row, leaving the tableau looking like this:

    basic variable

    x

    y

    s

    t

    value

    s

    0.5

    1

    0.5

    0

    10

    t

    1.5

    0

    −0.5

    1

    5

    P

    −0.5

    0

    1.5

    0

    30

    The process would now be repeated, and x will now be the entering variable, and the values at step 2 are 20 for s, and 10/3 for t, so t is the leaving variable, and at step 3 the pivotal row will read t, 1, 0, −1/3, 2/3, 10/3.

    Repeating step (iv) gives:

    basic variable

    x

    y

    s

    t

    value

    s

    0

    1

    2/3

    1/3

    25/3

    t

    1

    0

    −1/3

    2/3

    10/3

    P

    0

    0

    4/3

    1/3

    95/3

    For a many-variable problem this would have to be repeated for each variable in turn, but in this simple example the optimality condition is now satisfied and the maximum value of P is 95/3 occurring when s = 4/3 and t = 1/3, corresponding to x = 10/3 and y = 25/3. In this simple problem, the solution could have been found much more quickly by the vertex method, but the simplex method is an important tool because it can be applied to more complicated problems.


Statistics
  • An algorithm introduced in 1947 by Dantzig for the solution of a linear programming problem. The algorithm works by moving from one vertex of the feasible region to an adjacent one.


Computer
  • See linear programming.


随便看

 

科学参考收录了60776条科技类词条,基本涵盖了常见科技类参考文献及英语词汇的翻译,是科学学习和研究的有利工具。

 

Copyright © 2000-2023 Sciref.net All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/6 7:12:59