Solve the above problems using MILP and Gurobi. Provide Gurobipy code separately for each problem. 1.1. ABC
Fantastic news! We've Found the answer you've been seeking!
Question:
Provide Gurobipy code separately for each problem.
Transcribed Image Text:
1.1. ABC Wholesales stores FMCG products and supplies them to other wholesalers. It sources the products from 5 dealers in the city. The products it deals with are: Mosquito Repellent (Repellent), Dishwashing Soap (Soap). Laundry Detergent (Laundry), Biscuits, Chips and Dahl. It orders the products once a month. Last month, all the stock was sold and the warehouse is now empty. This month, it needs 200 mosquito repellents, 700 units of Dishwashing Soap, 350 Detergents, 1200 biscuit packets, 1090 chips packets and 1000 packets of Dahl. The following dealers supply those products at the following prices (in Rs. Per unit): (Assume the dealers have an unlimited quantity of each product.) Repellent Soap Laundry Biscuits Chips Dahl Dealer 1 100 28 182 15 60 120 Dealer 2 99 25 190 14 65 115 Dealer 3 98.5 26 192 13.5 64 119.1 Dealer 4 105 27 191 14.2 62 118 Dealer 5 97 27 180 13.1 61 114.5 The transportation cost is also billed to ABC. Regardless of the number of units transported, the dealers have the following truck costs for transporting to ABC: Dealer 1 Dealer 2 Dealer 3 Dealer 4 Dealer 5 2000 2500 2400 2300 3000 The dealers use hired labour, paid by the no. of units packaged and loaded, to load the trucks. This is also passed on to ABC. The unit-wise amount for labour (in Rs. Per unit) is as follows: Dealer 1 0.5 Dealer 2 0.45 Dealer 3 0.3 Dealer 4 0.2 Dealer 5 0.2 How much of each product should ABC order from each dealer? (4 Marks) 1.1. ABC Wholesales stores FMCG products and supplies them to other wholesalers. It sources the products from 5 dealers in the city. The products it deals with are: Mosquito Repellent (Repellent), Dishwashing Soap (Soap). Laundry Detergent (Laundry), Biscuits, Chips and Dahl. It orders the products once a month. Last month, all the stock was sold and the warehouse is now empty. This month, it needs 200 mosquito repellents, 700 units of Dishwashing Soap, 350 Detergents, 1200 biscuit packets, 1090 chips packets and 1000 packets of Dahl. The following dealers supply those products at the following prices (in Rs. Per unit): (Assume the dealers have an unlimited quantity of each product.) Repellent Soap Laundry Biscuits Chips Dahl Dealer 1 100 28 182 15 60 120 Dealer 2 99 25 190 14 65 115 Dealer 3 98.5 26 192 13.5 64 119.1 Dealer 4 105 27 191 14.2 62 118 Dealer 5 97 27 180 13.1 61 114.5 The transportation cost is also billed to ABC. Regardless of the number of units transported, the dealers have the following truck costs for transporting to ABC: Dealer 1 Dealer 2 Dealer 3 Dealer 4 Dealer 5 2000 2500 2400 2300 3000 The dealers use hired labour, paid by the no. of units packaged and loaded, to load the trucks. This is also passed on to ABC. The unit-wise amount for labour (in Rs. Per unit) is as follows: Dealer 1 0.5 Dealer 2 0.45 Dealer 3 0.3 Dealer 4 0.2 Dealer 5 0.2 How much of each product should ABC order from each dealer? (4 Marks)
Expert Answer:
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
My question is how to write the code in WareHouse.java This is WareHouse.java package warehouse; /* * * This class implements a warehouse on a Hash Table like structure, * where each entry of the...
-
Q1. You have identified a market opportunity for home media players that would cater for older members of the population. Many older people have difficulty in understanding the operating principles...
-
The population (in millions) of a country in 2015 and the expected continuous annual rate of change k of the population are given. (a) Find the exponential growth model P = Ce kt for the population...
-
Falkon Corp. reported the following amounts in the share- holders' equity section of its December 31, 2016 statement of financial position: During 2017, the company had the following transactions...
-
Suppose you write 30 of the July 100 put contracts. What is your net gain or loss if Hendreeks is selling for $90 at expiration? For $110? What is the break-even price, that is, the terminal stock...
-
Estimate the standard Gibbs free energy and the equilibrium constant at 1 bar and \(800 \mathrm{~K}\) for the reaction \[ \mathrm{N}_{2}(\mathrm{~g})+3 \mathrm{H}_{2}(\mathrm{~g}) ightleftharpoons 2...
-
The current assets and current liabilities sections of the balance sheet of Agincourt Company appear as follows. The following errors in the corporation's accounting have been discovered: 1. January...
-
Find the volume of revolution V about the x-axis for the given function and interval. f(x) = x5/3, [1, 5]
-
Question 21 of 40 Patrick Lencioni described five dysfunctions of a team. In addition to absence of trust, lack of commitment, and avoidance of accountability, what two other dysfunctions did he...
-
16. Which one of the following statements about the iodine tetrachloride anion (ICI4) is incorrect? A) The iodine atom is sp-hybridized. B) Its molecular shape is square planar. C) The VSEPR type of...
-
Would you loan your own money to the project at 6% (3% US Treasury 10 year bond rate), or equivalent to BB rated bond?
-
i) Which species is being oxidized , Which species is being reduced ) Which species is the oxidizing agent CH3CHO (aq) + H2 (g) - CHaCH2OH (aq)
-
Why should a lender feel comfortable in providing debt finance for most of the project costs?
-
Consider this reaction: 2NHa(g) -> N2(g) + 3H2(g). If the rate A [H2]/At is 0.030 mol/ A[NHs]/At is:
-
tan? a + sec a+ 1 18. tan a + sin. tan a + cot a
-
d) For die casting processes: 1. What are the most common metals processed using die casting and discuss why other metals are not commonly die casted? 2. Which die casting machines usually have a...
-
In 2012, Lou has a salary of $54,000 from her job. She also has interest income of $1,700. Lou is single and has no dependents. During the year, Lou sold silver coins held as an investment for a...
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
Indicate whether each of the items listed below would be included (I) in or excluded (E) from gross income for the 2012 tax year. ________a. Welfare payments ________b. Commissions ________c. Hobby...
-
A heat engine receives 1000 kW of heat at constant temperature of 285C and rejects heat at 5C . The possible heat rejected are: (a) 840 kW, (b) 442 kW and (c) 300 kW. Comment on the results.
-
5 m 3 of gas at 8 bar and 180C is heated keeping the pressure same till the volume is doubled. Calculate (a) heat added, (b) external work done, and (c) change in internal energy during the process.
-
A heat exchanger handles \(40 \mathrm{~kg} / \mathrm{min}\) of water which is heated from \(20^{\circ} \mathrm{C}\) to \(70^{\circ} \mathrm{C}\) by a hot gas entering the heat exchanger at...
Study smarter with the SolutionInn App