Deck 21: Dynamic Programming

ملء الشاشة (f)
exit full mode
سؤال
Dynamic programming, when used for the shortest route problem, requires complete enumeration of paths from the beginning to ending node.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
​Finding the optimal solution to each stage of a dynamic programming problem will always lead to an optimal solution to the total problem.
سؤال
​In a production and inventory control problem, the states can correspond to the amount of inventory on hand at the beginning of each period.
سؤال
The solution of stage k of a dynamic programming problem is dependent upon the solution of stage k−1.
سؤال
​The stage transformation function identifies which state one reaches at the next stage for a given decision.
سؤال
Stage transformation functions

A) are linear.
B) calculate the return.
C) determine the output of the stage.
D) All of the alternatives are true.
سؤال
State variables are a function of a state variable and a decision.
سؤال
​In a knapsack problem, if one adds another item, one must completely resolve the problem in order to find a new optimal solution.
سؤال
State variables in a shortest route problem represent

A) decisions.
B) locations in the network.
C) the minimum distance between nodes.
D) None of the alternatives is true.
سؤال
Dynamic programming is a general approach rather than a specific technique.
سؤال
Dynamic programming is a general approach with stage decision problems differing substantially from application to application.
سؤال
​The subscripts used in dynamic programming notation refer to states.
سؤال
The stage transformation function

A) transforms the input into the output.
B) transforms a stage into a state.
C) is a different function for each stage.
D) None of the alternatives is true.
سؤال
The output of stage k is the input for stage k−1.
سؤال
In solving a shortest route problem using dynamic programming the stages represent how many arcs you are from the terminal node.
سؤال
Dynamic programming requires that its subproblems be independent of one another.
سؤال
In order to use dynamic programming, one must be able to view the problem as a multistage decision problem.
سؤال
Stages of a dynamic programming solution procedure

A) represent parts of a large mathematical model.
B) often represent a sequence of decisions made over time.
C) are usually not independent of each other.
D) All of the alternatives are true.
سؤال
Dynamic programming must only involve a finite number of decision alternatives and a finite number of stages.
سؤال
The return function for a shortest route problem refers to two directional arcs between nodes.
سؤال
​Ajax Sound is in the business of fabricating printer connection cables. They purchase 30 foot spools of wire from National Electric at $3.00 per spool and cut the wire into various lengths.

​Each length of wire is fitted with printer connector jacks at both ends and then packaged. The printer connector jacks cost $.40 per pair (one pair is used in each cable package). Packaging and labor together cost $.20 per package.

Because of Ajax's superior marketing skills they are in the enviable position of being able to sell all the printer connection cables they produce. They are currently contemplating offering four different sized cable packages:
​Ajax Sound is in the business of fabricating printer connection cables. They purchase 30 foot spools of wire from National Electric at $3.00 per spool and cut the wire into various lengths. ​ ​Each length of wire is fitted with printer connector jacks at both ends and then packaged. The printer connector jacks cost $.40 per pair (one pair is used in each cable package). Packaging and labor together cost $.20 per package. ​ Because of Ajax's superior marketing skills they are in the enviable position of being able to sell all the printer connection cables they produce. They are currently contemplating offering four different sized cable packages: ​   If unused wire from a spool can be sold for scrap at $.03 per foot, how many packages of each size cable should Ajax make from a 30-foot spool?<div style=padding-top: 35px> If unused wire from a spool can be sold for scrap at $.03 per foot, how many packages of each size cable should Ajax make from a 30-foot spool?
سؤال
The knapsack problem is to determine how many units of each item to place in the knapsack to:

A) minimize total value.
B) maximize total value.
C) minimize the number of items in the knapsack.
D) maximize the number of items in the knapsack.
سؤال
​Define the following terms as they relate to dynamic programming.
a.Stage
b.State variable
c.Stage transformation function​
سؤال
​What is the Principle of Optimality, and what is its relationship to dynamic programming?
سؤال
If x3 = t4(x4,d4) = x4 − 2d4 and r4(x4,d4) = 16d4, the subscripts refer to

A) state.
B) stage.
C) transformation.
D) return.
سؤال
Find the shortest path through the following network using dynamic programming. Find the shortest path through the following network using dynamic programming.  <div style=padding-top: 35px>
سؤال
​Explain the divide-and-conquer solution strategy of dynamic programming.
سؤال
Solutions in dynamic programming

A) are not optimal.
B) are unique.
C) represent each stage.
D) All of the alternatives are true.
سؤال
​A stage in a dynamic programming problem is defined when 2 variables and 2 functions related to that stage are defined. Identify and define the 2 variables and 2 functions and illustrate them with an example of your choice.
سؤال
A cargo company has a set of delivery patterns for its goods from its locations at city1 to a series of cities 2,3,4,5, and 6. The delivery times between cities are given I hours below. Find the shortest route. A cargo company has a set of delivery patterns for its goods from its locations at city1 to a series of cities 2,3,4,5, and 6. The delivery times between cities are given I hours below. Find the shortest route.  <div style=padding-top: 35px>
سؤال
Consider the following integer linear program
Max
5x1 + 7x2 + 9x3
s.t.
2x1 + 3x2 + 4x3 ≤ 8
x1 ≤ 3
x2 ≤ 2
x1, x2, x3 ≥ 0, integer

a.Set up the network that represents the dynamic programming formulation.
b.Solve the problem using dynamic programming.
سؤال
If x3 = t4 (x4,d4) = x4 − 2d4 and r4(x4,d4) = 16d4 the state variable is

A) t
B) x
C) r
D) d
سؤال
A return function is a value such as profit or loss associated with making decision dn at:

A) stage n for specific value of output variable xn.
B) stage n for a specific value of input variable xn.
C) stage n for a specific value of stage m.
D) input n for a specific value of output variable xn.
سؤال
​Marvelous Marvin is planning his annual "Almost Everything Must Go" inventory clearance sale. Marvin has decided to allocate 18 shelf feet to the cooking section. He is considering offering up to five items for sale in this category:
​Marvelous Marvin is planning his annual Almost Everything Must Go inventory clearance sale. Marvin has decided to allocate 18 shelf feet to the cooking section. He is considering offering up to five items for sale in this category: ​   ​ If Marvin wants at least one item A and one item B on sale, what stock should he have on sale and what is the total expected profit?<div style=padding-top: 35px>
If Marvin wants at least one item A and one item B on sale, what stock should he have on sale and what is the total expected profit?
سؤال
A driver wants to make a trip from city 1 to city 7. The road mileage between cities is given below. Find the shortest route. A driver wants to make a trip from city 1 to city 7. The road mileage between cities is given below. Find the shortest route.  <div style=padding-top: 35px>
سؤال
If x3 = t4(x4,d4) = x4 − 2d4 and r4(x4,d4) = 16d4, the stage transformation function is

A) t
B) x
C) r
D) d
سؤال
​Unidyde Corporation is currently planning the production of red dye number 56 for the next four months. Production and handling costs, as well as production and storage capacity, vary from month to month. This data is given in the table below.

Production and holding costs are in ($1,000's per batch) and production levels and storage capacities are in batches. Holding costs are based on inventory on hand at the end of the month. The number of orders for batches the sales department has received over the four-month period are also given.
​Unidyde Corporation is currently planning the production of red dye number 56 for the next four months. Production and handling costs, as well as production and storage capacity, vary from month to month. This data is given in the table below. ​ Production and holding costs are in ($1,000's per batch) and production levels and storage capacities are in batches. Holding costs are based on inventory on hand at the end of the month. The number of orders for batches the sales department has received over the four-month period are also given. ​   ​ Unidyne does not wish to have any inventory of the dye at the end of May. Its current inventory is 2 batches. Determine a production schedule for the next four months. ​<div style=padding-top: 35px>
Unidyne does not wish to have any inventory of the dye at the end of May. Its current inventory is 2 batches. Determine a production schedule for the next four months.
سؤال
We have a number of types of items to be shipped as cargo. The total available weight in the truck is ten tons. We wish to determine the number of units of items to be shipped to maximize profit. We have a number of types of items to be shipped as cargo. The total available weight in the truck is ten tons. We wish to determine the number of units of items to be shipped to maximize profit.  <div style=padding-top: 35px>
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/38
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 21: Dynamic Programming
1
Dynamic programming, when used for the shortest route problem, requires complete enumeration of paths from the beginning to ending node.
False
2
​Finding the optimal solution to each stage of a dynamic programming problem will always lead to an optimal solution to the total problem.
True
3
​In a production and inventory control problem, the states can correspond to the amount of inventory on hand at the beginning of each period.
True
4
The solution of stage k of a dynamic programming problem is dependent upon the solution of stage k−1.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
5
​The stage transformation function identifies which state one reaches at the next stage for a given decision.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
6
Stage transformation functions

A) are linear.
B) calculate the return.
C) determine the output of the stage.
D) All of the alternatives are true.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
7
State variables are a function of a state variable and a decision.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
8
​In a knapsack problem, if one adds another item, one must completely resolve the problem in order to find a new optimal solution.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
9
State variables in a shortest route problem represent

A) decisions.
B) locations in the network.
C) the minimum distance between nodes.
D) None of the alternatives is true.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
10
Dynamic programming is a general approach rather than a specific technique.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
11
Dynamic programming is a general approach with stage decision problems differing substantially from application to application.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
12
​The subscripts used in dynamic programming notation refer to states.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
13
The stage transformation function

A) transforms the input into the output.
B) transforms a stage into a state.
C) is a different function for each stage.
D) None of the alternatives is true.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
14
The output of stage k is the input for stage k−1.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
15
In solving a shortest route problem using dynamic programming the stages represent how many arcs you are from the terminal node.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
16
Dynamic programming requires that its subproblems be independent of one another.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
17
In order to use dynamic programming, one must be able to view the problem as a multistage decision problem.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
18
Stages of a dynamic programming solution procedure

A) represent parts of a large mathematical model.
B) often represent a sequence of decisions made over time.
C) are usually not independent of each other.
D) All of the alternatives are true.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
19
Dynamic programming must only involve a finite number of decision alternatives and a finite number of stages.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
20
The return function for a shortest route problem refers to two directional arcs between nodes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
21
​Ajax Sound is in the business of fabricating printer connection cables. They purchase 30 foot spools of wire from National Electric at $3.00 per spool and cut the wire into various lengths.

​Each length of wire is fitted with printer connector jacks at both ends and then packaged. The printer connector jacks cost $.40 per pair (one pair is used in each cable package). Packaging and labor together cost $.20 per package.

Because of Ajax's superior marketing skills they are in the enviable position of being able to sell all the printer connection cables they produce. They are currently contemplating offering four different sized cable packages:
​Ajax Sound is in the business of fabricating printer connection cables. They purchase 30 foot spools of wire from National Electric at $3.00 per spool and cut the wire into various lengths. ​ ​Each length of wire is fitted with printer connector jacks at both ends and then packaged. The printer connector jacks cost $.40 per pair (one pair is used in each cable package). Packaging and labor together cost $.20 per package. ​ Because of Ajax's superior marketing skills they are in the enviable position of being able to sell all the printer connection cables they produce. They are currently contemplating offering four different sized cable packages: ​   If unused wire from a spool can be sold for scrap at $.03 per foot, how many packages of each size cable should Ajax make from a 30-foot spool? If unused wire from a spool can be sold for scrap at $.03 per foot, how many packages of each size cable should Ajax make from a 30-foot spool?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
22
The knapsack problem is to determine how many units of each item to place in the knapsack to:

A) minimize total value.
B) maximize total value.
C) minimize the number of items in the knapsack.
D) maximize the number of items in the knapsack.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
23
​Define the following terms as they relate to dynamic programming.
a.Stage
b.State variable
c.Stage transformation function​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
24
​What is the Principle of Optimality, and what is its relationship to dynamic programming?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
25
If x3 = t4(x4,d4) = x4 − 2d4 and r4(x4,d4) = 16d4, the subscripts refer to

A) state.
B) stage.
C) transformation.
D) return.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
26
Find the shortest path through the following network using dynamic programming. Find the shortest path through the following network using dynamic programming.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
27
​Explain the divide-and-conquer solution strategy of dynamic programming.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
28
Solutions in dynamic programming

A) are not optimal.
B) are unique.
C) represent each stage.
D) All of the alternatives are true.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
29
​A stage in a dynamic programming problem is defined when 2 variables and 2 functions related to that stage are defined. Identify and define the 2 variables and 2 functions and illustrate them with an example of your choice.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
30
A cargo company has a set of delivery patterns for its goods from its locations at city1 to a series of cities 2,3,4,5, and 6. The delivery times between cities are given I hours below. Find the shortest route. A cargo company has a set of delivery patterns for its goods from its locations at city1 to a series of cities 2,3,4,5, and 6. The delivery times between cities are given I hours below. Find the shortest route.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
31
Consider the following integer linear program
Max
5x1 + 7x2 + 9x3
s.t.
2x1 + 3x2 + 4x3 ≤ 8
x1 ≤ 3
x2 ≤ 2
x1, x2, x3 ≥ 0, integer

a.Set up the network that represents the dynamic programming formulation.
b.Solve the problem using dynamic programming.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
32
If x3 = t4 (x4,d4) = x4 − 2d4 and r4(x4,d4) = 16d4 the state variable is

A) t
B) x
C) r
D) d
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
33
A return function is a value such as profit or loss associated with making decision dn at:

A) stage n for specific value of output variable xn.
B) stage n for a specific value of input variable xn.
C) stage n for a specific value of stage m.
D) input n for a specific value of output variable xn.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
34
​Marvelous Marvin is planning his annual "Almost Everything Must Go" inventory clearance sale. Marvin has decided to allocate 18 shelf feet to the cooking section. He is considering offering up to five items for sale in this category:
​Marvelous Marvin is planning his annual Almost Everything Must Go inventory clearance sale. Marvin has decided to allocate 18 shelf feet to the cooking section. He is considering offering up to five items for sale in this category: ​   ​ If Marvin wants at least one item A and one item B on sale, what stock should he have on sale and what is the total expected profit?
If Marvin wants at least one item A and one item B on sale, what stock should he have on sale and what is the total expected profit?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
35
A driver wants to make a trip from city 1 to city 7. The road mileage between cities is given below. Find the shortest route. A driver wants to make a trip from city 1 to city 7. The road mileage between cities is given below. Find the shortest route.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
36
If x3 = t4(x4,d4) = x4 − 2d4 and r4(x4,d4) = 16d4, the stage transformation function is

A) t
B) x
C) r
D) d
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
37
​Unidyde Corporation is currently planning the production of red dye number 56 for the next four months. Production and handling costs, as well as production and storage capacity, vary from month to month. This data is given in the table below.

Production and holding costs are in ($1,000's per batch) and production levels and storage capacities are in batches. Holding costs are based on inventory on hand at the end of the month. The number of orders for batches the sales department has received over the four-month period are also given.
​Unidyde Corporation is currently planning the production of red dye number 56 for the next four months. Production and handling costs, as well as production and storage capacity, vary from month to month. This data is given in the table below. ​ Production and holding costs are in ($1,000's per batch) and production levels and storage capacities are in batches. Holding costs are based on inventory on hand at the end of the month. The number of orders for batches the sales department has received over the four-month period are also given. ​   ​ Unidyne does not wish to have any inventory of the dye at the end of May. Its current inventory is 2 batches. Determine a production schedule for the next four months. ​
Unidyne does not wish to have any inventory of the dye at the end of May. Its current inventory is 2 batches. Determine a production schedule for the next four months.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
38
We have a number of types of items to be shipped as cargo. The total available weight in the truck is ten tons. We wish to determine the number of units of items to be shipped to maximize profit. We have a number of types of items to be shipped as cargo. The total available weight in the truck is ten tons. We wish to determine the number of units of items to be shipped to maximize profit.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 38 في هذه المجموعة.