Question

In: Math

Write the following linear program in standard form. If your answer is zero, enter “0”. If...

Write the following linear program in standard form. If your answer is zero, enter “0”. If the constant is "1" it must be entered in the box.

Max 12A + 6B
s.t.
A 2B 420
6A + 8B 1,300
10A 2B 250
A, B ≥ 0
A + B + S1 + S2 + S3
s.t.
A B + S1
A + B + S2
A B + S3
A, B, S1, S2, S3

Solutions

Expert Solution

The standard form is obtained as follows :

• all variables involved are restricted to be non-negative.

• all constraints are equalities , with constant, non-negative right-hand sides.

Converting may require new variables and rearranging constraints:

• an inequality can be multiplied by −1 to get non-negative RHS.

• inequalities can be converted to equalities by adding or subtracting non-negative slack variables.

• Unrestricted variables can be dealt with by writing the variable as the difference of two new non-negative variables.

We have given the following problem :

Max Z = 12A + 6B

s.t.

A - 2B ≤ 420

6A + 8B ≤ 1300

10A - 2B ≤ 250

A, B ≥ 0

To convert to standard form, we introduce three new slack variables, s1 ≥ 0 , s2 ≥ 0 and s3 ≥ 0.

The standard form of above problem is as follows :

Max Z = 12A + 6B + 0s1 + 0s2 + 0s3

s.t.

A - 2B + s1 = 420

6A + 8B + s2 = 1300

10A - 2B + s3 = 250

A, B, s1, s2 and s3 ≥ 0.


Related Solutions

Compute the 2017 standard deduction for the following taxpayers. If an amount is zero, enter "0"....
Compute the 2017 standard deduction for the following taxpayers. If an amount is zero, enter "0". Click here to access the standard deduction table to use. a. Margie is 15 and claimed as a dependent by her parents. She has $800 in dividends income and $1,400 in wages from a part-time job. $ b. Ruby and Woody are married and file a joint tax return. Ruby is age 66, and Woody is 69. Their taxable retirement income is $10,000. $...
Write the following linear optimization problem in standard form. Maximize 2x + y Subject to        ...
Write the following linear optimization problem in standard form. Maximize 2x + y Subject to         x + y > 2      3x + 4y < 12           x, y > 0
Java Program 1. Write a program that asks the user: “Please enter a number (0 to...
Java Program 1. Write a program that asks the user: “Please enter a number (0 to exit)”. Your program shall accept integers from the user (positive or negative), however, if the user enters 0 then your program shall terminate immediately. After the loop is terminated, return the total sum of all the previous numbers the user entered. a. What is considered to be the body of the loop? b. What is considered the control variable? c. What is considered to...
C programming. Write a program that prompts the user to enter a 6x6 array with 0...
C programming. Write a program that prompts the user to enter a 6x6 array with 0 and 1, displays the matrix, and checks if every row and every column have the even number of 1’s.
JAVA Language: Write a program that prompts the user to enter a positive integer n (0...
JAVA Language: Write a program that prompts the user to enter a positive integer n (0 up to 232 -1). You must write a function that takes as input n and returns a string s representing the number n in binary. For this assignment, you must use the method of successive division by 2 to convert the number to binary. Your main program must print out s. Example: If the user enters the number 66, your program must print out...
write a C++ program that permits users to enter the following information about your small company’s...
write a C++ program that permits users to enter the following information about your small company’s 5 employees and then writes the information to a file “employee.txt”: ID No.   Sex (M/F) Hourly Wage Years with the Company Make sure that you open the file for write using the two-step process of “trial read followed by write” so that an existing file with the same name does not get inadvertently clobbered. Close all open files after completing read or write operations....
Write a java program that does the following: a) The user will enter data such as...
Write a java program that does the following: a) The user will enter data such as client name and client balance. The user can stop inputting data by entering "stop". The program should store the user inputs as a data member of an array. The type of this array is a class named ClientData. Below the output should be displayed by the program. The parts in bold are inputs from the user and not hard coded in the program Client...
Write a program that does the following. It will ask the user to enter an integer...
Write a program that does the following. It will ask the user to enter an integer larger than 1, and the if entered integer is not larger than 1, it keeps prompting the user. After the user enters a valid integer, the program prints all the prime factors of the integer (including the repeated factors). For example, if the entered integer is 24, the program prints: 2 2 2 3 Run your program with the test cases where the entered...
Write a program which asks the user for grade, in integer form, from 0 to 100....
Write a program which asks the user for grade, in integer form, from 0 to 100. If the user's response is negative or greater than 100, insult them. Otherwise, use if / else statements to print out the letter grade corresponding to the user's input. 90 - 100 : A 80 - 89 : B 70 - 79 : C 60 - 69 : D 0 - 59 : F Then, write a second version of the program which uses...
Write a program which asks the user for grade, in integer form, from 0 to 100....
Write a program which asks the user for grade, in integer form, from 0 to 100. If the user's response is negative or greater than 100, insult them. Otherwise, use if / else statements to print out the letter grade corresponding to the user's input. 90 - 100 : A 80 - 89 : B 70 - 79 : C 60 - 69 : D 0 - 59 : F Then, write a second version of the program which uses...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT