You are on page 1of 19

Microsoft Excel 14.

0 Sensitivity Report
Worksheet: [lecture6.xlsx]Diet
Report Created: 11/12/2013 7:42:07 AM
Engine: Gurobi Solver
Objective Cell (Min)
Cell
Name
$E$11 Total cost of current diet:

Final Value
92.5

Decision Variable Cells


Cell
$E$4
$E$5
$E$6
$E$7
$E$8
$E$9

Name
oatmeal
chicken
eggs
whole milk
cherry pie
pork&beans

Final
Value
4
0
0
4.5
2
0

Reduced
Objective
Allowable
Cost
Coefficient
Increase
-3.1875
3
3.1875
12.46875
24
1E+100
4
13
1E+100
0
9 2.692307692
-3.625
20
3.625
4.375
19
1E+100

Constraints
Cell
$B$24 energy
$C$24 protein
$D$24 calcium

Name

Final
Value
2000
60
1334.5

Shadow
Constraint
Price
R.H. Side
0.05625
2000
0
55
0
800

Allowable
Increase
560
5
534.5

Allowable
Decrease
1E+100
12.46875
4
1.380952381
1E+100
4.375

Allowable
Decrease
100
1E+100
1E+100

The Diet Problem


Food
oatmeal
chicken
eggs
whole milk
cherry pie
pork&beans

Cost/pckt
$ 3.00
$ 24.00
$ 13.00
$ 9.00
$ 20.00
$ 19.00

0
0
0
0
0
0

Total cost of current diet: $


Nutritional content/unit
energy
oatmeal
110
chicken
205
eggs
160
whole milk
160
cherry pie
420
pork&beans
260

protein
4
32
13
8
4
14

calcium
2
12
54
285
22
80

Nutritional content for given diet


energy protein
0
0
>=
>=
minimum
2000
55

calcium
0
>=
800

<=
<=
<=
<=
<=
<=

Limit
4
3
2
8
2
2

Microsoft Excel 14.0 Sensitivity Report


Worksheet: [lecture6.xlsx]Diet (SP for Bounds)
Report Created: 11/12/2013 7:42:16 AM
Engine: Gurobi Solver
Objective Cell (Min)
Cell
Name
$E$11 Total cost of current diet:

Final Value
92.5

Decision Variable Cells


Cell
$E$4
$E$5
$E$6
$E$7
$E$8
$E$9

Name
oatmeal
chicken
eggs
whole milk
cherry pie
pork&beans

Final
Value

Reduced
Cost
4
0
0
4.5
2
0

0
0
0
0
0
0

Objective
Allowable
Coefficient
Increase
3
3.1875
24
1E+100
13
1E+100
9 2.692307692
20
3.625
19
1E+100

Constraints
Cell
$B$24
$C$24
$D$24
$I$12
$I$13
$I$14
$I$15
$I$16
$I$17
$I$4
$I$5
$I$6
$I$7
$I$8
$I$9

Name
energy
protein
calcium
UB x1
UB x2
UB x3
UB x4
UB x5
UB x6
LB x1
LB x2
LB x3
LB x4
LB x5
LB x6

Final
Value
2000
60
1334.5
4
0
0
4.5
2
0
4
0
0
4.5
2
0

Shadow
Constraint
Price
R.H. Side
0.05625
2000
0
55
0
800
-3.1875
4
0
3
0
2
0
8
-3.625
2
0
2
0
0
12.46875
0
4
0
0
0
0
0
4.375
0

Allowable
Increase
560
5
534.5
2.756042539
1E+100
1E+100
1E+100
0.294117647
1E+100
4
1.513494381
2
4.5
2
1.395106036

Allowable
Decrease
1E+100
12.46875
4
1.380952381
1E+100
4.375

Allowable
Decrease
100
1E+100
1E+100
4
3
2
3.5
1.333333333
2
1E+100
0.229885057
1
1E+100
1E+100
2.153846154

The Diet Problem


Food
oatmeal
chicken
eggs
whole milk
cherry pie
pork&beans

Cost/pckt
$ 3.00
$ 24.00
$ 13.00
$ 9.00
$ 20.00
$ 19.00

0
0
0
0
0
0

Total cost of current diet: $


Nutritional content/unit
energy
oatmeal
110
chicken
205
eggs
160
whole milk
160
cherry pie
420
pork&beans
260

protein
4
32
13
8
4
14

calcium
2
12
54
285
22
80

Nutritional content for given diet


energy protein
0
0
>=
>=
minimum
2000
55

calcium
0
>=
800

LB x1
LB x2
LB x3
LB x4
LB x5
LB x6

0
0
0
0
0
0

UB x1
UB x2
UB x3
UB x4
UB x5
UB x6

0
0
0
0
0
0

>=
>=
>=
>=
>=
>=

LB
0
0
0
0
0
0

<=
<=
<=
<=
<=
<=

UB
4
3
2
8
2
2

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

A
B
C
Transportation Problem

To
Cust A
$15
$10

Cust B
$35
$30

Cust C
$25
$40

To
Cust A
0
0
0
>=
30

Cust B
0
0
0
>=
30

Cust C
0
0
0
>=
30

$0

1995

Total
0
0

<=
<=

Available
40
51

Unit shipping costs

From

Plant 1
Plant 2

Shipments

From

Plant 1
Plant 2
Total
Required

Total shipping cost

Problem 4.1

Transshipment Problem
Unit shipping costs
Plant 1
From

Plant 1
Plant 2
Whouse3
Whouse4
Cust5
Cust6

To
Plant 2 Whouse3 Whouse4
$8
$13
$15
$12
$6
$6

Cust5
$25
$26
$16
$14

To
Whouse3 Whouse4
0.00
0.00
0.00
0.00
0.00
0.00

Cust5
0.00
0.00
0.00
0.00

Shipments

From

Plant 1
Plant 2
Whouse3
Whouse4
Cust5
Cust6
Total inflow
Total outflow
Net inflow
Given demand

Total cost

$0.00

Plant 1

Plant 2

0.00
0.00
0.00
=
-160.00

0.00
0.00
0.00
=
-200.00

0.00
0.00
0.00
=
0.00

0.00
0.00
0.00
=
0.00

0.00
0.00
0.00
=
180.00

Cust6
$28
$25
$17
$16

Cust6
0.00
0.00
0.00
0.00

0.00
0.00
0.00
=
180.00

Total outflow
0.00
0.00
0.00
0.00
0.00
0.00

Furniture Distribution

Arc costs

1
2
3
4
5
6

Flows

4
30
10
20

3
0.00

4
0.00
0.00
0.00

40
30
30

net demand
Total

$0.00

0.00
0.00
0.00
>=
-40.00

0.00
0.00
0.00
>=
-20.00

0.00
0.00
0.00
>=
10.00

0.00
0.00
0.00
0.00

0.00
0.00
0.00
0.00
>=
-30.00

20

50

1
2
3
4
5
6
inflow
outflow
net inflow

3
20

0.00
0.00
0.00
>=
30.00

0.00
0.00
0.00
>=
40.00

outflow
0.00
0.00
0.00
0.00
0.00
0.00

Furniture Distribution
Arcs
Ship:
0
0
0
0
0
0
0
0
0

From:
1
1
2
2
3
3
4
5
5

To:
3
4
4
5
4
6
6
4
6
Total:

Cost
$20
$30
$10
$20
$20
$40
$30
$50
$30
$0

Node
1
2
3
4
5
6

inflow
0.00
0.00
0.00
0.00
0.00
0.00

outflow
0.00
0.00
0.00
0.00
0.00
0.00

Net Flow
0.00
0.00
0.00
0.00
0.00
0.00

>=
>=
>=
>=
>=
>=

Net Demand
-30
-40
-20
10
30
40

Furniture Distribution
Arcs
Ship:
0
0
0
0
0
0
0
0
0

Arc Capacities
100
10
100
100
100
10
100
100
100

From:
1
1
2
2
3
3
4
5
5

To:
3
4
4
5
4
6
6
4
6
Total:

Cost
$20
$30
$10
$20
$20
$40
$30
$50
$30
$0

Node
1
2
3
4
5
6

inflow
0.00
0.00
0.00
0.00
0.00
0.00

outflow
0.00
0.00
0.00
0.00
0.00
0.00

Net Flow
0.00
0.00
0.00
0.00
0.00
0.00

>=
>=
>=
>=
>=
>=

Net Demand
-30
-40
-20
10
30
40

Yakline

Flows
Wash, DC
Wash, DC
Chicago
Dallas
Kansas City
Denver
San Fran.
inflow
outflow
net inflow
Net demand
Max flow

Chicago
275

Dallas
700
25

Kansas City
650

Denver

San Fran.

250
725

650
900

1625
1625
1625
0
=
0

275
275
0
=
0

725
725
0
=
0

650
650
0
=
0

900
900
0
=
0

1625
1625
0
=
0

Chicago
800

Dallas
700
725

Kansas City
650

Denver

San Fran.

1625

Wash, DC
Wash, DC
Chicago
Dallas
Kansas City
Denver
San Fran.
1000000

700
725

625

750
900

outflow
1625
275
725
650
900
1625

Yakline
Arcs
Ship
275
700
650
25
250
0
650
900
725
1625

Max Flow

Maximum
800
700
650
725
700
625
750
900
725
10000000

1625

From
1
1
1
2
2
4
4
5
3
6

Wash, DC
Wash, DC
Wash, DC
Chicago
Chicago
Kansas City
Kansas City
Denver
Dallas
San Fran.

To
2
3
4
3
5
3
5
6
6
1

Chicago
Dallas
Kansas City
Dallas
Denver
Dallas
Denver
San Fran.
San Fran.
Wash, DC

Node
1
2
3
4
5
6

City
Net Flow
Wash, DC
0
Chicago
0
Dallas
0
Kansas City
0
Denver
0
San Fran.
0

=
=
=
=
=
=

Net demand
0
0
0
0
0
0

You might also like