hw2: sensitivity function. Here is how it should work: You pass
it a list of options, just as with decide. sensitivity then simulates
ten different decisions by varying one of the five numeric assumptions
either up or down. It applied a given variation to each option, and
then runs decide on that new option pair. It might make sense for
sensitivity first to call decide with no variation, to establish a base
case.
So you might have the following series of calls within sensitivity:
- decide(optOH, OptSC)
- decide(optOHlowcost, OptSClowcost)
- decide(optOHhighcost, OptSChighcost)
- decide(optOHlowdiscount, OptSClowdiscount)
- decide(optOHlowcostpercar, OptSClowcostpercar)
- usw. (etc.)
This is a first level approach. You could add more sophistication by
calculating the correlations among the variations. You could also include
the probabilities of each scenario and then calculate an expected value
for all possibilities, if that makes sense.
Finally, you need to be prepared to take handle other options, besides
the ones specified. For example, you could have two Ohio plant options,
one of which is the given one, and another with a lower cost factory that
produces fewer cars.
Lecture