Lecture 8: Spreadsheet-based Solution Method

Lecture 8: Spreadsheet-based Solution Method#

Note

For general \(n\)-dimensional linear programming problem, we will explore alterante tools for developing solutions, starting with spreadsheet-based methods in this lecture.


Example #1#

Consider a textile firm operating in Kochi. This company needs to ship 100 tons of textile goods from Kanchipuram and can rent two types of trucks: \(\text{T}_1\) and \(\text{T}_2\). Each truck of type \(\text{T}_1\) can carry 10 tons of goods and costs ₹5000 per trip, while each truck of type \(\text{T}_2\) can carry 20 tons and costs ₹8000 per trip. Considering the managerial capacity of the firm (warehouse capacity, staff numbers, etc.), the management committee has imposed an upper limit on truck rental of 20 trucks in total, with a maximum of 12 any individual type of truck. Thus, all things considered, how many \(\text{T}_1\) and \(\text{T}_2\) type trucks should the company deploy so as to minimize the total costs?

Objective:

\[ \min_{x_1, x_2} \ z = 5000x_1 + 8000x_2 \]

Subject to:

\[\begin{split} \begin{aligned} 10x_1 + 20x_2 & \geq 100 \\ x_1 + x_2 & \leq 20 \\ x_1 & \leq 12 \\ x_2 & \leq 12 \\ x_1, x_2 & \in \mathbb{Z}_+ \end{aligned} \end{split}\]

Example #2#

The Southern Railways wants to start a new daily Vande-Bharat (VB) service between Chennai and Rameshwaram. However, the daily passenger demand is stochastic (uncertain) and follows a normal distribution – with a mean of 900 and standard deviation of 100 for the economy class, and a mean of 30 and standard deviation of 10 for the executive class. Note, the standard 78-capacity economy class coach amounts to ₹50,000 in daily operational costs and generates an average revenue of ₹750 per seat. On the other hand, the standard 52-capacity executive class coach amounts to ₹55,000 in daily operational costs and generates an average revenue of ₹2000 per seat. Assuming that a minimum of 16 coaches must be deployed, how many economy and executive coaches should the Southern Railways deploy in the VB so as to maximize the profits while maintaining a 95% service level (satisfying passenger demand on 95% of the days)?

Objective:

\[ \max_{x_1, x_2} \ z = 1000 \times 750 + 30 \times 2000 - 50000x_1 - 55000x_2 \]

Subject to:

\[\begin{split} \begin{aligned} 78x_1 & \geq 900 + 100z^{0.95} \\ 52x_2 & \geq 30 + 10z^{0.95} \\ x_1 + x_2 & \geq 16 \\ x_1, x_2 & \in \mathbb{Z}_+ \end{aligned} \end{split}\]

Example #3#

Consider a public bus operator (government-owned) providing service between Chennai and Tirumala. Owing to the variation of demand through the day, the operator requires a different number of buses during different time periods of the day (see table below). Further, due to congestion, the operational costs of a bus – which include driver, fuel, and maintenance costs, also vary through the day (see table below). Note, to maintain a minimum level of service, the operator is regulated to not reduce service by more than 3 buses between any two consecutive time periods. Thus, how many buses should the operator run during different time periods so as to minimize the costs?

Time-period

Number of buses required

Operational cost

06 AM – 09 AM

20

₹1500

09 AM – 12 PM

15

₹900

12 PM – 03 PM

8

₹600

03 PM – 06 PM

10

₹800

06 PM – 09 PM

18

₹1400

09 PM – 12 AM

4

₹1000

Objective:

\[ \min_{\mathbf{x}} \ z = 1500x_1 + 900x_2 + 600x_3 + 800x_4 + 1400x_5 + 1000x_6 \]

Subject to:

\[\begin{split} \begin{aligned} x_1 & \geq 20 \\ x_2 & \geq 15 \\ x_3 & \geq 8 \\ x_4 & \geq 10 \\ x_5 & \geq 18 \\ x_6 & \geq 4 \\ x_1 - x_2 & \leq 3 \\ x_2 - x_3 & \leq 3 \\ x_3 - x_4 & \leq 3 \\ x_4 - x_5 & \leq 3 \\ x_5 - x_6 & \leq 3 \\ x_i & \in \mathbb{Z}_+ \ \forall \ i \end{aligned} \end{split}\]

Although the following problem is non-linear, we shall briefly explore use of spreadsheet-based solution methods to address non-linear optimisation through this problem. However, later in this course, we will explore solution methods for non-linear optimisation problems in transportation engineering in more detail.

Example #4#

Consider a highway management firm that operates and maintains the expressway connecting Chennai with Bangalore. The highway management firm wants to set toll price \(p_1\) for private vehicles and \(p_2\) for commercial vehicles, to collect toll revenue on this highway. However, the National Highways Authority of India (NHAI) wants to facilitate sufficient flow between Chennai and Bangalore, ensuring that at least 1000 private and 1500 commercial vehicles each use the expressway during the peak hour. Note, the peak hour expressway traffic for private and commercial vehicles is subject to respective toll prices, and is given by \(Q_1(p_1)\) and \(Q_2(p_2)\), respectively. Nonetheless, the NHAI also wants to ensure sufficient tax collection, requiring toll price to at least be ₹150. Considering these regulations, what toll prices should the firm set so as to maximize the toll revenue?

Objective:

\[ \max_{p_1, p_2} \ z = p_1 (5000 - 20p_1) + p_2 (6000 - 0.05p_2^2) \]

Subject to:

\[\begin{split} \begin{aligned} 5000 - 20p_1 & \geq 1000 \\ 6000 - 0.05p_2^2 & \geq 1500 \\ p_1 & \geq 150 \\ p_2 & \geq 150 \\ p_1, p_2 & \in \mathbb{Z}_+ \end{aligned} \end{split}\]

Note

In this lecture, we explored spreadsheet-based solution methods for \(n\)-dimensional optimisation problems. In the following lecture, we will explore the use of Python programming language to address these optimisation problems.