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. $...
Compute the 2019 standard deduction for the following taxpayers. If an amount is zero, enter "0"....
Compute the 2019 standard deduction for the following taxpayers. If an amount is zero, enter "0". Click here to access the standard deduction table to use. a. Ellie 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...
Write a C program Your program will prompt the user to enter a value for the...
Write a C program Your program will prompt the user to enter a value for the amount of expenses on the credit card. Retrieve the user input using fgets()/sscanf() and save the input value in a variable. The value should be read as type double. The user may or may not enter cents as part of the input. In other words, expect the user to enter values such as 500, 500.00 and 500.10. The program will then prompt the user...
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.
Write a program and ask a user to enter a numeric value between 0 - 99....
Write a program and ask a user to enter a numeric value between 0 - 99. Your program will spell out the numbers into words. You must use at least three switch cases in addition to multiple if statements. Each missing switch statement will reduce your grade for this problem by 20%. Note: The total number of if statements and switch cases should not exceed 28. Additional if/case statement will further reduce your grade by 5%. in c++ please
// This program ask the user to enter a character. It then performs a // linear...
// This program ask the user to enter a character. It then performs a // linear search on a character array and display the number of times // that the character appears on the array. If the character is not in the // array, then it will display a message saying that is was not found. // Add the necessary code for the program to work. // NOTE: // You don't have to edit anything in the main(), just in...
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....
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT