Concept explainers
Explanation of Solution
Given:
Let
The total cost of the pig valve can be obtained from the cost of each value for each supplier when the number of valves are
The objective function can be
Considering the constraints,
Constraint 1: At least 500 large valves must be purchased with each supplier.
Constraint 2: At least 300 medium valves must be purchased with each supplier.
Constraint 3: At least 300 small valves must be purchased with each supplier.
Constraint 4: At least 700 small valves must be purchased from each supplier.
Expressing the constraint 1 in terms of
Expressing the constraint 2 in terms of
Expressing the constraint 3 in terms of
Trending nowThis is a popular solution!
Chapter 3 Solutions
Operations Research : Applications and Algorithms
- Duyong Beach Resort is a contemporary hotel that offers rooms with private balconies that face the sea. Your company has obtained a contract from Duyong Beach Resort to design, maintain and update their online reservation system. All room's prices are subjected to tax and service charge. Therefore, total room price must include 6% of tax and 10% of service charge. Table 1 lists price per night, tax, and service charge for all type of rooms. (b) Room Type Standard (S) Deluxe (D) Family (F) (c) (a) float calculate_basicPrice (char roomType, int night) ● You have been assigned to create and implement this task using C program. You have been instructed to include the following functions: Table 1: List of Price for All Rooms Price per Night Tax Charge RM 230.00 RM 300.00 RM 420.00 accept roomType and reservation duration (night) from main function calculates basic room price for number of night(s) entered according to Table 1 return basic room price to main function void calculate_charges…arrow_forwardQ4 There are 9 workers for ASH Development Sdn. Bhd. Unfortunately, there are only 4 rooms available for these workers. Every week, a worker name is randomly selected to do odd jobs for the company. When a worker has been selected randomly, a these rooms are full. Based on Figure Q4, worker's ID number 0 (Umar) is randomly selected for the first week, and the 4 boxes represent 4 rooms for as shown in Table Q4. room needs to be vacated if workers. Table Q4 Worker's ID Worker's Name Umar 1. Lukman Arif Yusuf Anas Muadz Aleef Hafiz 8. Amir 9. Taufik WI 4 6 2 9. 4 1 3 8 D R2 R3 R4 W W W1 w1 Wi w1 W1 w1 w1 wi Wi W1 2 3 4 56 78 9 1 2 3 4 5 6 8 9 Figure Q4 Investigate the number of page faults occur by illustrating the way how the room is managed using the list of weekly random selection of workers as shown in Figure Q4 using the following algorithms: (a) Optimal Page Replacement (OPR) replacement algorithm 2. RRRarrow_forwardA company manufactures 3 products in 2 different factories. The cost of production and time required for production for each product varies depending on which factory produces it. The time and cost required for production of each product in each factory is provided in the tables in this worksheet. Demand for products 1, 2 and 3 are 200, 240 and 100 units, respectively. There are a total of 3,000 hours available in each factory. Additionally, at least 60% of the total units of Product 1 must be produced in Factory A, and at least 40% of of the total units of Product 2 must be produced in Factory B. Create a linear programming model and use the Solver add-in to determine the optimal production plan that will minimize total cost. Note: The cost is per unit not per hour. All demand must be met.arrow_forward
- Do a normalization from 1NF to 3NF based on the table belowarrow_forwardBefore 350 companies are awarded ISO 9002, few officers are assigned to check all the items manufactured by the companies. After the inspection, the officers prepared a report as follows: 8. x companies had non-defective(N) items only, y companies had partially defective(P) items only, 26 companies had defective (D) items only, 60 companies had non-defective and partially defective items 45 companies had non-defective and defective items 75 companies had defective and partially defective items 15 companies had non-partially and defective items Represent the above information in a Venn diagram. (i) If the number of company that had non-defective items is more by 10 than those companies that had partially defective items, derive a pair of simultaneous equations in x and y. (ii) Solve the equations in (i). (iii) Find the number of companies that had non-defective or defective items.arrow_forwardOne hundred students were asked whether they had taken courses in any of the three subjects, Mathematics, Computer Science and Information Technology. The results were given below. 45 had taken Mathematics; 18 had taken Mathematics and Computer Science; 38 had taken Computer Science; 21 had taken Information Technology; 9 had taken Mathematics and Information Technology.; 4 had taken Computer Science and Information Technology and 23 had taken no courses in any of the subjects. Draw a Venn diagram that will show the results of the survey.arrow_forward
- Hanifitri Accessories is a boutique that sells muslimah fashion shawls in Kangar. Your company has obtained a contract from Hanifitri Accessories to design, maintain and update their online system regularly. This company would like to give their customer special discount rates for all types of shawls in month of April 2016 if they purchase using the online system. The discount rates are listed in Table 1 below. All the purchase are subjected to Good and Service Tax (GST). Therefore, total purchase price must include 6% of GST. Table 1: List of special price for April and GST rates Shawl Type Price Discount GST Rates [Jenis shawl] [Harga] (Diskaun] (Kadar GST) RM50.00 10% 6% RM100.00 20% 6% RM150.00 30% 6% The input and output of the program should be as follows: Welcome to Hanifitri Accessories Please enter shawl code : S Please enter the quantity : 4 Purchase Details Shawl Type : S Purchase Quantity : 4 Discounted Price : RM 180.00 GST : RM 10.80 Total Price : RM 190.80 Press Any…arrow_forwardIt takes your firm 2 days to prepare and mail out the monthly statements to your customers. On average, the mail time between your firm and your customers is 4.5 days. It takes your firm an average of 2.5 days to process customer payments once they are received. Customer cheques take an average of 1 day to clear the bank. What is your total collection time?arrow_forward(a) Write a formula in cell F24 to compute the # of hours the firm rented the server. The number of hours rented = (Returned Date & Time - Rented Date and Time) * 24. Copy the formula to F25 to F41. (b) Using VLOOKUP, write a formula in cell G24 to find the rate per hour from Table 8 for the given server size. Copy the formula to G25 to G41. (c) Using IF and VLOOKUP functions, write a formula in cell H24 to find the spot server's discount rate. For on-demand servers, the discount rate is 0%. Copy the formula to H25 to H41.arrow_forward
- You are a manager of a restaurant and have observed that on average 36 customers per hour arrive and there are typically 16 customers in the restaurant. What is the average length of time each customer spends in the restaurant? (Please show your work.)arrow_forwardMuscat Special Cleaning Service company has been providing building maintenance and cleaning service for their customers in Muscat. The company decides the monthly maintenance cost for their customers based on the total square foot of the building. The cost is shown in the following table. Square Foot of the building Maintenance Cost >= 15000 100 Rials per month < 15000 40 Rials per month The total maintenance cost per month is calculated based on the maintenance cost of the building and material cost based on the formula shown below: Total maintenance cost = maintenance cost + material cost Write a Python program named buildingservice.py that should take two inputs: the square foot of the building and material cost for 5 customer's buildings and store them in two different lists. The program has to calculate the total maintenance cost for each customer building and store them in a list. Finally, your program has to display total maintenance cost for 5 customers and maximum total…arrow_forwardDetailed answerarrow_forward
- Operations Research : Applications and AlgorithmsComputer ScienceISBN:9780534380588Author:Wayne L. WinstonPublisher:Brooks ColeA Guide to SQLComputer ScienceISBN:9781111527273Author:Philip J. PrattPublisher:Course Technology PtrNp Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:Cengage