[Solved] CSCI 570 Homework5

$25

File Name: CSCI_570__Homework5.zip
File Size: 178.98 KB

SKU: [Solved] CSCI 570 – Homework5 Category: Tag:
5/5 - (1 vote)
  1. Maximizing Profit

A furniture company produces three types of couches. The first type uses 1 foot of framing wood and 3 feet of cabinet wood. The second type uses 2 feet of framing wood and 2 feet of cabinet wood. The third type uses 2 feet of framing wood and 1 foot of cabinet wood. The profit of the three types of couches is $10, $8, and $5, respectively. The factory produces 500 couches each month of the first type, 300 of the second type, and 200 of the third type. However, this month there is a shortage of cabinet wood and the supply to the factory will have to be reduced by 600 feet, but the supply of framing wood is increased by 100 feet.

How should the production of the three types of couches be adjusted to minimize the decrease in profit?

Formulate this problem as a linear programming problem.

  1. Dual Program

Consider the following linear program:

max(3x1 + 2x2 + x3)

Subject to,

x1 x2 + x3 4 2x1 + x2 + 3x3 6 x1 + 2x3 = 3 x1 + x2 + x3 8 x1,x2,x3 0

Write the dual problem.

  1. Spectrum Management

Spectrum management is the process of regulating the use of radio frequencies to promote efficient use and gain a net social benefit. Given a set of broadcast emitting stations s1 ,,s n , a list of frequencies f 1 ,,f m , where m n, and the set of adjacent stations E = {(si ,s j )} . The goal is to assign a frequency to each station so that adjacent stations use different frequencies and the number of used frequencies is minimized.

Formulate this problem as an integer linear programming problem.

  1. Short Questions

True or false? Shortly explain your answers.

  1. If ApB and B is in NP Hard, then A is in NP Hard.
  2. If ApB and B is in NP, then A is in NP.
  3. If 3 SATp2 SAT, then P = NP.
  4. Any NP problem can be solved in time O (2poly(n)), where n is the input size and poly(n) is a polynomial.
  5. If a problem ApB then it follows that BpA.
  6. 5. Finding a satisfying assignment

Assume that you are given a polynomial time algorithm that given a 3-SAT instance decides in polynomial time if it has a satisfying assignment. Describe a polynomial time algorithm that finds a satisfying assignment (if it exists) to a given 3-SAT instance.

  1. Shipping Goods

Given n positive integers x1 ,,x n . The Partition Problem asks if there is a subset S [n] such that:

xi = xi

iS i/ S

It can be proven that the Partition Problem is NP-complete. You do not prove it, but rather use it in the following problem.

Assume that you are consulting for a shipping company that ships a large amount of packages overseas. The company wants to pack n products with integer weights p1 , . . . , p n into a few boxes as possible to save on shipping costs. However, they cannot put any number of products into a box due to the ship- ping capacity restriction. The total weight of products in each box should not exceed W ? You may assume that for each i-th product pi W . Your task is to advise the company if it can be placed into at most k < n boxes. Show that the problem is NP-Complete by reduction from the Partition Problem.

  1. Longest Path

Given a graph G = (V,E) and a positive integer k, the longest-path problem is the problem of determining whether a simple path (no repeated vertices) of length k exists in a graph. Show that this problem is NP-complete by reduction from the Hamiltonian path.

  1. Helping with the COVID-19 Crisis

Given an integer k, a set C of n cities c1 ,,c n , and the distances between these cities d ij = d(ci ,c j ) , for 1 i < j n, where d is the standard Euclidean distance. We want to select a set H of k cities for building mobile hospitals in light of the coronavirus outbreak. The distance between a given city c and the set H is given by d(c,H) = min hH d(c,h). The goal is to select a set H of k cities that minimizes r = max cC d(c,H). Namely, the maximum distance from a city to the nearest mobile hospital is minimized. Give a 2-approximation algorithm for this problem.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CSCI 570 Homework5
$25