Table 2.
Algorithm for finding and in the modified (s, S) policy
Algorithm for finding and in the modified (s, S) policy | |
---|---|
Step 0: | Initialization. , , , , and . |
Step 1.1: | For , calculate by (EC.22) in the online appendix. |
Step 1.2: | Given , and , where |
is calculated as in Case 6. Then, go to Step 2.1. | |
Step 2.1: | For , calculate by |
(EC.14) in the online appendix. | |
Step 2.2: | Given , and , where |
is calculated as in Case 4. Then, go to Step 3.0. | |
Step 3.0: | If , go to Sept 3.1; |
Else go to Step 3.3. | |
Step 3.1: | For , calculate by (EC.19) in the online appendix. |
Step 3.2: | Given , and , where |
is calculated as in Case 5. Then, go to Step 4.1. | |
Step 3.3: | For , calculate by (1). |
Step 3.4: | Given , and , where |
is calculated as in Case 1. Then, go to Step 4.1. | |
Step 4.1: | For , calculate by ((EC.8) in the |
online appendix. | |
Step 4.2: | Given , and , where |
is calculated as in Case 2. Then, go to Step 5. | |
Step 5: | , , and . |