Consider the following LP:
max 𝑧 = 𝑐1𝑥1 + 𝑐2𝑥2
𝑠.𝑡.
𝑥1 + 𝑥2 ≥ 𝑏1
3𝑥1 + 8𝑥2 ≤ 𝑏2
𝑥1 ≤ 𝑏3
𝑥1, 𝑥2 ≥ 0
where 𝑐1 = 1, 𝑐2 = −1, 𝑏1 = 1, 𝑏2 = 24 and 𝑏3 = 5.
(a) Using the graphical method, determine the possible changes for each
of the cost coefficients (𝑐1 and 𝑐2) and each of the resource parameters
(𝑏1, 𝑏2 and 𝑏3) such that the optimal basis remains unchanged. (You
must consider the change of each parameter individually).
Write the answer in Overleaf code
Assistant
latex
\documentclass{article}
\usepackage{amsmath, amssymb, geometry}
\geometry{a4paper, margin=1in}
\title{Exercise 1(a) Solution}
\author{}
\date{}
\begin{document}
\maketitle
\section*{Exercise 1(a)}
\textbf{Problem Statement:}
Consider the following Linear Programming (LP) problem:
\[
\begin{aligned}
\text{Maximize} \quad & z = c_1 x_1 + c_2 x_2 \\
\text{Subject to} \quad
& 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 the parameters are given as:
\[
c_1 = 1, \quad c_2 = -1, \quad b_1 = 1, \quad b_2 = 24, \quad b_3 = 5.
\]
\textbf{Objective:}
Determine the allowable changes for each cost coefficient ($c_1$, $c_2$) and each resource parameter ($b_1$, $b_2$, $b_3$) such that the optimal basis remains unchanged, using the graphical method.
\subsection*{1. Identifying the Current Optimal Basis}
First, we identify the current optimal solution and the basis.
\textbf{Feasible Region 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}
\]
\textbf{Corner Points:}
\begin{itemize}
\item Intersection of $x_1 = 0$ and $x_1 + x_2 = 1$ $\Rightarrow$ $(0,1)$.
\item Intersection of $x_1 = 0$ and $3x_1 + 8x_2 = 24$ $\Rightarrow$ $(0,3)$.
\item Intersection of $3x_1 + 8x_2 = 24$ and $x_1 = 5$:
\[
\begin{aligned}
3(5) + 8x_2 &= 24 \\
15 + 8x_2 &= 24 \\
8x_2 &= 9 \\
x_2 &= \frac{9}{8} = 1.125.
\end{aligned}
\]
$\Rightarrow$ $(5, 1.125)$.
\end{itemize}
\textbf{Objective Function Evaluation:}
\[
\begin{aligned}
z(0,1) &= 1(0) - 1(1) = -1, \\
z(0,3) &= 1(0) - 1(3) = -3, \\
z(5,1.125) &= 1(5) - 1\left(\frac{9}{8}\right) = 5 - 1.125 = 3.875.
\end{aligned}
\]
Thus, the optimal solution is at $(5, 1.125)$ with $z = 3.875$.
\textbf{Optimal Basis:} The active constraints at the optimal point $(5, 1.125)$ are:
\[
\begin{cases}
x_1 \leq 5, \\
3x_1 + 8x_2 \leq 24.
\end{cases}
\]
Hence, the current basis consists of:
\[
B = \{x_1 \leq 5, \quad 3x_1 + 8x_2 \leq 24\}.
\]
\subsection*{2. Determining Allowable Changes}
To ensure that the optimal basis remains unchanged, we analyze the allowable variations for each parameter individually while keeping others constant.
\subsubsection*{a) Allowable Change in $c_1$}
The objective function is:
\[
z = c_1 x_1 + c_2 x_2.
\]
To maintain the current optimal basis, the reduced costs must satisfy the optimality conditions. Specifically, no other non-basic variable should improve the objective.
Only $x_2$ is a non-basic variable in the current basis. The shadow price (dual variable) associated with $x_2$ must not lead to a better objective value.
\textbf{Condition:}
The coefficient $c_1$ can vary such that the optimality condition:
\[
\frac{\partial z}{\partial x_1} \geq 0 \quad \text{(since this is a maximization problem)}
\]
remains satisfied.
However, since $x_1$ is already in the basis and active, its coefficient can change without affecting the optimality as long as the other constraints remain binding.
\textbf{Result:}
There is no restriction on $c_1$; it can take any real value without altering the optimal basis.
\subsubsection*{b) Allowable Change in $c_2$}
The current objective function is:
\[
z = x_1 - x_2.
\]
For the optimal basis to remain unchanged, increasing or decreasing $c_2$ should not make $x_2$ enter the basis.
\textbf{Condition:}
The reduced cost of $x_2$ must remain non-negative:
\[
c_2' \geq \text{current reduced cost}.
\]
Since $c_2 = -1$, any increase in $c_2$ (making it less negative or positive) could potentially allow $x_2$ to enter the basis.
\textbf{Binding Constraints at Optimality:}
\[
\begin{cases}
x_1 = 5, \\
3x_1 + 8x_2 = 24.
\end{cases}
\]
The slope of the objective function must not exceed the slope of any non-binding constraint.
\textbf{Calculations:}
The objective function has a slope of $-\frac{c_1}{c_2} = -\frac{1}{-1} = 1$.
The binding constraint $3x_1 + 8x_2 = 24$ has a slope of $-\frac{3}{8} = -0.375$.
To maintain optimality, the objective function's slope should not be greater than the binding constraint's slope. Therefore:
\[
-\frac{c_1}{c_2'} \leq -\frac{3}{8} \quad \Rightarrow \quad \frac{1}{c_2'} \leq \frac{3}{8} \quad \Rightarrow \quad c_2' \geq \frac{8}{3} \approx 2.6667.
\]
But since $c_2$ was initially $-1$, this condition cannot be satisfied without reversing the direction of optimization. Therefore, to prevent $x_2$ from entering the basis:
\[
c_2' \leq 0.
\]
\textbf{Result:}
The cost coefficient $c_2$ can increase up to $0$ without changing the optimal basis:
\[
c_2' \leq 0.
\]
\subsubsection*{c) Allowable Change in $b_1$}
The constraint $x_1 + x_2 \geq b_1$ affects the feasibility region.
\textbf{Current Binding Constraints:}
At $(5, 1.125)$:
\[
5 + 1.125 = 6.125 \geq b_1.
\]
To keep the optimal basis unchanged, the lower bound on $x_1 + x_2$ should not push the feasible region such that another corner point becomes optimal.
\textbf{Condition:}
The value of $b_1$ can be increased up to the point where the current solution remains feasible:
\[
x_1 + x_2 \geq b_1' \quad \Rightarrow \quad 6.125 \geq b_1' \quad \Rightarrow \quad b_1' \leq 6.125.
\]
Similarly, decreasing $b_1$ below its current value does not affect the optimal basis since the current solution already satisfies $x_1 + x_2 \geq 1$.
\textbf{Result:}
The resource parameter $b_1$ can vary as:
\[
b_1' \leq 6.125.
\]
\subsubsection*{d) Allowable Change in $b_2$}
The constraint $3x_1 + 8x_2 \leq b_2$ is currently binding:
\[
3(5) + 8(1.125) = 15 + 9 = 24 = b_2.
\]
To maintain the optimal basis, $b_2$ can vary without violating feasibility or changing the active constraints.
\textbf{Condition:}
The right-hand side $b_2$ can increase until another constraint becomes binding or the current solution remains feasible.
\textbf{Upper Bound:}
The maximum $b_2$ can increase without altering the intersection point $(5,1.125)$ is until a new intersection makes another constraint active. However, since $x_1=5$ is already the upper limit from $x_1 \leq 5$, increasing $b_2$ beyond $24$ does not affect the current basis.
\textbf{Lower Bound:}
If $b_2$ decreases below $24$, the current solution must still satisfy $3x_1 + 8x_2 \leq b_2$. Thus:
\[
3(5) + 8(1.125) = 24 \leq b_2' \quad \Rightarrow \quad b_2' \geq 24.
\]
\textbf{Result:}
The resource parameter $b_2$ must remain:
\[
b_2' \geq 24.
\]
\subsubsection*{e) Allowable Change in $b_3$}
The constraint $x_1 \leq b_3$ is currently binding:
\[
x_1 = 5 \leq b_3.
\]
To maintain the current basis, $b_3$ must not restrict $x_1$ below its current value.
\textbf{Condition:}
\[
5 \leq b_3'.
\]
Decreasing $b_3$ below $5$ would make $x_1 = b_3'$ the new binding constraint, altering the basis.
\textbf{Result:}
The resource parameter $b_3$ can vary as:
\[
b_3' \geq 5.
\]
\subsection*{Summary of Allowable Changes}
\[
\begin{aligned}
&\text{Cost Coefficients:} \\
&\quad c_1': \text{Unrestricted (any real value)}, \\
&\quad c_2': c_2' \leq 0. \\ \\
&\text{Resource Parameters:} \\
&\quad b_1': b_1' \leq 6.125, \\
&\quad b_2': b_2' \geq 24, \\
&\quad b_3': b_3' \geq 5.
\end{aligned}
\]
These ranges ensure that the optimal basis $\{x_1 \leq 5, \ 3x_1 + 8x_2 \leq 24\}$ remains unchanged.
\end{document}