To allow the users to enforce bay assignments with this interface, we have written a SelectChange event procedure that is associated with the output sheet(see Figure CS21.28). This procedure is similar to the SelectChange event procedure associated with the first input sheet in that we have to first verify the location of the selected cell using Union functions. We first check if the users have clicked in the legend area. If so, then we record the product type that they had selected. Once a product type is selected, the users may click in the"Resolve Layout area to specify the enforcec assignments. We confirm that the next cell clicked is indeed in this layout area and reformat the selected cell with the product type's color. We also record that the selected bay has been fixed in a Boolean array called FixedBay We must ensure that the users do not specify more bay assignments than the required number of bays for the selected product type. We do so by keeping track of the number of bays that havoc bccn assigned for thc sclectcd product typc in a FixcdProd array.
CS21.6 Summary The warehouse layout model assigns bays of a warehouse to different product types in such a way that the total distance traveled to docks is minimized given the weighting of the docks to bay distances and the product demand to area ratio. This assignment is accomplished using a greedy algorithm. There are four ma spreadsheets: welcome, first input sheet, second input. sheet, and output sheet. r The user interface includes an input form, two input sheets, and several navigational and functional buttons There are several procedures for this application. They guide the user through the input sheets and implement the greedy algorithm to make the assignment. The DSS components include two resolve options: the user can either modify input values and resolve or enforce scme product type bay Assignments(or both) CS21.7 Extensions 1. Create an alternative method for sorting the items and bays according to their weights. Hint: You do not have to use arrays. 2. How could you enforce adjacent bay assignments within a product type? Create a small procedure that would enforce this. 3. What are some other problems similar to the warehouse layout problem in which this DSS may be reused with slight modifications
To allow the users to enforce bay assignments with this interface, we have written a SelectChange event procedure that is associated with the output sheet(see Figure CS21.28). This procedure is similar to the SelectChange event procedure associated with the first input sheet in that we have to first verify the location of the selected cell using Union functions. We first check if the users have clicked in the legend area. If so, then we record the product type that they had selected. Once a product type is selected, the users may click in the"Resolve Layout area to specify the enforcec assignments. We confirm that the next cell clicked is indeed in this layout area and reformat the selected cell with the product type's color. We also record that the selected bay has been fixed in a Boolean array called FixedBay We must ensure that the users do not specify more bay assignments than the required number of bays for the selected product type. We do so by keeping track of the number of bays that havoc bccn assigned for thc sclectcd product typc in a FixcdProd array.CS21.6 Summary The warehouse layout model assigns bays of a warehouse to different product types in such a way that the total distance traveled to docks is minimized given the weighting of the docks to bay distances and the product demand to area ratio. This assignment is accomplished using a greedy algorithm. There are four ma spreadsheets: welcome, first input sheet, second input. sheet, and output sheet. r The user interface includes an input form, two input sheets, and several navigational and functional buttons There are several procedures for this application. They guide the user through the input sheets and implement the greedy algorithm to make the assignment. The DSS components include two resolve options: the user can either modify input values and resolve or enforce scme product type bay Assignments(or both) CS21.7 Extensions 1. Create an alternative method for sorting the items and bays according to their weights. Hint: You do not have to use arrays. 2. How could you enforce adjacent bay assignments within a product type? Create a small procedure that would enforce this. 3. What are some other problems similar to the warehouse layout problem in which this DSS may be reused with slight modifications
การแปล กรุณารอสักครู่..
