Numerical Methods for Engineers
Numerical Methods for Engineers
7th Edition
ISBN: 9789814670876
Author: Chapra
Publisher: BOOKXCHANG
bartleby

Videos

Textbook Question
Book Icon
Chapter 15, Problem 1P

A company makes two types of products, A and B. These products are produced during a 40-hr work week and then shipped out at the end of the week. They require 20 and 5 kg of raw material per kg of product, respectively, and the company has access to 9500 kg of raw material per week. Only one product can be created at a time with production times for each of 0.04 and 0.12 hr, respectively. The plant can only store 550 kg of total product per week. Finally, the company makes profits of $45 and $20 on each unit of A and B, respectively. Each unit of product is equivalent to a kg.

(a) Set up the linear programming problem to maximize profit.

(b) Solve the linear programming problem graphically.

(c) Solve the linear programming problem with the simplex method.

(d) Solve the problem with a software package.

(e) Evaluate which of the following options will raise profits the most: increasing raw material, storage, or production time.

(a)

Expert Solution
Check Mark
To determine

The linear programming problem to maximize the profit if the company makes profits of $45 on each unit of A and $20 on each unit of B.

Answer to Problem 1P

Solution:

The linear programming problem to maximize the profit is,

Maximize P=45xa+20xb

Subject to the constraints:

20xa+5xb95000.04xa+0.12xb40xa+xb550xa,xb0

Explanation of Solution

Given Information:

Product A and B are produced during a 40-hr of work week.

Company has access to 9500 kg of raw material per week.

Company required 20 kg of raw material per kg of product A and 5 kg of raw material per kg of product B.

One product of A can be created in 0.04 hour and one product of B can be created in 0.12 hour.

Plant can store 550 kg of total product per week.

And, the company makes profits of $45 on each unit of A and $20 on each unit of B.

Assume xa be the amount of product A produced weekly and xb be the amount of product B produced weekly.

Therefore, total number of products is xa+xb.

But plant can store 550 kg of total product per week. Therefore, the storage constrain is,

xa+xb550

Company required 20 kg of raw material per kg of product A and 5 kg of raw material per kg of product B. Therefore, total raw material per week is,

Raw material =20xa+5xb

But the company has access to 9500 kg of raw material per week. Therefore, raw material constraint is,

20xa+5xb9500

One product of A can be created in 0.04 hour and one product of B can be created in 0.12 hour. Therefore, the total production time is,

Production time=0.04xa+0.12xb

Since, product A and B are produced during a 40-hr of work week. Therefore, the production time constraint is,

0.04xa+0.12xb40

Since, the amount of product cannot be negative. Therefore, the positivity constraint is,

xa,xb0 

Now, the company makes profits of $45 on each unit of A and $20 on each unit of B. Therefore, maximum profit is,

Maximize P=45xa+20xb

Subject to the constraints:

20xa+5xb95000.04xa+0.12xb40xa+xb550xa,xb0

(b)

Expert Solution
Check Mark
To determine

To calculate: The solution of the linear programming problem,

Maximize P=45xa+20xb

Subject to the constraints:

20xa+5xb95000.04xa+0.12xb40xa+xb550xa,xb0

By the graphical method.

Answer to Problem 1P

Solution:

The maximum value of P is approximately 22,250 at xa=450 and xb=100.

Explanation of Solution

Given Information:

The linear programming problem,

Maximize P=45xa+20xb

Subject to the constraints:

20xa+5xb95000.04xa+0.12xb40xa+xb550xa,xb0

Formula used:

The equation of a straight line is,

y=mx+C

Where, m is the slope and C is the intercept of y.

Calculation:

Consider the linear programming problem,

Maximize P=45xa+20xb

Subject to the constraints:

20xa+5xb95000.04xa+0.12xb40xa+xb550xa,xb0

Reformulate the constraints to straight lines by replacing inequality by equal sign and solving for xb as below,

xb=19004xaxb=333.330.33xaxb=550xaxb=(120)P2.25xa

The above equations are the equation of straight lines and represent the constraints.

The value of P in the objective function xb=(120)P2.25xa is increased till it reaches the highest value that obeys all constraints.

Plot all the straight lines.

The graph obtained is,

Numerical Methods for Engineers, Chapter 15, Problem 1P , additional homework tip  1

Hence, the maximum value of P is approximately 22,250 at xa=450 and xb=100.

(c)

Expert Solution
Check Mark
To determine

The solution of the linear programming problem,

Maximize P=45xa+20xb

Subject to the constraints:

20xa+5xb95000.04xa+0.12xb40xa+xb550xa,xb0

By the Simplex method.

Answer to Problem 1P

Solution:

The values of variables are xa=450, xb=100. The maximum P=22250.

Explanation of Solution

Given Information:

The linear programming problem,

Maximize P=45xa+20xb

Subject to the constraints:

20xa+5xb95000.04xa+0.12xb40xa+xb550xa,xb0

Consider the provided linear programming problem,

Maximize P=45xa+20xb

Subject to the constraints:

20xa+5xb95000.04xa+0.12xb40xa+xb550xa,xb0

First convert the above problem to standard form by adding slack variables.

As the constraints are subjected to less than condition, non- negative slack variables are added to reach equality.

Let the slack variables be S10, S20 and S30.

Thus, the linear programming model would be:

Maximize P=45xa+20xb+0S1+0S2+0S3

Subject to the constraints:

20xa+5xb+S1=95000.04xa+0.12xb+S2=40xa+xb+S3=550xa,xb,S1,S2,S30

The above linear programming models consist of three non-basic variables (xa, xb) and three basic variables (S1, S2, S3).

Now the apply the Simplex method and solve the above problem as:

Basic P xa xb S1 S2 S3 Solution Intercept
P 1 -45 -20 0 0 0 0
S1 0 20 5 1 0 0 9500 475
S2 0 0.04 0.12 0 1 0 40 1000
S3 0 1 1 0 0 1 550 550

The negative minimum, P is 45 and it corresponds to variable xa. So, the entering variable is xa.

The minimum ratio is 475 and it corresponds to basis variable S 1. So, the leaving variable is S 1.

Therefore, the pivot element is 20.

Basic P xa xb S1 S2 S3 Solution Intercept
P 1 0 -8.75 2.25 0 0 21375
xa 0 1 0.25 0.05 0 0 475 1900
S2 0 0 0.11 -0.002 1 0 21 190.9090
S3 0 0 0.75 -0.05 0 1 75 100

The negative minimum, P is 8.75 and it corresponds to variable xb. So, the entering variable is xb.

The minimum ratio is 100 and it corresponds to basis variable S 3. So, the leaving variable is S 3.

Therefore, the pivot element is 0.75.

Basic P xa xb S1 S2 S3 Solution Intercept
P 1 0 0 1.6667 0 11.6667 22250
xa 0 1 0 0.0667 0 -0.3333 450 1900
S2 0 0 0 0.0053 1 -0.1467 10 190.9090
S3 0 0 1 -0.0667 0 1.3333 100 100

Since P0, optimal solution is obtained.

Hence, the values of variables are xa=450, xb=100. The maximum P=22250.

(d)

Expert Solution
Check Mark
To determine

The solution of the linear programming problem,

Maximize P=45xa+20xb

Subject to the constraints:

20xa+5xb95000.04xa+0.12xb40xa+xb550xa,xb0

By the use of software.

Answer to Problem 1P

Solution:

The maximum profitis 22,250 with xa=450 and xb=100.

Explanation of Solution

Given Information:

The linear programming problem,

Maximize P=45xa+20xb

Subject to the constraints:

20xa+5xb95000.04xa+0.12xb40xa+xb550xa,xb0

Use excel solver as below, to solve the linear programming,

Step 1: Enter the coefficients of xa and xb for each constraint as below,

Numerical Methods for Engineers, Chapter 15, Problem 1P , additional homework tip  2

Step 2: Use formulas in column D to find total are as below,

Numerical Methods for Engineers, Chapter 15, Problem 1P , additional homework tip  3

Step 3: click on Solver button under the Data Ribbon. Set the values in pertinent cells of Solver dialogue box as below:

Numerical Methods for Engineers, Chapter 15, Problem 1P , additional homework tip  4

Step 4: Press the solve button.

The result obtained as,

Numerical Methods for Engineers, Chapter 15, Problem 1P , additional homework tip  5

Hence, the maximum value profitis 22,250 with xa=450 and xb=100.

(e)

Expert Solution
Check Mark
To determine

The constraint among increasing raw material, storage or production time that gives the maximum profit.

Answer to Problem 1P

Solution:

The storage will give the maximum profit.

Explanation of Solution

Given Information:

The linear programming problem,

Maximize P=45xa+20xb

Subject to the constraints:

20xa+5xb95000.04xa+0.12xb40xa+xb550xa,xb0

To obtain the maximum profit, the shadow price should be high.

Use excel as below to find the shadow price by generating the sensitivity report,

Follow same steps up to the step 4 of part (d) then select the report as sensitivity as below,

Numerical Methods for Engineers, Chapter 15, Problem 1P , additional homework tip  6

The sensitivity report for the linear programming problem is as follows:

Numerical Methods for Engineers, Chapter 15, Problem 1P , additional homework tip  7

From the above sensitivity report, it is observed that the storage has a high shadow price.

Hence, the storage will give the maximum profit.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Knowledge Booster
Background pattern image
Advanced Math
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, advanced-math and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Text book image
Linear Algebra: A Modern Introduction
Algebra
ISBN:9781285463247
Author:David Poole
Publisher:Cengage Learning
Text book image
Algebra for College Students
Algebra
ISBN:9781285195780
Author:Jerome E. Kaufmann, Karen L. Schwitters
Publisher:Cengage Learning
Text book image
College Algebra (MindTap Course List)
Algebra
ISBN:9781305652231
Author:R. David Gustafson, Jeff Hughes
Publisher:Cengage Learning
Text book image
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:9781133382119
Author:Swokowski
Publisher:Cengage
UG/ linear equation in linear algebra; Author: The Gate Academy;https://www.youtube.com/watch?v=aN5ezoOXX5A;License: Standard YouTube License, CC-BY
System of Linear Equations-I; Author: IIT Roorkee July 2018;https://www.youtube.com/watch?v=HOXWRNuH3BE;License: Standard YouTube License, CC-BY