Phase-1
After introducing artificial variables
subject to
Iteration-1 | Cj | 0 | 0 | 0 | 0 | 0 | -1 | -1 | -1 | ||
B | CB | XB | x1 | x2 | x3 | x4 | x5 | A1 | A2 | A3 | MinRatio XB/x1 |
A1 | -1 | 33 | 2 | 3 | 1 | 5 | 3 | 1 | 0 | 0 | 33/2=16.5 |
A2 | -1 | 3 | (4) | 1 | 4 | -1 | 1 | 0 | 1 | 0 | 3/4=0.75→ |
A3 | -1 | 8 | 1 | 1 | -3 | -2 | 3 | 0 | 0 | 1 | 8/1=8 |
Z=-44 | Zj | -7 | -5 | -2 | -2 | -7 | -1 | -1 | -1 | ||
Zj-Cj | -7↑ | -5 | -2 | -2 | -7 | 0 | 0 | 0 |
Negative minimum Zj-Cj is -7
and its column index is 1
Minimum ratio is 0.75 and its row index is 2
The pivot element is 4.
Entering =x1, Departing =A2,
Iteration-2 | Cj | 0 | 0 | 0 | 0 | 0 | -1 | -1 | ||
B | CB | XB | x1 | x2 | x3 | x4 | x5 | A1 | A3 | MinRatio XB/x5 |
A1 | -1 | 63/2 | 0 | 5/2 | -1 | 11/2 | 5/2 | 1 | 0 | (63/2)/(5/2)=63/5=12.6 |
x1 | 0 | 3/4 | 1 | 1/4 | 1 | -1/4 | 1/4 | 0 | 0 | (3/4)/(1/4)=3 |
A3 | -1 | 29/4 | 0 | 3/4 | -4 | -7/4 | (11/4) | 0 | 1 | (29/4)/(11/4)=29/11=2.6364→ |
Z=-155/4 | Zj | 0 | -13/4 | 5 | -15/4 | -21/4 | -1 | -1 | ||
Zj-Cj | 0 | -13/4 | 5 | -15/4 | -21/4↑ | 0 | 0 |
Negative minimum Zj-Cj is -21/4
and its column index is 5.
Minimum ratio is 2.6364 and its row index is 3.
The pivot element is 11/4.
Iteration-3 | Cj | 0 | 0 | 0 | 0 | 0 | -1 | ||
B | CB | XB | x1 | x2 | x3 | x4 | x5 | A1 | MinRatio XB/x4 |
A1 | -1 | 274/11 | 0 | 20/11 | 29/11 | (78/11) | 0 | 1 | (274/11) / (78/11)=137/39=3.5128→ |
x1 | 0 | 1/11 | 1 | 2/11 | 15/11 | -1/11 | 0 | 0 | --- |
x5 | 0 | 29/11 | 0 | 3/11 | -16/11 | -7/11 | 1 | 0 | --- |
Z=-274/11 | Zj | 0 | -20/11 | -29/11 | -78/11 | 0 | -1 | ||
Zj-Cj | 0 | -20/11 | -29/11 | -78/11↑ | 0 | 0 |
Negative minimum Zj-Cj is
-78/11 and its column index is 4.
Minimum ratio is 3.5128 and its row index is 1
The pivot element is 78/11.
Iteration-4 | Cj | 0 | 0 | 0 | 0 | 0 | ||
B | CB | XB | x1 | x2 | x3 | x4 | x5 | MinRatio |
x4 | 0 | 137/39 | 0 | 10/39 | 29/78 | 1 | 0 | |
x1 | 0 | 16/39 | 1 | 8/39 | 109/78 | 0 | 0 | |
x5 | 0 | 190/39 | 0 | 17/39 | -95/78 | 0 | 1 | |
Z=0 | Zj | 0 | 0 | 0 | 0 | 0 | ||
Zj-Cj | 0 | 0 | 0 | 0 | 0 |
Since all
Hence, optimal solution is arrived
Phase-2
we eliminate the artificial variables and change the objective
function for the original,
Iteration-1 | Cj | 10 | 15 | 12 | 20 | 10 | ||
B | CB | XB | x1 | x2 | x3 | x4 | x5 | MinRatio XB/x2 |
x4 | 20 | 137/39 | 0 | 10/39 | 29/78 | 1 | 0 | (137/39 )/ (10/39)=137/10=13.7 |
x1 | 10 | 16/39 | 1 | (8/39) | 109/78 | 0 | 0 | (16/39) / (8/39)=2→ |
x5 | 10 | 190/39 | 0 | 17/39 | -95/78 | 0 | 1 | (190/39) / (17/39)=190/17=11.1765 |
Z=1600/13 | Zj | 10 | 150/13 | 120/13 | 20 | 10 | ||
Zj-Cj | 0 | -45/13↑ | -36/13 | 0 | 0 |
Negative minimum Zj-Cj is
-45/13 and its column index is 2.
Minimum ratio is 2 and its row index is 2
The pivot element is 8/39.
Iteration-2 | Cj | 10 | 15 | 12 | 20 | 10 | ||
B | CB | XB | x1 | x2 | x3 | x4 | x5 | MinRatio |
x4 | 20 | 3 | -5/4 | 0 | -11/8 | 1 | 0 | |
x2 | 15 | 2 | 39/8 | 1 | 109/16 | 0 | 0 | |
x5 | 10 | 4 | -17/8 | 0 | -67/16 | 0 | 1 | |
Z=130 | Zj | 215/8 | 15 | 525/16 | 20 | 10 | ||
Zj-Cj | 135/8 | 0 | 333/16 | 0 | 0 |
Since all
Hence, optimal solution is arrived
Q.3. ( maybe add, and maybe subtract from the original constraint) and then implement the two...
1. Solving the linear programming problem Maximize z 3r1 2r2 3, subject to the constraints using the simplex algorithm gave the final tableau T4 T5 #210 1-1/4 3/8-1/812 0 0 23/4 3/8 7/8 10 (a) (3 points) Add the constraint -221 to the final tableau and use the dual simplex algorithm to find a new optimal solution. (b) (3 points) After adding the constraint of Part (a), what happens to the optimal solution if we add the fourth constraint 2+...
EE252 100 Points Digital Design I Two's Complement Subtraction and Add / Subtract Circuits Homework 3. (25 Pts) The following circuit uses two 7483 (4-bit adder) ICs, labeled 7483-1 and 7483-2, respectively. Answer the questions for EACH of the following THREE CASES: Case 1: D=0010, and E = 0110 Case 2: D = 1000, and E = 0101 Case 3: D = 1000, and E = 1001 a. (6 Pts - 2 Pts per Case) What are the binary inputs...
2. Consider the linear programm (a) Fill in the initial tableau below in order to start the Big-M Method tableau by performing one pivot operation. (6) The first tableau below is the tableau just before the optimal tableau, and the second one oorresponds to the optimal tableau. Fill in the missing entries for the second one. 1 7 56 M15 25 01 3/2 2 0 0 1/2 0 15/2 #310 0 5/2-1 o 1-1/2 0133/2 a1 a rhs (i) Exhibit...
Your goal is to create an ‘Array’ class that is able to hold
multiple integer values. The ‘Array’ class will be given
functionality through the use of various overloaded operators
You will be given the main() function for your program and must add
code in order to achieve the desired result. Do not change any code
in main(). If something is not working, you must change your own
code, not the code in main().
Assignment 5: overloading member functions. Overview:...
#1 Attached is an Excel spreadsheet containing the exponential smoothing, moving average, and quarterly regression analyses of the data set in problem #23 in Chapter 8. Use the Excel spreadsheet to answer the following questions. #1.1 which of the nine exponential smoothing models in columns J through R would you use to forecast Value for time-13, and why would you use it? (5 points) #1.2 what is the exponential smoothing forecast of Value for time-13 for (Show your work.) (5...
C++ For this assignment you will be building on the Original Fraction class you began last week. You'll be making four major changes to the class. [15 points] Delete your set() function. Add two constructors, a default constructor that assigns the value 0 to the Fraction, and a constructor that takes two parameters. The first parameter will represent the initial numerator of the Fraction, and the second parameter will represent the initial denominator of the Fraction. Since Fractions cannot have...
hello there, i have to implement this on java processing. can someone please help me regarding that? thanks War is the name of a popular children’s card game. There are many variants. After playing War with a friend for over an hour, they argue that this game must never end . However! You are convinced that it will end. As a budding computer scientist, you decide to build a simulator to find out for sure! You will implement the logic...
In
cell C6, insert a Scatter Chart for the Returns
Completed versus Return Price data from the Data
worksheet. You may be used to seeing Price placed on the Y-axis
from other economics courses, but in this problem we are using
price as the independent variable.
Inserting Chart
Select the Scatter chart from the provided chart options in the
Charts group of the Insert tab of the Ribbon.
Selecting Data Series
Then choose Select Data in the Design tab on...
python 3 question Project Description Electronic gradebooks are used by instructors to store grades on individual assignments and to calculate students’ overall grades. Perhaps your instructor uses gradebook software to keep track of your grades. Some instructors like to calculate grades based on what is sometimes called a “total points” system. This is the simplest way to calculate grades. A student’s grade is the sum of the points earned on all assignments divided by the sum of the points available...