ΠΜΣ: Μαθηματικά των Υπολογιστών και των Αποφάσεων
ΠΜΣ: Μαθηματικά των Υπολογιστών και των Αποφάσεων
ΠΜΣ: Μαθηματικά των Υπολογιστών και των Αποφάσεων
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>ΠΜΣ</strong>: Μαζεκαηηθά ηωλ Υπνινγηζηώλ θαη ηωλ Απνθάζεωλ.<br />
Μάζεκα: Επηρεηξεζηαθή Έξεπλα<br />
Αθαδεκαϊθό Έηνο: 2010-11<br />
Δηδάζθωλ: Ν. Τζάληαο<br />
Homework 2<br />
1. Αζθήζεηο: δείηε ηηο ζειίδεο 2-11 ηνπ παξόληνο.<br />
2. Πξόθεηηαη γηα αηνκηθέο αζθήζεηο νη νπνίεο ζπλεηζθέξνπλ ην 25% ηνπ ηειηθνύ ζαο βαζκνύ.<br />
3. Τν παξαδνηέν είλαη νιόζωκν θείκελν Word όιωλ ηωλ αζθήζεωλ καδί ζε ειιεληθή γιώζζα καδί<br />
κε ηα αξρεία δεδνκέλωλ ηωλ κνληέιωλ πνπ θαηαζθεπάζαηε ζην QSB (.net, ή .cpm).<br />
4. Όια ηα παξαπάλω αξρεία ζα πξέπεη λα ζπκπηπρζνύλ ζε έλα zip αξρείν θαη λα απνζηαινύλ<br />
ειεθηξνληθά (e-mail: tsantas@upatras.gr) ζηνλ δηδάζθνληα κέρξη ηελ 24.00 ηεο 12εο Ινπλίνπ<br />
2011. Σην κήλπκα πξέπεη λα αλαθέξεηε απαξαίηεηα ην νλνκαηεπώλπκό ζαο. Εξγαζίεο πνπ<br />
παξαιακβάλνληαη εθπξόζεζκα επηζύξνπλ βαζκνινγηθέο θπξώζεηο (0,5 βαζκό γηα θάζε εκεξνινγηαθή<br />
εκέξα θαζπζηέξεζεο). Εξγαζίεο πνπ ππνβάιινληαη κε θαζπζηέξεζε κεγαιύηεξε<br />
από 7 εκέξεο δελ γίλνληαη δεθηέο.<br />
5. Τν αξρείν Word ζα ην νλνκάζεηε κε ιαηηληθνύο ραξαθηήξεο "eponymo_onoma_HW2.doc".<br />
Τα αξρεία δεδνκέλωλ ζα ηα νλνκάζεηε κε ηνλ αύμνληα αξηζκό ηεο άζθεζεο πνπ αληηζηνηρνύλ<br />
(π.ρ. 01.net, 06.cpm, θιπ).<br />
6. Σην θείκελν ηεο εξγαζίαο, γηα θάζε άζθεζε, πξέπεη λα ππάξρεη κηα ελόηεηα κε ηελ ελλνηνινγηθή<br />
πξνζέγγηζε, δειαδή ηελ πεξηγξαθή ηνπ πξνβιήκαηνο θαη ηωλ ππνζέζεώλ ηνπ. Σηε<br />
ζπλέρεηα κηα ελόηεηα κε ηελ αλάπηπμε ηνπ θαηάιιεινπ κνληέινπ θαη ηέινο, κηα ελόηεηα κε ηηο<br />
απαληήζεηο ζηα ππόινηπα εξωηήκαηα ηεο άζθεζεο.<br />
7. Πίλαθεο απνηειεζκάηωλ ηνπ QSB πξέπεη λα είλαη κέξνο ηνπ θεηκέλνπ ωο εηθόλεο.<br />
8. Σηελ πξώηε ζειίδα ηεο εξγαζίαο πξέπεη λα αλαθέξεηε ην όλνκά ζαο. Οη ζειίδεο είλαη Α4,<br />
όια ηα margins 2.5, ην spacing 1.5 θαη ε γξακκαηνζεηξά Arial 12.
1. OLD DOMINION ENERGY<br />
The United States is the biggest consumer of natural gas, and the second largest natural gas producer in<br />
the world. According to the U.S. Energy Information Administration (EIA), in 2001 the U.S. consumed<br />
22.7 trillion cubic feet of natural gas. Stemming from phased deregulation, the transportation and delivery<br />
of natural gas from wellheads has grown since the '80s and there are now more than 278,000 miles of gas<br />
pipeline nationwide. With more electric power companies turning to natural gas as a cleaner-burning fuel,<br />
natural gas is expected to grow even more quickly over the next 20 years.<br />
To ensure an adequate supply of natural gas, gas storage facilities have been built in numerous<br />
places along the pipeline. Energy companies can buy gas when prices are low and store it in these<br />
facilities for use or sale at a later date. Because energy consumption is influenced greatly by the weather<br />
(which is not entirely predictable), imbalances often arise in the supply and demand for gas in different<br />
parts of the country. Gas traders constantly monitor these market conditions and look for opportunities to<br />
sell gas from storage facilities when the price offered at a certain location is high enough. This decision is<br />
complicated by the fact that is costs different amounts of money to transport gas through different<br />
segments of the nationwide pipeline and the capacity available in different parts of the pipeline is<br />
constantly changing. Thus, when a trader sees an opportunity to sell at a favorable price, he or she must<br />
quickly see how much capacity is available in the network and create deals with individual pipeline<br />
operators for the necessary capacity to move gas from storage to the buyer.<br />
Bruce McDaniel is a gas trader for Old Dominion Energy (ODE), Inc. The network in Figure 5.41<br />
represents a portion of the gas pipeline where ODE does business. The values next to each arc in this<br />
network are of the form (x,y) where x is the cost per thousand cubic feet (cf) of transporting gas along the<br />
arc, and y is the available transmission capacity of the arc in thousands of cubic feet. Note that the arcs in<br />
this network are bidirectional (i.e., gas can flow in either direction at the prices and capacities listed).<br />
FIGURE 5.41<br />
Gas pipeline network for Old<br />
Dominion Energy<br />
Bruce currently has 100,000 cf of gas in storage at Katy. Industrial customers in Joliet are offering<br />
$4.35 per thousand cf for up to 35,000 cf of gas. Buyers in Leidy are offering $4.63 per thousand cf for up<br />
to 60,000 cf of gas. Create a spreadsheet model to help Bruce answer the following questions.<br />
Given the available capacity in the network, how much gas can be shipped from Katy to Leidy?<br />
From Katy to Joliet?<br />
How much gas should Bruce offer to sell to Joliet and Leidy if he wants to maximize profits?<br />
Is Bruce able to meet all the demand from both customers? If not, why not?<br />
If Bruce wanted to try to pay more to obtain additional capacity on some of the pipelines, which<br />
ones should he investigate and why?<br />
2
2. US EXPRESS<br />
US Express is an overnight package delivery company based in Atlanta, Georgia. Jet fuel is one of the<br />
largest operating costs incurred by the company and they want your assistance in managing this cost. The<br />
price of jet fuel varies considerably at different airports around the country. As a result, it seems that it<br />
might be wise to 'fill up' on jet fuel at airports where it is least expensive. However, the amount of fuel an<br />
airliner burns depends, in part, on the weight of the plane—and excess fuel makes an airplane heavier and,<br />
therefore, less fuel-efficient. Similarly, more fuel is burned on flights from the east coast to the west coast<br />
(going against the jet stream) than from the west coast to the east coast (going with the jet stream). The<br />
following table summarizes the flight schedule (or rotation) flown nightly by one of the company's planes.<br />
For each flight segment, the table summarizes the minimum required and maximum allowable amount of<br />
fuel on board at takeoff and the cost of fuel at each point of departure. The final column provides a linear<br />
function relating fuel consumption to the amount of fuel on board at takeoff.<br />
For instance, if the plane leaves Atlanta for San Francisco with 25,000 gallons on board, it should<br />
arrive in San Francisco with approximately 25 - (3.2 + 0.45 X 25) = 10.55 thousand gallons of fuel.<br />
The company has many other planes that fly different schedules each night, so the potential cost<br />
savings from efficient fuel purchasing is quite significant. But before turning you loose on all of their<br />
flight schedules, the company wants you to create a spreadsheet model to determine the most economical<br />
fuel purchasing plan for the previous schedule. (Hint: Keep in mind that the most fuel you would purchase<br />
at any departure point is the maximum allowable fuel level for takeoff at that point. Also, assume that<br />
whatever fuel is on board when the plane returns to Atlanta at the end of the rotation will still be on board<br />
when the plane leaves Atlanta the next evening.)<br />
Draw the network diagram for this problem.<br />
Implement the model for this problem in software and solve it.<br />
How much fuel should US Express purchase at each departure point and what is the cost of this<br />
purchasing plan?<br />
3
3. THE MAJOR ELECTRIC CORPORATION<br />
Henry Lee is the Vice President of Purchasing for the consumer electronics division of the Major Electric<br />
Corporation (MEC). The company recently introduced a new type of video camcorder that has taken the<br />
market by storm. Although Henry is pleased with the strong demand for this product in the market place,<br />
it has been a challenge to keep up with MEC's distributors' orders of this camcorder. His current challenge<br />
is how to meet requests from MEC's major distributors in Pittsburgh, Denver, Baltimore, and Houston<br />
who have placed orders of 10,000, 20,000, 30,000, and 25,000 units, respectively, for delivery in two<br />
months (there is a one-month manufacturing and one-month shipping lead time for this product). MEC has<br />
contracts with companies in Hong Kong, Korea, and Singapore who manufacture camcorders for the<br />
company under the MEC label. These contracts require MEC to order a specified minimum number of<br />
units each month at a guaranteed per unit cost. The contracts also specify the maximum number of units<br />
that may be ordered at this price. The following table summarizes these contracts:<br />
MEC also has a standing contract with a shipping company to transport product from each of these<br />
suppliers to ports in San Francisco and San Diego. The cost of shipping from each supplier to each port is<br />
given in the following table along with the minimum required and maximum allowable number of<br />
shipping cartons each month:<br />
Under the terms of this contract, MEC guarantees it will send at least 20 but no more than 65<br />
shipping containers to San Francisco each month and at least 30 but no more than 70 shipping containers<br />
to San Diego each month.<br />
Each shipping container can hold 1,000 video cameras and will ultimately be trucked from the<br />
seaports on to the distributors. Again, MEC has a standing contract with a trucking company to provide<br />
trucking services each month. The cost of trucking a shipping container from each port to each distributor<br />
is summarized in the following table.<br />
As with the other contracts, to obtain the prices given above, MEC is required to use a certain<br />
minimum amount of trucking capacity on each route each month and may not exceed certain maximum<br />
shipping amounts without incurring cost penalties. These minimum and maximum shipping restrictions<br />
are summarized in the following table.<br />
4
Henry is left with the task of sorting through all this information to determine the least purchasing<br />
and distribution plan to fill the distributor's requests. But because he and his wife have tickets to the<br />
symphony for this evening, he has asked you to take a look at this problem and give him your<br />
recommendations at 9:00 tomorrow morning.<br />
Create a network flow model for this problem. (Hint: Consider inserting intermediate nodes in<br />
your network to assist in meeting the minimum monthly purchase restrictions for each supplier<br />
and the minimum monthly shipping requirements for each port.)<br />
Implement the model for this problem in software and solve it.<br />
What is the optimal solution?<br />
5
4. TURNER AIRLINES<br />
Fred Turner is a successful entrepreneur in Atlanta, Georgia who has just hit upon his next moneymaking<br />
idea. Recently, Fred was planning to fly to Washington, DC early one morning for a business meeting.<br />
Fred's own personal Leer jet happened to have a mechanical problem that morning, which forced Fred to<br />
try to book a flight on a commercial carrier. Much to his dismay, Fred learned that all the flights to DC<br />
were overbooked but he was told might be able to get a seat if he waited at the gate as a standby<br />
passenger. When Fred arrived at the gate, he was surprised to find several people waiting, hoping to get on<br />
a flight as a standby passenger.<br />
When Fred saw this situation, he immediately saw a business opportunity. He knew that the route<br />
from Atlanta to Washington, DC was a popular one as these airports are two of the busiest in the world.<br />
And the frustration he saw on the faces of those waiting in line with him convinced him that there was<br />
money to be made here. Fred knew that it would be difficult to compete head to head against the<br />
established, full-service, international airlines. But he figured he could begin a flight service to fill the<br />
niche to business travelers wanting to travel between Atlanta and DC.<br />
Fred called some of his business associates and put some people to work on this idea. A month<br />
later, their marketing research revealed that there were several times during every business day when<br />
travelers want to hop a plane going between Atlanta and DC. They also discovered that many business<br />
travelers would prefer to fly to Dulles Airport in Washington, whereas most airlines fly to Washington's<br />
Reagan Airport. The following table summarizes the flight schedules where there is considerable unmet<br />
demand and the estimate revenues and variable costs that would be incurred in operating these flights.<br />
In addition to the costs given, the airport in Atlanta charges a $600 servicing charge for planes left there<br />
overnight, whereas Dulles Airport charges $700. Of course, there are also the costs of buying or leasing<br />
aircraft, hiring pilots, etc. Before pursuing this any further, Fred wants to know if the proposed flight<br />
schedule is profitable and how many planes it would take to implement it. And he has turned to you for<br />
help.<br />
Draw the graph of the network flow problem Fred should solve to determine the minimum<br />
number of planes required to implement the proposed flight schedule in the most efficient manner.<br />
Implement the model for this problem in software and solve it.<br />
Describe the optimal solution to the problem.<br />
Suppose there was adequate demand to run two flights from Atlanta to Washington leaving Atlanta<br />
at 4 p.m. and arriving at Dulles at 6 p.m. Would this be more profitable than the current schedule?<br />
Should Fred be willing to sacrifice any of the current flights to add this second flight out of<br />
Atlanta at 4 P.M.?<br />
6
5. MANEUVERS IN THE SENATE<br />
Sherill Wiley, the only reporter from Channel Four covering United States congressional proceedings,<br />
knows that the public's perception of partisan politics in the Senate is not entirely correct. Although<br />
Republicans and Democrats are often at loggerheads over many national issues—such as the crime bill,<br />
health care reform, and others—members of the two parties frequently vote together on bills that are<br />
considered beneficial to both. Sherill was surprised at the level of cooperation between the parties when<br />
passing legislation that benefits a particular region. For example, if a Democratic senator from the west<br />
was sponsoring a bill that would provide funding to divert water from a river so that part of his sundrenched<br />
state would eventually receive it, quite a few Republican senators would vote for such a bill. The<br />
Republican senators know that when they need votes for a project that would be advantageous for their<br />
states, the Democratic senators would return the favor and vote for that bill.<br />
Richard Kennely, the leading Republican in the Senate and a strong conservative from a Midwest<br />
state, has little if any direct interaction with Robin Doll. Doll, a senator from a New England state, is the<br />
Senate's most liberal Democrat. The two senators have never served on a committee together or<br />
participated in a joint task force. Yet the two often rely on each other and their respective parties when<br />
voting on many fiscal issues.<br />
Senator Doll recently added an amendment to a finance bill that would provide funding for research<br />
on the effects of using a mouse when working on a computer. Several universities from Doll's state<br />
submitted grant proposals to do this research, citing the widespread use of the mouse and the growing<br />
number of people who complain of wrist and arm fatigue as a result. If the bill and the attached<br />
amendment pass, the universities in Doll's state would be the main beneficiaries of the funding. Sherill<br />
knows that Senator Kennely, who was recently on national television railing against what he referred to as<br />
"excessive spending for trivial research," would be the main opponent to the bill. Senator Doll cannot<br />
directly influence Senator Kennely's position or vote. But she can contact other senators with whom she<br />
has influence, pleading her case and hoping that they, in turn, will influence others who might eventually<br />
influence Senator Kennely to vote in favor of the bill.<br />
After many years as a reporter in Washington, Sherill has developed a sense of the amount of<br />
influence one senator has on another, based on party affiliation, school ties, past favors, mutual interests,<br />
and so on. She even developed a numerical system, on a scale from 0 to 10 that quantifies the amount of<br />
influence one senator has on another. A10 means that a particular senator is almost guaranteed to secure<br />
the vote of another senator and a 0 means that there is no interaction at all between two senators. Sherill<br />
created a table that shows the senators' names and the amount of influence each has on the other.<br />
Sherill saw Senators Abbott, Bartle, Crumb, Dodge, and Fernandez leave Senator Doll's office one<br />
morning last week. Looking at her influence table, she notes that Doll's influence on Abbott rates a 7, on<br />
Bartle a 6, a 9 for Crumb, only a 3 for Dodge, and a 4 for Fernandez. Later that week, Senator Abbott<br />
called in Senators Bartle and Dodge for a strategy meeting. Abbott's influence on Bartle is a 7 and on<br />
7
Dodge a 5.<br />
Bartle next met with Senators Dodge, Evans, and Fernandez. Bartle's influence rating on these<br />
senators is a 4 on Dodge and on Evans, and a 5 on Fernandez. The senators continued to hold meetings<br />
with each other and with Senators Gene and Harris. Sherill summarized the influence rating of all the<br />
senators in the following table:<br />
Sherill believes that if all the senators (other than Doll) bear at least 20 total units of influence on<br />
Senator Kennely, he would not be able to resist and he would have to vote for Senator Doll's bill. With<br />
Kennely's support, the bill would definitely pass because the rest of the Republicans and Democrats will<br />
follow their leaders.<br />
Considering the amount of networking that takes place between the senators, Sherill thinks she can<br />
build and solve a network model to predict if the bill will pass or not.<br />
Formulate a network model for Sherill and solve it. Will the bill pass? (Hint: Make a node for<br />
each senator.)<br />
8
6. THE IMAGINATION TOY CORPORATION<br />
Amy White is the director of marketing for the Imagination Toy Corporation (ITC). She just received a<br />
phone call from her boss indicating that the company's board of directors gave final approval for the<br />
production and marketing of the Mighty Morphin' Monkeys—a new product line of action play toys for<br />
ITC. Amy worked hard in developing the concept for this product line and is thrilled that her ideas will<br />
become reality. But this news also means that she must get busy developing the marketing and sales force<br />
training materials needed to launch this new product line successfully. Amy's boss wants to know how<br />
soon she can have the sales staff trained and equipped to handle the new line.<br />
The development of marketing materials and training of the sales staff for the new product line<br />
constitute a project. Amy identifies ten specific project tasks that need to be accomplished before she can<br />
roll out the marketing program for this product line. First, Amy needs to collect information about the<br />
details of the decisions made by the board of directors. She can start this task (task A) immediately, and<br />
she estimates that it will take five days to determine exactly which items and accessories will be included<br />
in the first offering of the product line. After she completes this task, she will request prototypes of all<br />
items from the engineering department (task B), which she expects will take ten working days. While<br />
waiting for the prototypes, she can begin laying out the marketing program (task C). She expects this<br />
activity to take eight days. After the prototypes (task B) are available, Amy estimates that it will take<br />
seven days to prepare instructions (task D) on the operation and use of the items in the product line and<br />
nine days to design its packaging (task E). When the marketing program (task C) is finished, it must be<br />
approved (task F) by the president of the company. Amy expects this approval to take three days.<br />
Amy plans to hold a two-day training course (task G) for the sales force once the operating<br />
instructions (task D) and the packaging design (task E) are completed. When the operating instructions<br />
(task D) are finished and the marketing plan is approved (task F), Amy will develop an information guide<br />
(task H) that the sales force can distribute to retailers. Amy expects to take eight days to complete the<br />
information guide. Also, as part of the marketing plan, Amy wants to hire a number of actors to portray<br />
Mighty Morphin' Monkeys (task I) at various promotional events around the country. Hiring and training<br />
these actors is expected to take eight days and can be done only after the marketing plan is approved (task<br />
F). Finally, after the marketing plan (task F) has been approved and the packaging for the product has<br />
been designed (task E), special point-of-sale display racks must be manufactured (task J). Amy expects<br />
this activity to take twelve working days.<br />
Develop an AON network for this problem.<br />
Calculate the earliest and latest start and finish times, the slack for each activity, and the critical<br />
activities.<br />
Identify the critical path.<br />
If Amy starts working immediately, how long will it take her to complete this project.<br />
Suppose that the engineering department can create the prototypes in only eight days if the<br />
engineers work overtime on this activity. Would this help reduce the length of time required to<br />
complete this project?<br />
9
7. A COSMETICS COMPANY<br />
A cosmetics company has identified a set of activities that must performed in order to bring a new<br />
product to market. The activities, their precedence relations, and time estimates to complete each activity<br />
(in days) are shown in the following table.<br />
Estimated Duration (days)<br />
Activity Predecessors Optimist Most Pessimist<br />
Likely<br />
A -- 0 0 0<br />
B A 10 15 20<br />
C B 15 20 22<br />
D C 21 26 30<br />
E C 15 18 23<br />
F E 13 15 17<br />
G D, F 30 38 45<br />
H G 20 25 30<br />
I G 10 15 20<br />
J G, O 11 18 22<br />
K H, I, J 23 30 45<br />
L K 22 28 39<br />
M A 120 140 180<br />
N M 13 18 22<br />
O N 15 20 25<br />
P O 10 15 20<br />
Q L, P 30 33 44<br />
R Q 5 8 11<br />
S R 10 15 25<br />
T R 13 17 19<br />
U S, T 20 25 40<br />
1. On average, how long should it take to finish the project?<br />
2. Suppose a change can be made in activity J so that it no longer requires activity O to be completed<br />
before it begins. What effect would this have on the project completion time and the criticality of<br />
each activity?<br />
Suppose that the maximum time listed for each activity is actually its normal completion time. Further<br />
assume that the maximum number of crash days per activity and cost per crash day are as follows.<br />
Activity<br />
Maximum<br />
Crash Days<br />
Crash Cost<br />
($)<br />
per Day<br />
A 0 0.0<br />
B 10 8.4<br />
C 7 3.3<br />
D 9 24.4<br />
E 8 17.0<br />
F 4 31.3<br />
G 15 13.5<br />
H 10 3.0<br />
10
I 10 10.4<br />
J 11 6.3<br />
K 22 4.5<br />
L 17 13.1<br />
M 60 18.5<br />
N 9 8.9<br />
O 10 10.9<br />
P 10 2.0<br />
Q 14 11.6<br />
R 6 3.8<br />
S 15 6.3<br />
T 6 18.0<br />
U 20 7.2<br />
3. If crashing is allowed, how quickly could the project be completed? What is the optimal cost of<br />
completing the project in the least amount of time?<br />
4. What is the optimal cost of completing the project in 320 days?<br />
11