eat fast, just better. an organic food supply network maj tony demarco maj art terry

42
Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Upload: jaxon-stallworth

Post on 30-Mar-2015

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Eat Fast, Just Better.An Organic Food Supply Network

Maj Tony DeMarcoMaj Art Terry

Page 2: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Fast Food Nation

• Americans eat ~ 25% of all meals at fast food restaurants.• Among the various reasons that Americans enjoy fast

food, the top three according to the USDA in 2006 are:

• TASTE• NUTRITION• CONVENIENCE

Page 3: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Nutrition

Health

Page 4: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Choices?

Page 5: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Possible New Alternatives

• Provide fresh, organic food in a fast food setting.

• Examine a network of organic farms and potential restaurant locations within a given state.

• Operate a network to minimize the delivery time of the food…(freshness, cost…) to find the top 3 build sites among 10 locations.

Page 6: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Maryland

Page 7: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

The FarmsFarm nodes were abstracted to zipcode locations

Page 8: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

The Potential RestaurantsPotential restaurant nodes were centered around the Baltimore and Capital Beltways

Page 9: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

0

1

234

5

67

8

9

Node

Location (Google Maps) Name Zip

0 38.833289,-76.876831 Forestville 20747

1 38.948729,-76.860352 Mitchellville 20716

2 38.993572,-76.889191 Greenbelt Park 20768

3 39.024518,-76.952362 Hillandale 20903

4 39.030919,-77.140503 North Bethesda 20852

5 38.974357,-77.180328 Potomac 20854

6 39.208847,-76.598053 Brooklyn Park 21225

7 39.254588,-76.68457 Arbutus 21227

8 39.305613,-76.743622 Woodlawn 21207

9 39.374649,-76.746368 Pikesville 21208

The Potential Restaurants

Page 10: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

The NetworkThe arcs, from all farms to potential restaurants, are the travel times along state roads.

Page 11: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Complete Bipartite Graph

Restaurant 1

Restaurant 2

Farm 1

Farm 2

Farm …

Page 12: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Some More Information

• Only 3 restaurant nodes are within the budget for final construction.

• Each restaurant must be supplied with Meat, Dairy and Produce.

• Farms may produce 1, some or all of the necessary supplies.

• The operator seeks to minimize time.

Page 13: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Attacks?A very large corporate fast food provider is aware of the potential competition and has successfully lobbied the MD state and federal government into instituting organic food inspections. Such inspections will delay food shipment times from inspected farms.

Page 14: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

The Model

• Inner Problem– Minimize the total transit time of the supply

network.– Subject to:• The total number of restaurants that can be built within

budget.• Each restaurant must receive a supply of each type

(produce, meat/poultry and dairy).

Page 15: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

The Model

• Outer Problem– Maximize the solution to the inner problem.– Subject to:• There is a maximum of one inspection station for each

farm.• The total number of inspection stations must not

exceed a certain number.

Page 16: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Mathematical Formulation

• SETS– r R potential restaurant locations– f F farm locations– g G food type, G =

{‘produce’,’meat/poultry’,’dairy’}

Page 17: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Mathematical Formulation cont…

• GIVEN DATA– tfr transit time from farm f to

restaurant r [seconds]– pfg 1 if farm f can produce food

type food g, 0 otherwise– delay inspection station delay

[seconds]– restaurants number of restaurants to

build– stations number of inspection stations

Page 18: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Mathematical Formulation cont…

• DECISION VARIABLES– br 1 if build on restaurant location r,

0 otherwise– sfrg 1 if farm f provides restaurant r

with food type g, 0 otherwise– if 1 if there is an inspection i

station for farm f, 0 otherwise

Page 19: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Mathematical Formulation cont…

• INNER PROBLEM

,, ,

min ( · )fr f frgb s

f r g

t delay i s

s.t. rr

b restaurants

, ,frg fgs p r f g

,frg rf

s b g r

Page 20: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Mathematical Formulation cont…

• OUTER PROBLEM

max [solution to inner problem]i

s.t 1fi f

ff

i stations

Page 21: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Mathematical Formulation cont…

• Notice the inner problem is not an LP but a MIP

• The dual-trick not used to solve the max-min problem.

• Bender's decomposition.

Page 22: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Bender’s Algorithm • 1) Set UB= “+infinity,” LB= “-infinity,” X=0. • 2) Solve inner problem to get s variables and optimal objective, obj,

corresponding to attack X. • 3) If obj>LB then set LB=obj, record X*=X as current incumbent attack. • 4) Add new cut to outer problem based on optimal flows s from (2). • 5) Solve master problem to get attack X and objective master_obj

corresponding to all flows so far. • 6) If master_obj<UB then set UB=master_obj. • 7) If LB>UB then goto (2). • 8) Set X=X*, Solve inner problem for flows s* and objective (=LB)

corresponding to attack X*. • 9) Report X* as optimal attack, and corresponding coefficients s*, with value

obj.

Page 23: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

GAMS Bender’s Implementationset iter the iteration in Bender's algorithm /iter1*iter50/;

set cutset(iter) a dynamic set which will define the new constraint for the iter;

parameters coeff(iter,f,r,g) this corresponds to the s vector for the inner solution x(f) current attack plan;

equations constraint(iter) total_stations;

constraint(cutset).. master_obj =l= sum((f,r,g),(arcdata(f,r,'time')+delay*i(f))*coeff(cutset,f,r,g));

total_stations.. sum(f,i(f)) =l= stations;

Page 24: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

GAMS Bender’s Implementationub = INF;lb = -INF;converged = 0;loop(f,ibar(f)=0);loop(f,x(f)=0);cutset(iter)=no;

loop(iter$(not converged), solve InnerProblem minimizing obj using MIP; if(obj.l>lb,lb=obj.l; loop(f,x(f)=ibar(f))); cutset(iter)=yes; loop((f,r,g),coeff(iter,f,r,g)=s.l(f,r,g)); solve OuterProblem maximizing master_obj using MIP; if(master_obj.l<ub,ub=master_obj.l); if(lb>=ub,converged=1); loop(f,ibar(f)=i.l(f)););

loop(f,ibar(f)=x(f));solve InnerProblem minimizing obj using MIP;

Page 25: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Analysis

• What locations are best with no attacks?

• With attacks? Attacks increased in intensity from 1 to 6 hour inspections, ranging from 1 to 12 sites being inspected.

• What are the best build (most resilient) sites?

Page 26: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

No Attacks…• Solution to Inner Problem with no inspection stations...

• Build at Mitchellville• Shipping PRODUCE from Woodmore_Farms• Shipping MEAT_POULTRY from Good_Fortune_Farm• Shipping DAIRY from Maryland_Sunrise_Farm_LLC• Build at Hillandale• Shipping PRODUCE from Organic_Acres• Shipping MEAT_POULTRY from Nicks_Organic_Farm_LLC• Shipping DAIRY from Maryland_Sunrise_Farm_LLC• Build at Potomac• Shipping PRODUCE from Nicks_Organic_Farm_LLC• Shipping MEAT_POULTRY from Nicks_Organic_Farm_LLC• Shipping DAIRY from Castle_Henry_Farm• Total shipping time: 12258.00 ~ 3.4 hours

Page 27: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

1 Attack…• Solution to Problem with 1.00 inspection stations• Place inspection stations at:• Nicks_Organic_Farm_LLC

• Build at Mitchellville• Shipping PRODUCE from Woodmore_Farms• Shipping MEAT_POULTRY from Good_Fortune_Farm• Shipping DAIRY from Maryland_Sunrise_Farm_LLC• Build at Hillandale• Shipping PRODUCE from Organic_Acres• Shipping MEAT_POULTRY from Maryland_Sunrise_Farm_LLC• Shipping DAIRY from Maryland_Sunrise_Farm_LLC• Build at Pikesville• Shipping PRODUCE from Rocky_Knoll• Shipping MEAT_POULTRY from Maryland_Sunrise_Farm_LLC• Shipping DAIRY from Bellevale_Farms_Inc• Total shipping time: 15312.00 ~ 4.25 hours

Page 28: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

2 Attacks…• Solution to Problem with 2.00 inspection stations• Place inspection stations at:• Maryland_Sunrise_Farm_LLC• Nicks_Organic_Farm_LLC

• Build at Hillandale• Shipping PRODUCE from Organic_Acres• Shipping MEAT_POULTRY from Good_Fortune_Farm• Shipping DAIRY from Castle_Henry_Farm• Build at Woodlawn• Shipping PRODUCE from Rocky_Knoll• Shipping MEAT_POULTRY from Country_Pleasures_Farm• Shipping DAIRY from Bellevale_Farms_Inc• Build at Pikesville• Shipping PRODUCE from Rocky_Knoll• Shipping MEAT_POULTRY from Country_Pleasures_Farm• Shipping DAIRY from Bellevale_Farms_Inc• Total shipping time: 19155.00 ~ 5.32

Page 29: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Operator Resilience Curve

0 1 2 3 4 5 6 7 8 9 10 11 120

10000

20000

30000

40000

50000

60000

70000

80000

90000

Inspection Site Effectiveness

1 Hour2 Hour3 Hour4 Hour5 Hour6 Hour

Number Of Inspection Sites

Dela

y

Page 30: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Frequency of Potential Build Sites with Varying Delays

Fores

tville

Mitchell

ville

Greenbelt

_Park

Hillandale

North_B

ethesd

a

Potomac

Brookly

n_Park

Arbutus

Woodlaw

n

Pikesvi

lle0

2

4

6

8

10

12

14

1 Hour Delay2 to 6 hour delay

Page 31: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Total Frequency of Potential Build Sites

Fores

tville

Mitchell

ville

Greenbelt

_Park

Hillandale

North_B

ethesd

a

Potomac

Brookly

n_Park

Arbutus

Woodlaw

n

Pikesvi

lle0

10

20

30

40

50

60

Frequency

Page 32: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Top Four Sites

0

1

234

5

67

8

9

Node

Location (Google Maps) Name Zip

0 38.833289,-76.876831 Forestville 20747

1 38.948729,-76.860352 Mitchellville 20716

2 38.993572,-76.889191 Greenbelt Park 20768

3 39.024518,-76.952362 Hillandale 20903

4 39.030919,-77.140503 North Bethesda 20852

5 38.974357,-77.180328 Potomac 20854

6 39.208847,-76.598053 Brooklyn Park 21225

7 39.254588,-76.68457 Arbutus 21227

8 39.305613,-76.743622 Woodlawn 21207

9 39.374649,-76.746368 Pikesville 21208

Page 33: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Graphic Visualization of Attacks

Page 34: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Some Attack Characteristics

• The network seeks to make use of close, multi-item producers.

• Attacks on farms that deliver multiple items are the most effective at interfering with the network.

• Protecting them is important. How?

Page 35: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Network Solution Under 7 Attacks

Page 36: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

8 New Attack Placements

Page 37: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Updated Solution

Page 38: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Recommended Build Sites

Node

Location (Google Maps) Name Zip

0 38.833289,-76.876831 Forestville 20747

1 38.948729,-76.860352 Mitchellville 20716

2 38.993572,-76.889191 Greenbelt Park 20768

3 39.024518,-76.952362 Hillandale 20903

4 39.030919,-77.140503 North Bethesda 20852

5 38.974357,-77.180328 Potomac 20854

6 39.208847,-76.598053 Brooklyn Park 21225

7 39.254588,-76.68457 Arbutus 21227

8 39.305613,-76.743622 Woodlawn 21207

9 39.374649,-76.746368 Pikesville 212080

1

234

5

67

8

9

Page 39: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Other Considerations

• Effects of different minimum product delivery times?– We were unable to implement this correctly. It would

make for an interesting follow-on analysis.• Effects of customer volume in the model:– Suppose it is known that customer flow in locations is

projected with an accepted accuracy. – Costumer flow will directly impact profitability.– Arcs to those more profitable restaurants are now offset

by a number corresponding to the projected profitability of the restaurant.

Page 40: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Effects

• Making Forestville, Artibus and Woodlawn our top three respective forecasted profit makers:

Fores

tville

Mitchell

ville

Greenbelt

_Park

Hillandale

North_B

ethesd

a

Potomac

Brookly

n_Park

Arbutus

Woodlaw

n

Pikesvi

lle0

2

4

6

8

10

With

Fores

tville

Mitchell

ville

Greenbelt

_Park

Hillandale

North_B

ethesd

a

Potomac

Brookly

n_Park

Arbutus

Woodlaw

n

Pikesvi

lle012345678

Without Profit Adjustment

*Limits the usefulness of total shipping time as a cost factor

Page 41: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Conclusion

• The Network provides an adequate abstraction to study respective delays between certain locations.

• The inner problem being a MIP makes for a much more computationally expensive model.

• Min Cost flow should be further explored in the context of the problem, where build site construction is attacked, rather than the farms.

• How does the adjacency of restaurants affect the model?

Page 42: Eat Fast, Just Better. An Organic Food Supply Network Maj Tony DeMarco Maj Art Terry

Questions/Discussion