
How to draw a network model?
How to draw a network model for a distributon problem?
A water company ships bottled water by truck from two factories to three cities. Information about the supply at each factory and the demand at each city is given below,in tonnes per day. It is possible to ship fractions of a tonne,that is,the manufacturer is not restricted to integer-valued shipping quantities.
Factory:
A
B
Supply (tonnes):
50
70
City:
1
2
3
Demand (tonnes):
30
60
40
Shipping Costs in dollars per tonne are given
Factory A:
TO City 1:7
TO City 2:8
TO City 3:6
Factory B:
to City 1:9
to City 2:3
to City 3:4
I was wondering how to draw the network model for this distribution problem.
I googled my question and nothing really came up,so if you can offer any help,thank you!!!
I am not sure how it may be solved as a network modeling problem. But I think you can definitely solve it as a linear programming (optimization) problem.
Let a1,a2,a3 be the respective amount shipped to Cities 1,2,3 from factory A and
b1,b2,b3 be the respective amount shipped to Cities 1,2,3
Then we want to minimize the total shipping costs,
i.e.,
7 a1 + 8 a2 + 6 a3 + 9 b1 + 3 b2 + 4 b3
subject to the constraints that
a1 + a2 + a3 <= 50 (the maximum that factory A can produce)
b1 + b2 + b3 <= 70 (the maximum that factory B can produce)
and
a1 + b1 >= 30 (enough to satisfy the demand of City 1)
a2 + b2 >= 60 (enough to satisfy the demand of City 2)
a3 + b3 >= 40 (enough to satisfy the demand of City 3)
we also need to make sure a1,a2,a3,b1,b2,b3 are non-negative also.
Solving this linear programming problem (you can use any software to solve it. Personally,I like cvx,a matlab optimization package by Stanford):
cvx_begin
variable a(3)
variable b(3)
minimize(7*a(1) + 8 *a(2) + 6 * a(3) + 9 * b(1) + 3 * b(2) + 4 * b(3));
subject to
a(1) + a(2) + a(3) <= 50;
b(1) + b(2) + b(3) <= 70;
a(1) + b(1) >= 30;
a(2) + b(2) >= 60;
a(3) + b(3) >= 40;
a >= 0;
b >= 0;
cvx_end
btw,I just realize that your problem is ill-posed. You total supply (50+70=120) is smaller than your total demand (30+60+40=130). I guess you may want to double check your question. Assuming that you can afford a larger supply (let say double). We have
cvx_begin
variable a(3)
variable b(3)
minimize(7*a(1) + 8 *a(2) + 6 * a(3) + 9 * b(1) + 3 * b(2) + 4 * b(3));
subject to
a(1) + a(2) + a(3) <= 100;% double the allowed supply
b(1) + b(2) + b(3) <= 140;
a(1) + b(1) >= 30;
a(2) + b(2) >= 60;
a(3) + b(3) >= 40;
a >= 0;
b >= 0;
cvx_end
This gives us a1=30,a2=0,a3=0 and b1=0,b2=60,b3=40. In other words,city 1 should get water from factor A and cities 2 and 3 should get water from factor B entirely.
Star Trek The Next Generation Mission Logs Year 4 CGI Ships
Chinese junk,starboard broadside Photo Mugs Scale circa 1 20. Full hull model of a type of Northern Chinese junk known as an Antung Trader,built plank on frame. The model is built from drawings and measurements made by the donor,Commander D. W. Walters RN,RTD,in Hong Kong harbour in 1938….. |
Naseby,80-86 guns Photo Mugs Scale 1 48. Navy Board skeleton model thought to be the Naseby (1655),an 80-86 gun ship,three-decker ship of the line. Model is decked and rigged and is plank on frame. Made using contemporary drawings of the ship combined with her recorded dimensions. The lines were taken from an English three-decker model of similar date in the Maritime Museum,Stockholm,Sweden. This model was formerly in the… |
Naseby,80-86 guns Photo Mugs Scale 1 48. Navy Board skeleton model thought to be the Naseby (1655),an 80-86 gun ship,three-decker ship of the line. Model is decked and rigged and is plank on frame. Made using contemporary drawings of the ship combined with her recorded dimensions. The lines were taken from an English three-decker model of similar date in the Maritime Museum,Stockholm,Sweden. This model was formerly in the… |
Belkin Conserve Switch,Energy-Saving Surge with Remote $29.99 Belkin F7C01008Q Surge Suppressor F7C01008Q Surge Suppressors… |
Belkin Conserve Insight Energy-Use Monitor $26.99 Find out how much energy your devices really use. The Belkin Conserve Insight Energy Monitor lets you to understand the impact of your energy use on your electric bill –and on the environment. See at a glance the cost of operation,watts,and the amount of carbon dioxide associated with the electricity consumed. Plug this device into a three-prong grounded wall outlet,plug your electrical produc… |
Tripp Lite PS3612 Multiple Outlet Strip 15-Amp 12 outlets 15ft Cord $35.85 12 outlet 15 ampsMultiple outlets wherever neededDesigned for vertical or horizontal power distributionTransparent on/off switch cover prevents accidental shutoffLifetime product warranty… |
Original Brand New Airbrush Stencils 102 Temporary Tattoos Designs Design Book 15 Profession Popular Hot Stylish Style Design Pattern $23.49 Now we are offering a brand new professional 102 Designs of Tattoo Airbrush Stencil Book at an unbeatable price. With this durable computer stencil book you can do your airbrush work more conveniently. The stencils can make images clear and can be used repeatedly! 102 designs to choose for your professional airbrushing work. Save much time than handmade drawing when using our tattoo airbrushing st… |
Rare Airbrush Stencils 100 Temporary Tattoos Designs Design Book 7 Profession Popular Hot Stylish Style Design Pattern $22.49 Now we are offering a brand new professional 100 Designs of Tattoo Airbrushing Stencil Book at an unbeatable price. With this durable computer stencil book you can do your airbrushing work more conveniently. The stencils can make image clearly and can be used repeatedly! 100 designs to choose for your professional airbrushing work. Save much time than handmade drawing when using our tattoo airbrus… |
Unique Airbrush Stencils 100 Temporary Tattoos Designs Design Book 8 Profession Popular Hot Stylish Style Design Pattern $22.49 Now we are offering a brand new professional 100 Designs of Tattoo Airbrushing Stencil Book at an unbeatable price. With this durable computer stencil book you can do your airbrushing work more conveniently. The stencils can make image clearly and can be used repeatedly! 100 designs to choose for your professional airbrushing work. Save much time than handmade drawing when using our tattoo airbrus… |
Tripp Lite TLM825GF 8-Outlet Safety Power Strip with GFCI Plug and Metal Housing (25ft Cord,OSHA Yellow) $49.69 This Tripp Lite power strip is designed to safely distribute power to connected equipment in harsh environments. It provides a convenient source for multiple outlets wherever they”re needed. 8 outlets distribute AC power to a wide range of power tools,pumps,machinery,air compressors and more. Convenient transformer outlets accommodate multiple transformers without blocking other outlets. A 25 … |