Linear optimization: Sensibility analysis 4

Aus Operations-Research-Wiki
Wechseln zu: Navigation, Suche

Theory

The Sensibility Analysis (also: Sensitivity Analysis) can be seen as a „What if – Analysis“. The question we have in mind while doing the analysis is: „What happens to the outcome, if we change this variable?“ You have to consider that initial data has to be changed without changing the structure and characteristics (optimality, validity) of the final solution. Doing a Sensitivity Analaysis will predict you the outcome resulting from a certain change in the variables (basis or non basis?). It’s important, that this change of variables happens ceteris paribus. That means, that only one of the variables changes, while all others have to stay constant. The result of the sensibility analysis will be the range in which these variables can be changed, so that we don’t have to do further iterations to get to the optimal solution.

In reality it applies as a popular decision support. Analysts can do several Sensitivity Analyses and get an overview which alternative of changing variables will lead to which outcome. Based on that they are able to decide what change will bring the intended result along.


Example

We assume, that we have a company which sells two sorts of fruit-boxes (apples and pineapples). All fruits have to pass three processes. First they get washed. In the second step the fruits get cut and in the last step they get packed into boxes. The prices for apples are 5$ and for pineapples 8$.

Capacities of the processes and time the models need:

Process Apples Pineapples Capacity (max)
Washing 1 4 90
Cutting 2 5 160
Packing 1 2 75


  • objecitve function: Fehler beim Parsen (http://mathoid.testme.wmflabs.org Serverantwort ist ungültiges JSON.): 5x_1 + 8x_2 \rightarrow max



Initial Solution

(non-basic) (non-basic) RS
o.f. -5 -8
1 3 90
2 5 160
1 2 75

Optimal Solution

(non-basic) (non-basic) RS
o.f. 2 5 375
1 -2 10
2 1 75
1 -1 15


Detailed Solution Process

Change of basic variables

Basic Variables
 variation interval for dual value in the initial solution is defined by the smallest negative and the smallest positive ratio of objective function (here: optimal solution) and the corresponding row element.

The positive value has to be added to the initial value and the negative value has to be subtracted from the initial value.

Initial Solution

(non-basic) (non-basic) RS
o.f. -5 -8
1 3 90
2 5 160
1 2 75

Optimal Solution

(non-basic) (non-basic) RS
o.f. 2 5 375
1 -2 10
2 1 75
1 -1 15
  • Fehler beim Parsen (http://mathoid.testme.wmflabs.org Serverantwort ist ungültiges JSON.): y_{B,min} = 0 - min\{|5/-2|\} = -2,5


  • Fehler beim Parsen (http://mathoid.testme.wmflabs.org Serverantwort ist ungültiges JSON.): x_{1,min} = -5 - min\{|5/1|\} = -10
  • Fehler beim Parsen (http://mathoid.testme.wmflabs.org Serverantwort ist ungültiges JSON.): x_{1,max} = -5 + min\{|2/2|\} = -4


  • Fehler beim Parsen (http://mathoid.testme.wmflabs.org Serverantwort ist ungültiges JSON.): y_{A,min} = 0 - min\{|5/-1|\} = -5


  • can be varied from -2,5 to 2
  • can be varied from -10 to -4
  • can be varied from -5 to 2

Change of non-basic variables

The interval where the initial solution can be varied is defined by the smallest negative and smallest positive ratio of the RS (here: optimal solution) and the corresponding column element.

Pay attention, that the positive value has to be subtracted from the initial value, while the negative value has to be added to the initial value.

Initial Solution

(non-basic) (non-basic) RS
o.f. -5 -8
1 3 90
2 5 160
1 2 75

Optimal Solution

(non-basic) (non-basic) RS
o.f. 2 5 375
1 -2 10
2 1 75
1 -1 15
  • Fehler beim Parsen (http://mathoid.testme.wmflabs.org Serverantwort ist ungültiges JSON.): x_{2,min} = -8 - min\{|10/1, 75/2, 15/1|\} = -18
  • Fehler beim Parsen (http://mathoid.testme.wmflabs.org Serverantwort ist ungültiges JSON.): x_{2,max} = -8 + min\{|0|\} = -8


  • Fehler beim Parsen (http://mathoid.testme.wmflabs.org Serverantwort ist ungültiges JSON.): y_{B,min} = 160 - min\{|75/1|\} = 85
  • Fehler beim Parsen (http://mathoid.testme.wmflabs.org Serverantwort ist ungültiges JSON.): y_{B,max} = 160 + min\{|10/-2, 15/-1|\} = 165



  • can be varied from -18 to -8
  • can be varied from 85 to 165


  • Interpretation: In this example () the machine capacity (i.e.) could decrease to 85 or increase to 165, without changing the structure. The end tableau of the optimal solution will still be the same.
  • Remember, that just one variable can be varied (ceteris paribus). The other variable(s) stay(s) constant.

Sources

  • W. Domschke, A. Drexl, Einführung in Operations Research, 6. Auflage, 2005
  • Prof. Dr. O. Wendt, lecture script "Operations Research", 2013