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

  Prime number theorem

Dirichlet series

  Proof of bolzano-weierstrass to prove the intermediate value

Every convergent sequence contains either an increasing, or a decreasing subsequence.

  Antisymmetric relations

How many relations on A are both symmetric and antisymmetric?

  Distributed random variables

Daily Airlines fies from Amsterdam to London every day. The price of a ticket for this extremely popular flight route is $75. The aircraft has a passenger capacity of 150.

  Prepare a system of equations

How much money will Dave and Jane raise for charity

  Managing ashland multicomm services

This question is asking you to compare the likelihood of your getting 4 or more subscribers in a sample of 50 when the probability of a subscription has risen from 0.02 to 0.06.]  Talk about the comparison of probabilities in your explanation.

  Skew-symmetric matrices

Skew-symmetric matrices

  Type of taxes and rates in spokane wa

Describe the different type of taxes and their rates in Spokane WA.

  Stratified random sample

Suppose that in the four player game, the person who rolls the smallest number pays $5.00 to the person who rolls the largest number. Calculate each player's expected gain after one round.

  Find the probability density function

Find the probability density function.

  Develop a new linear programming for an aggregate production

Linear programming applied to Aggregate Production Planning of Flat Screen Monitor

  Discrete-time model for an economy

Discrete-time model for an economy

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