InOpe - 6 - Dynamic Programming Exercises To Submit
InOpe - 6 - Dynamic Programming Exercises To Submit
Consider the following network, where each number along a link represents
the actual distance between the pair of nodes connected by that link. The
objective is to find the shortest path from the origin to the destination.
a) What are the stages and states for the dynamic programming
formulation of this problem?
for for four of the nodes; then solve for and fill
in and Draw an arrowhead that shows the optimal link to
traverse out of each of the latter two nodes. Finally, identify the
optimal path by following the arrows from node O onward to node T.
2. The owner of a chain of three grocery stores has purchased five crates of
fresh strawberries. The estimated probability distribution of potential sales of
the strawberries before spoilage differs among the three stores. Therefore,
the owner wants to know how to allocate five crates to the three stores to
maximize expected profit. For administrative reasons, the owner does not
wish to split crates between stores. However, he is willing to distribute no
crates to any of his stores. The following table gives the estimated expected
profit at each store when it is allocated various numbers of crates:
Use dynamic programming to determine how many of the five crates should be
assigned to each of the three stores to maximize the total expected profit.
even bet that he will win; the amount bet can be any quantity of his choice
between zero and the amount of money he still has left after the bets on the
preceding matches. For each match, the probability is that he will win the
match and thus win the amount bet, whereas the probability is that he will
lose the match and thus lose the amount bet. He will begin with $75, and his
goal is to have $100 at the end. (Because these are friendly matches, he
does not want to end up with more than $100.) Therefore, he wants to find
the optimal betting policy (including all ties) that maximizes the probability
that he will have exactly $100 after the three matches.
Use dynamic programming to solve this problem.
1.
2.
3.
4.
5. The probability of winning the bet using the policy given above is 160/243.