What are the vertices of the feasible region

Assignment Help Data Structure & Algorithms
Reference no: EM133011220

Question 1: Cerlinde Kaltenbrunner wants to pack food for her next expedition, which is going to he three weeks long. She wants to pack n combination of foods A, B, C, D, E so that she has at least 5000 calories per day. and 50-65 % of those calories come as carbohydrates. 20-35 % as fat, and 15-20 % as proteins. The following table shows the calories as carbohydrates, fat and proteins per 1 kg of the different foods A, B, C, D, E. Write a linear program that will help her to decide how much of each food to pack in order to minimize the weight of the food that she is going to carry (You do not need to solve the linear program).

 

carbs

fats

proteins

A

2500

34(XJ

500

B

1500

100

3500

C

2500

100

2500

D

3500

180X.)

200

E

1000

291:X0

500

Question 2. (a) Draw the feasible region of the following system of linear constraints:

-4.r1 ? 0
211 + ra 5 7
- .r2 > -2
.r1 - 3.r5 < 0
-xi 4- 2.r2 < 4

(h) What are the vertices of the feasible region? For each vertex. list the two constraints that define that vertex.

(c) Which vertex maximizes the value of the function r -4 2r2? Now suppose that we wanted to find this vertex using the simplex algorithm starting from the vertex (.Q. .r2) = (0.0). In other words we start at (0.0) and each time we move to a neighbouring vertex that increases the value of ri 4- 2x2. List the two possible paths that the algorithm can take starting from (x/. x2) = (0.0) and finishing at the optimal vertex. For each path. explain how the linear constraints that define the vertices on the path change as we move from one vertex to the next vertex.

Question 3. Consider the following linear program.

max -3x1 - 2x2 - 7x3
s.t.   x1+x2 =5
        x1- x3 ≤3
       2x2 + 2x3 ≥ 4
           x2 ≤ 0

(a) Write the dual of the above linear program.

(b) Use solution (-2,5, -1) to the dual program to show that x1 = 5, x2 = 0, x3 = 2 is an optimal solution for the primal linear program. You are not allowed to use the weak or strong duality theorems: instead you have to deduce the correct upper bound by combining the constraints using the dual solution (as in the proof of the weak duality theorem).

Question 4. Given a flow network G(V, E), for every edge (u, v),
• l(u, v) is the lower bound on flow from node u to node v;
• c(a,v) is the upper bound on flow from node u to node v;
• c(u,v) is the expense for sending a unit of flow on (u. v).
Formulate a linear program and show that if it has an optimal solution, the optimal solution corresponds to a flow that satisfies lower bounds and upper bounds on all edges and minimizes the total expense. The total expense is the sum of expenses on all edges.

Question 5. (a) Write a linear program to solve the following problem: Given an undirected graph C as an input, we want to assign lasmcgative numbers to the edges of the graph so that the following two conditions hold simultaneously:
• For every vertex, the sum of the numbers on the edges incident to it is at most 1.
• The total sum of the numbers on all the edges is maximized.

(b) If we also require that the numbers assigned to edges are integers, then what does the above problem correspond to?

(c) Write the dual of the linear program from (a). If we again require that the deci¬sion variables in the dual program are integers. then what does the dual problem correspond to?

Question 6.Consider the following variant of the Rock-paper-sciasors game. Alice and Bob each can form one of the n shapes with an outstretched hand. There is an n x n matrix A = [aij]1≤i,j≤n that determines who wins the game. If Alice (onus the i-th shape and Bob forms the j-th shape, then the value of aij ∈ (0.1) tells us who wins (there are no ties): Here aij = I means Alice wins, and aij = 0 means Bob wins.

(a) Suppose that Alice has a strategy: She forms the 1-st shape with probability p1, the 2-1s1 shape with probability p2, etc. Obviously p1....Pn ∈ (0.1 and they add up to one. Bob also has a strategy according to which he forms the 1-st shape with probability the 2-nd shape with probability q2. etc. If they play according to these strategies, what is the formula for the probability that Alice wins?

(b) Alice wants to maximize the probability that she wins, and Bob wants to minimize the probability that Alice wins (thus maximize the probability that he wins). Consider now two scenarios: In the first scenario Alice chooses her strategy (i.e. pi's) first, and then announces it to Bob, and then Bob chooses his best strategy knowing Alice's strategy. In the second scenario first Bob chooses his strategy (i.e. q,'s) first and announces it to Alice. and then Alice chooses her best strategy knowing Bob's strategy. Use strong duality theorem to prove that in both scenarios Alice ends up with the same probability of winning (and consequently Bob too). In other words, prove that max min Pr(Alice wins) = min max PriAlice wins].

Reference no: EM133011220

Questions Cloud

How could metropolitan have avoided the situation : Metropolitan University Metropolitan is one of the leading universities in Victoria. As the leading university in the state, its primary goal is to provide qual
What the value of ending inventory using fifo is : The firm uses the periodic inventory system. During the year, 65 units of the item were sold. The value of ending inventory using FIFO is
What is the minimum expected annual return : If Stocks 1 and 2 have expected returns of 0.08 and 0.09 per year, respectively, then what is the minimum expected annual return for Stock 3
How much revenue does firm recognize day for a company : They always deliver equipment the day it is sold. How much revenue does the firm recognize the day the equipment is sold separately?
What are the vertices of the feasible region : What are the vertices of the feasible region - how much of each food to pack in order to minimize the weight of the food that she is going to carry
Characteristics of adult learners : What are your thoughts about the characteristics of adult learners, especially those who may not be well-prepared to enter the workforce or take on more complic
What is the cost of equity and WACC of firms : MDL has a debt of Rs.400 crore while MEL is free from debt. The cost of debt is 15%. What is the cost of equity and WACC of firms
How much consideration is allocated to the service contract : How much consideration is allocated to the service contract when both are sold together? Round to the nearest whole dollar when necessary.
Mission statements drive decision-making : 1) Discuss the extent to which mission statements drive decision-making.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd