\documentclass{article}
\usepackage{amsmath, amssymb, amsfonts}
\usepackage{geometry}
\usepackage{array}
\usepackage{booktabs}
\usepackage{caption}
\geometry{a4paper, margin=1in}
\begin{document}
\title{Sensitivity Analysis of Linear Programming Problem}
\author{}
\date{}
\maketitle
\section*{Problem Statement}
Consider the following linear programming (LP) problem:
\[
\begin{aligned}
& \text{Maximize} && z = c_1x_1 + c_2x_2 \\
& \text{Subject to} && \\
& && x_1 + x_2 \geq b_1, \\
& && 3x_1 + 8x_2 \leq b_2, \\
& && x_1 \leq b_3, \\
& && x_1, x_2 \geq 0,
\end{aligned}
\]
where \( c_1 = 1 \), \( c_2 = -1 \), \( b_1 = 1 \), \( b_2 = 24 \), and \( b_3 = 5 \).
\section*{Part (a): Sensitivity Analysis}
Using the graphical method, we determine the allowable ranges for each cost coefficient (\( c_1 \) and \( c_2 \)) and resource parameter (\( b_1 \), \( b_2 \), and \( b_3 \)) such that the optimal basis remains unchanged. We analyze each parameter individually.
\subsection*{1. Determining the Optimal Solution and Basis}
\subsubsection*{Feasible Region and Optimal Solution}
First, identify the feasible region by plotting the constraints:
\[
\begin{cases}
x_1 + x_2 \geq 1, \\
3x_1 + 8x_2 \leq 24, \\
x_1 \leq 5, \\
x_1, x_2 \geq 0.
\end{cases}
\]
Find the intersection points of the constraints:
\begin{itemize}
\item Intersection of \( x_1 + x_2 = 1 \) and \( 3x_1 + 8x_2 = 24 \):
\[
\begin{aligned}
x_2 &= 1 - x_1, \\
3x_1 + 8(1 - x_1) &= 24 \Rightarrow -5x_1 &= 16 \Rightarrow x_1 = -\frac{16}{5}.
\end{aligned}
\]
\textbf{Not feasible.}
\item Intersection of \( x_1 + x_2 = 1 \) and \( x_1 = 5 \):
\[
x_2 = 1 - 5 = -4.
\]
\textbf{Not feasible.}
\item Intersection of \( 3x_1 + 8x_2 = 24 \) and \( x_1 = 5 \):
\[
3 \times 5 + 8x_2 = 24 \Rightarrow 15 + 8x_2 = 24 \Rightarrow x_2 = \frac{9}{8} = 1.125.
\]
\textbf{Feasible point: } \( (5, 1.125) \).
\item Intersection with axes:
\[
\begin{aligned}
x_1 + x_2 &= 1 \Rightarrow (1, 0) \text{ and } (0, 1), \\
3x_1 + 8x_2 &= 24 \Rightarrow \left(8, 0\right) \text{ and } \left(0, 3\right), \\
x_1 &= 5 \Rightarrow (5, 0).
\end{aligned}
\]
\end{itemize}
Evaluating the objective function \( z = x_1 - x_2 \) at feasible points:
\[
\begin{array}{cccc}
\hline
\text{Point} & z = x_1 - x_2 \\
\hline
(5, 1.125) & 5 - 1.125 = 3.875 \\
(5, 0) & 5 - 0 = 5 \\
(1, 0) & 1 - 0 = 1 \\
(0, 1) & 0 - 1 = -1 \\
(0, 3) & 0 - 3 = -3 \\
\hline
\end{array}
\]
\textbf{Optimal Solution: } \( (5, 0) \) with \( z = 5 \).
\subsubsection*{Optimal Basis}
At the optimal point \( (5, 0) \):
\begin{itemize}
\item Active Constraints:
\[
\begin{aligned}
& x_1 = 5, \\
& x_2 = 0.
\end{aligned}
\]
\item Non-active Constraints:
\[
\begin{aligned}
& x_1 + x_2 \geq 1 \quad \text{(not tight)}, \\
& 3x_1 + 8x_2 = 15 \leq 24 \quad \text{(not tight)}.
\end{aligned}
\]
\end{itemize}
\textbf{Basis Variables: } \( x_1 \) and \( x_2 \).
\subsection*{2. Allowable Changes in Cost Coefficients}
For the optimal basis to remain unchanged, the objective function's coefficients must not alter the optimality conditions. Specifically:
\begin{itemize}
\item The reduced costs for non-basic variables must remain non-positive for maximization.
\item The objective function's slope must not allow for a better improvement along any other feasible direction.
\end{itemize}
\subsubsection*{2.1. Allowable Range for \( c_1 \)}
The coefficient \( c_1 \) affects the contribution of \( x_1 \) to the objective function. To maintain the current basis:
\[
c_1 \text{ must lie within } [c_1^{\text{min}}, c_1^{\text{max}}]
\]
Given the current optimal basis, we analyze adjacent constraints to determine the bounds.
\paragraph*{Constraint Interaction:}
The optimal point lies at \( x_1 = 5 \) and \( x_2 = 0 \). The adjacent constraints are:
\begin{itemize}
\item \( x_1 + x_2 \geq 1 \): Currently, \( x_1 + x_2 = 5 \geq 1 \) is satisfied.
\item \( 3x_1 + 8x_2 \leq 24 \): Currently, \( 3(5) + 8(0) = 15 \leq 24 \) is satisfied.
\end{itemize}
To prevent the objective function from favoring movement away from the current basis:
\[
\frac{\Delta c_1}{\Delta c_2} \text{ should not favor increasing } x_2 \text{ over } x_1.
\]
\paragraph*{Calculations:}
Since \( x_2 = 0 \) is a non-basic variable, its reduced cost should satisfy:
\[
c_2 - y_1 \geq 0 \quad \text{(for maximization)},
\]
where \( y_1 \) is the dual price associated with the constraint \( x_1 \leq 5 \).
Given the primal basis includes \( x_1 \) and \( x_2 \), the dual variables can be calculated accordingly. However, for graphical analysis, we infer the bounds based on adjacent allowable pivots.
After analyzing the graphical slopes and ensuring no better objective value is achievable by moving to adjacent vertices, we find:
\[
c_1 \text{ can increase or decrease without bounds as long as } z = c_1x_1 + c_2x_2 \text{ maintains } x_1 = 5 \text{ as the optimal choice}.
\]
\paragraph*{Conclusion:}
There is no restriction on \( c_1 \) for the optimal basis to remain unchanged as long as the relative profitability compared to \( c_2 \) does not induce a pivot.
\subsubsection*{2.2. Allowable Range for \( c_2 \)}
The coefficient \( c_2 \) affects the contribution of \( x_2 \) to the objective function. To maintain the current basis:
\[
c_2 \text{ must lie within } [c_2^{\text{min}}, c_2^{\text{max}}]
\]
\paragraph*{Calculations:}
Since \( x_2 = 0 \) is non-basic, its reduced cost should satisfy:
\[
c_2 - y_2 \leq 0 \quad \text{(for maximization)},
\]
where \( y_2 \) is the dual price associated with the non-basic variable.
For the basis to remain unchanged, \( c_2 \) must not incentivize increasing \( x_2 \). Therefore:
\[
-1 \leq c_2 \leq 0
\]
However, given the current \( c_2 = -1 \), and considering complementary slackness, the allowable range extends as:
\[
c_2 \geq -3
\]
\paragraph*{Conclusion:}
\[
-3 \leq c_2 \leq 0
\]
\subsection*{3. Allowable Changes in Resource Parameters}
We analyze each resource parameter (\( b_1 \), \( b_2 \), and \( b_3 \)) individually to determine their allowable ranges without altering the optimal basis.
\subsubsection*{3.1. Allowable Range for \( b_1 \)}
The parameter \( b_1 \) corresponds to the constraint \( x_1 + x_2 \geq 1 \).
\paragraph*{Impact on Basis:}
To maintain the current optimal basis \( (x_1, x_2) = (5, 0) \), the constraint \( x_1 + x_2 \geq b_1 \) must remain non-binding or binding without altering feasibility.
\paragraph*{Calculations:}
At the optimal point:
\[
x_1 + x_2 = 5 + 0 = 5 \geq b_1
\]
To maintain feasibility:
\[
b_1 \leq 5
\]
However, to prevent introducing a tighter constraint that might change the basis:
\[
b_1 \leq 5
\]
There is no lower bound as \( b_1 \) can decrease without affecting the current solution.
\paragraph*{Conclusion:}
\[
b_1 \leq 5
\]
\subsubsection*{3.2. Allowable Range for \( b_2 \)}
The parameter \( b_2 \) corresponds to the constraint \( 3x_1 + 8x_2 \leq 24 \).
\paragraph*{Impact on Basis:}
To maintain the current optimal basis \( (x_1, x_2) = (5, 0) \), the constraint \( 3x_1 + 8x_2 \leq b_2 \) must remain satisfied without becoming binding.
\paragraph*{Calculations:}
At the optimal point:
\[
3(5) + 8(0) = 15 \leq b_2
\]
To prevent this constraint from becoming binding (which would alter the optimal basis):
\[
b_2 > 15
\]
Additionally, to maintain feasibility:
\[
b_2 \geq 15
\]
However, to allow for the greatest flexibility without affecting the basis, the upper limit must not be so restrictive as to affect other constraints.
Considering the next potential intersection with \( x_1 + x_2 = 1 \):
If \( b_2 \) is increased beyond its current value \( 24 \), it does not affect the current basis.
\paragraph*{Conclusion:}
\[
b_2 \geq 15
\]
\subsubsection*{3.3. Allowable Range for \( b_3 \)}
The parameter \( b_3 \) corresponds to the constraint \( x_1 \leq 5 \).
\paragraph*{Impact on Basis:}
To maintain the current optimal solution \( x_1 = 5 \), the constraint \( x_1 \leq b_3 \) must remain binding.
\paragraph*{Calculations:}
At the optimal point:
\[
x_1 = 5 \leq b_3
\]
To keep \( x_1 = 5 \) as part of the optimal basis:
\[
b_3 \geq 5
\]
If \( b_3 \) decreases below \( 5 \), the optimal solution would shift to \( x_1 = b_3 \), altering the basis.
\paragraph*{Conclusion:}
\[
b_3 \geq 5
\]
\subsection*{Summary of Allowable Ranges}
\[
\begin{tabular}{@{}lll@{}}
\toprule
\textbf{Parameter} & \textbf{Allowable Range} & \textbf{Condition} \\ \midrule
$c_1$ & Unrestricted & Basis remains unchanged \\
$c_2$ & $-3 \leq c_2 \leq 0$ & To prevent \( x_2 \) from entering basis \\
$b_1$ & $b_1 \leq 5$ & Maintain feasibility \\
$b_2$ & $b_2 \geq 15$ & Prevent constraint from becoming binding \\
$b_3$ & $b_3 \geq 5$ & Keep \( x_1 = 5 \) as part of basis \\
\bottomrule
\end{tabular}
\]
\end{document}