Answer to Question #175717 in Operations Research for Moni

Question #175717

A jewelry store makes both necklaces and bracelets from gold and platinum.

The store has developed the following linear programming model for determining the number of necklaces and bracelets

(x1 and x2) that it needs to make to maximize profit: maximize Z = 300x1+ 400x2(profit, S) subject to 3x1 + 2x2 less than equal to 18 (gold, oz)

2x1 + 4x2 less than equal to 20 (platinum,oz.)

X2 less than equal to 4 (demand, bracelets) X1,x2 greater than equal to 0

Solve this model using the simplex method.


1
Expert's answer
2021-04-19T07:56:00-0400

1. This is a necessary condition for solving the problem:

the numbers on the right parts of the constraint system must be non-negative.

This condition is done.


2. This is a necessary condition for solving the problem:

all constraints must be equations.




S1 ≥ 0, S2 ≥ 0, S3 ≥ 0. The entered variables S1, S2, S3, are called slack variables.


3. Finding the initial basis and the value of the function F which corresponds to the found initial basis.


What is a basis?

A variable is called a basic variable for an equation if it enters into this equation with a coefficient of one and does not enter into other equations system (provided that there is a non-negative number on the right side of the equation).

If each equation has a basic variable, then they say that the system has a basis.

Variables that are not basic are called non-basic.


What is the idea of the simplex method?

Each basis is corresponded to one function value. One of them is the maximum value of the function F.

We will move from one basis to another.

The next basis will be chosen in such a way that the value of the function F will be no less than we have now.

Obviously, the number of possible bases for any problem is not very large.

So sooner or later the answer will be received.


How will we move from one basis to another?

It is more convenient to record the solution in the form of tables. Each row of the table is equivalent to a system equation. The highlighted row consists of the coefficients of the function (see the table below). This allows us not to rewrite variables every time. It saves time.

In the highlighted row, select a maximum positive coefficient (we can select any positive coefficient).

This is necessary in order to get a value of the function F no less than we have.

Column is selected.

For the positive coefficients of the selected column, we count the coefficient Θ and select the minimum value.

This is necessary in order to get non-negative numbers in the right part of the equations after moving to another basis.

Row is selected.

An element is found that will be basic. Next, we will need to calculate.


Does our system have a basis?


There is a basis in our system. We can begin to solve our problem.

F=300x1+400x2

Non-basic variables are zero. In the mind, we can find the values of the basic variables. (see system)

Function F contains only non-basic variables. Therefore, the value of the function F for this basis can be found in the mind.

x1 = 0 x2 = 0 

S1 = 18 S2 = 20 S3 = 4 => F = 0

The initial basis was found. The value of the function F corresponding to the initial basis was found.


4. Finding a maximum value of the function F.


Non-basic variables are zero. In the mind, we can find the values of the basic variables. (see table)

Function F contains only non-basic variables. Therefore, the value of the function F for this basis can be found in the mind. (see the highlighted row in the table)

x2 = 0 S1 = 0 

x1 = 6 S2 = 8 S3 = 4 => F - 1800 = 0 => F = 1800



Non-basic variables are zero. In the mind, we can find the values of the basic variables. (see table)

Function F contains only non-basic variables. Therefore, the value of the function F for this basis can be found in the mind. (see the highlighted row in the table)

S1 = 0 S2 = 0 

x1 = 4 x2 = 3 S3 = 1 => F - 2400 = 0 => F = 2400

There are not any positive coefficients in the highlighted row. Therefore, the maximum value of the function F was found.

Result:

x1 = 4 x2 = 3 

Fmax = 2400



Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS