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.
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.
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..
|