We consider LP problems in standard (equality) form:
As before,
with ,,
,
, and
is a tuple of variables.
In practice, the entries in any of , ,
and might come from measurements and might be inexact.
Sensitivity analysis deals with how much change in the problem data we
can tolerate without changing the optimality of the current basis.
In what follows, we consider a selection of such questions.
The questions we consider are by no means exhaustive.
Before we look at some such questions, we list a few definitions.
A basis is called a feasible basis if determines
a basic feasible solution.
A basis is called a dual feasible basis if
satisfying
is a feasible solution to the dual problem of .
(Note that a dual feasible basis is not required to determine
a basic feasible solution.)
A basis is called an optimal basis if
it is a feasible basis and a dual feasible basis.
In this case,
if is the basic feasible solution determined by
and satisfies
,
then it can be seen from the revised simplex method
(or simply from complementary slackness) that
and
are optimal solutions to and the
dual of , respectively.
A sample of questions
Consider with
It is known that is an optimal basis determining
the basic feasible solution
.
Let .
We consider various types of changes in the problem data.
Changes in
Changes to when are the easiest to handle.
Suppose that is changed from to
and is changed from to .
For what values of and
does remain an optimal basis?
Note that remains a basic feasible solution
as and are not affected.
Hence, remains an optimal basis if and only
if
satisfying
remains a dual feasible solution after the changes.
Now, .
So remains a dual feasible solution after
changing to and to
if and only if ; or equivalently,
.
Hence, remains an optimal basis for all and
satisfying .
Note that, if and do not satisfy these inequalities,
will no longer be an optimal basis. However,
we do not need to solve the problem from scratch because
is still a feasible basis and so we can continue with
the simplex method with the basis .
Now, suppose that is changed from to .
For what values of does remain an optimal basis?
Again, remains a basic feasible solution.
As , we need to solve for
in
where :
Solving gives
So remains an optimal basis if and only if
Changes in
Suppose that is changed
from to . For what values of does
remain an optimal basis?
Note that changes in do not affect .
So satisfying
is a feasible solution to the dual problem after modifying
.
Hence, remains an optimal basis as long as
it determines a feasible solution.
Let .
By definition,
the basic solution to
determined by
satisfies for all ;
or equivalently,
for all . So we need to solve
We get ,
,
.
So determines an optimal basic feasible solution
if and only if we have
In terms of , the system is
which simplifies to
So the range of values of for which
remains an optimal basis is .
If is changed to a value outside this range,
will no longer determine a basic feasible solution.
However,
is still a dual feasible basis as
satisfying
remains a feasible solution to the dual problem since the constraints
in the dual problem are not affected by changes to .
Next, we introduce the dual simplex method that works with such bases.
Worked examples
Consider the linear programming problem
with ,
,
and
Let denote the basis .
Show that is an optimal basis.
The basic solution determined by is
,
which is a feasible solution to . Hence, is a feasible
basis.
Now, solving for in
gives .
Clearly,
. Hence,
is dual feasible. Thus, is a dual feasible basis.
Hence, is an optimal basis.
Suppose that the first entry of is changed from
to . For what values of
does remain an optimal basis?
Let .
The basic solution
to determined by
satisfies
for all . So we can obtain
by setting
and solving
Solving gives ,
and .
So determines an optimal basic feasible solution
if and only if we have
In terms of , the system is
which simplifies to
Hence, remains an optimal basis if and only
if
So the range of values of for which
Suppose that the entry in the second row and second column of
is changed from to
while keeping all the other problem data as
originally given. For what values of
does remain an optimal basis?
The new is
,
Hence, for to be a basis, we must have
, giving
.
Suppose that .
Then .
Thus, is a feasible basis if and only if
The second component tells us that .
With , the first components gives
, implying that .
Sicne , the necessary and sufficient
condition for to be a feasible basis is simply
.
Now,
is a feasible solution to the dual problem of .
Hence, remains an optimal basis for all
.
Suppose that is an optimal basis with respect to
determining the basic feasible solution .
Prove that if , then the dual
of has a unique optimal solution.
Let be an optimal solution to the dual problem
of . By complementary slackness, must
satisfy
for
with equality since for .
Thus,
,
giving
. Hence, is unique.