Determine how long before agent smith will rule the world

Assignment Help Engineering Mathematics
Reference no: EM131032092

Part A-

1. Agent Smith (the character from The Matrix movies) has a special power: he can self-replicate, so if he needs to do more than one task at a time, he can create a few copies of himself and perform the tasks simultaneously (we do assume that only one Agent is needed to perform each task, and adding more of him does not shorten the time it takes to finish each task). He has been has been freed from the Machines' control and is on his way to defeat his enemies and rule the world. Some enemies can only be defeated after some other quests are finished, for example, before he can defeat the Oracle or the Architect, he has to find the Keymaker in order to be able to access their locations. The table below summaries the data:

Task Duration (hours) Rewewquisites
Become free from the machines 0 -
Defeat Trinity 2 become free
Defeat Morpheus 4 become free
Defeat The Oracle 1 become free, find the Keymaker
find the Keymaker 1 become free
Defeat the Architect 3 find the Keymaker
Defeat Neo 5 defeat Trinity, The Oracle and Morpheus
Destroy the Machines 10 defeat the Architect
Rule the World 0 defeat Neo and destroy the Machines

(a) Formulate a linear programming problem in order to determine how long before Agent Smith will rule the world.

Hint: even though the problem may look like the scheduling models that we have discussed when talking about integer programming, it is much simpler and does not require any integer variables or advanced techniques. Define variables ti representing the time each quest should be started at and determine the necessary constraints.

(b) Can you rephrase this model as a longest (or shortest) path problem? Show the corresponding graph and identify how the solution to teh longest or shortest path problem corresponds to the solution of the problem itself.

2. The Star Box Company sells boxes of seven types. They range in volume from as small as 17 to as large as 33 cubic feet. The demand and size of each box is given in Table 1. The variable cost (in dollars) of producing each box is equal to the box's volume. A fixed cost of $1000 is incurred to produce any of a particular box. If the company desires, demand for a box may be satisfied by a box of larger size. Formulate a shortest path problem whose solution will minimize the cost of meeting the demand for boxes. Identify nodes, arcs and costs.

Box 1 2 3 4 5 6 7
Size 33 30 26 24 19 18 17
Demand 400 300 500 700 200 400 200

3. Formulate the multi-commodity minimum cost flow (MMCF) problem as a linear program (with integer variables if needed). Recall that in the MMCF you are given a set of nodes N = 1, 2, ... , n and a set of arcs connecting these nodes. Each arc is associated with a cost cii and capacity u23. There are K commodities, and for each node you are given the values b2k representing the supply (or demand) of the commodity k at node i. The problem is to find a flow through this network that satisfies balancing constraints as well as combined capacity constraint that has minimum cost. Give an LP formulation for the general problem statement above.

4. For the graph below, solve minimum spanning tree problem using Prim's algorithm.

1246_Figure.png

5. Extra credit: Another simple, yet popular method for solving the minimum spanning tree problem is the Kruskal's algorithm. A detailed description can be found in Anuja's book, chapter 13.4. Alternatively, this brief wild page contains all of the information you would need for this problem: https://en.wikipedia.org/wiki/Kruskal%27s_algorithm (there also are numerous other on-line sources you could look into). Show the steps Kruskal's algorithm when applied to the graph in the previous problem.

Part B-

1. A spy wants to send a message to the headquarters, but she does not have a direct link to it. Instead, she has to send it through a network of agents. Some of the connections are not reliable and could be bugged. Suppose that you have all of the information about the structure of the network of the agents, and you also know the probability pii that the communication between agent i and j is bugged. Suppose also that these probabilities are independent, i.e., if you send a message to agent A with probability of failing 0.1 and agent A sends it to agent B with probability of failing 0.2, then the probability that the message will reach B and will not be intercepted is (1-0.1) (1-0.2) = 0.72. Given that the spy wants to minimize the probability of interception, formulate this problem as a regular shortest path problem. Give an example of a problem with at least 4 agents, draw the corresponding graph and show your solution.

2. Minimum flow problem. In a variation of the maximum flow problem in addition to upper bounds uij on the flow along each arc (i, j) (capacities) you are also given lower bounds: li,j. The problem is to find minimum flow from s to t which satisfies both lower and upper bounds on each arc, as well as flow balance constraints. Show how this problem can be solved by using two applications of any maximum flow algorithm that applies to problems with zero lower bounds on arc flows. Give an example of a network with at least seven nodes and non-trivial lij and uij illustrating your method.

3. Prove max-flow-min-cut theorem by applying strong duality of linear programming to the regular LP formulation of the maximum flow problem. By regular LP formulation I mean the formulation that is based on variables xii representing the flow along arc (i, j), which was given in class (during the discussion of LP modeling techniques). Either show the primal and dual in general, or provide the primal and dual LPs for network.

Reference no: EM131032092

Questions Cloud

Determine which swimming pool design has lower present cost : The City of Brandon is installing a new swimming pool in the municipal recreation centre. Two designs are under consideration, both of which are to be permanent (i.e., lasting forever). The first design is for a reinforced concrete pool that has a fi..
Components along the x and y axes : Problem: The device is used for surgical replacement of the knee joint. If the force acting along the leg is 360 N, determine its components along the x and y axes.
Impact on physical and sensory properties of resulting drink : Given that most, if not all, spirits are consumed with other components such as mixers, review the role of mixers and ice and their impact on the physical and sensory properties of the resulting drink.
Of the different types of agencies and the different roles : Of the different types of agencies and the different roles within those agencies which do you feel you would be most suited for? Why? Agencies are essentially marketing machines. From initial research to the final airing of a perfectly planned televi..
Determine how long before agent smith will rule the world : Agent Smith (the character from The Matrix movies) has a special power: Formulate a linear programming problem in order to determine how long before Agent Smith will rule the world
Estimate the probability that a randomly selected cell phone : Is the result very different from the probability of 0.000340 that was found for the general population? What does the result suggest about cell phones as a cause of such cancer, as has been claimed?
Many firms fail when they enter into strategic alliances : Many firms fail when they enter into strategic alliances with firms that link up with companies based in other countries. What are some reasons for this failure? Provide an example.
Air force in-production aircraft acquisition program : The program manager of an Air Force in-production aircraft acquisition program proposes a product improvement program to expand the range, altitude and payload of the aircraft beyond the currently established performance baseline (performance envelop..
Cultural values you are encompassed by in your workplace : Imagine that you are in the situation of being encouraged to inflate your expense account. Do you think your decision would be more affected by your individual moral development or by the cultural values you are encompassed by in your workplace? Expl..

Reviews

Write a Review

Engineering Mathematics Questions & Answers

  1 let a 1 2 3 na how many relations on a are both

1. let a 1 2 3 n.a how many relations on a are both symmetric and antisymmetric?b if r is a relation on a that is

  Evaluating six different investment opportunities

Trapeze Investments is a venture capital firm that is currently evaluating six different investment opportunities. There is not sufficient capital to invest in all of these, but more than one will be selected.

  The impact of the independent variable issues

What is the 95% confidence interval for the difference in the mean HDL levels between men who exercise regularly and those who do not?

  Find a recurrence relation for the number of ways

Find a recurrence relation for the number of ways to form postage of n cents with these stamps if the order that the stamps are used matters. What are the initial conditions for this recurrence relation?

  Negotiated an agreement with lighting quick intermodal

Ms. Wilson has also negotiated an agreement with Lighting Quick Intermodal, Inc. (LQI), a third-party carrier that utilizes both motor and rail transportation.

  Determining the barrel yield and per barrel cost

Incoming crude can be processed by one of three methods. The per barrel yield and per barrel cost of each processing method are shown in the following table.

  Question regarding the statcrunch

For each correlation coefficient below, calculate what proportion of variance is shared by the two correlated variables:

  Find the resulting value of the mean square error

Find the value of a which makes E[e2n+1] as small as possible and find the resulting value of the mean square error, E[e2n+1] How does this compare with the power in the original process E[X2n].

  Regression analysis- benefits and intrinsic

Run a regression analysis using the BENEFITS column of all data points in the AIU data set as the independent variable and the INTRINSIC job satisfaction column of all data points in the AIU data set as the dependent variable.

  Determine the corner points

a. Identify your variables. b. Set up the objective and constraints. c. Graph the feasible region. d. Determine the corner points. Show the algebra if solving for the intersection of lines.

  Develop a plan for purchasing and cleaning

Mary's major at State is Management Science and she wants to develop a plan for purchasing and cleaning sheets using Linear Programming. Help Mary formulate a Linear Programming Nodel for this problem and solve it using the computer.

  What initial velocity should it be hit to land in the hole

If the ball is struck and leaves the ground at an initial angle of 30 degree with the horizontal, then with what initial velocity should it be hit to land in the hole?

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