Use Python-Gurobi to find the optimal values. Enter the numerical values in the blank response fields....
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Use Python-Gurobi to find the optimal values. Enter the numerical values in the blank response fields. A company wants to plan the distribution of its products between the supply nodes and demand nodes. The following arrays provide ) the exact demand amount of demand node j, i) the unit transportation cost between supply node i and demand node j, and il) the supply amount of supply node i. demand - [26, 41, 33, 31, 21] cost = [1, 7, 4, 1, 61. (5, 2, 3, 5, 41. 17, 4, 4, 6, 21. 12. 6, 1, 1, 41) supply = (310, 295, 420, 310] (a, 1 pts) Formulate this problem to minimize the total cost (assume that the decision variables can be fractional). What is the optimal value? (b, 2 pts) In addition to Part (a), auppose that at least 3 units must be sent between each supply-demand pair. What is the optimal value with this additional constraint? (c, 2 pts) in addition to Part (a), suppose that the amount sent from 3 to 1 is not less than the amount sent from 4 to 3. What is the optimal value with this additional constraint? Note: This part is independent of Part (b). You can comment the lines in your code related to Part (b). Use Python-Gurobi to find the optimal values. Enter the numerical values in the blank response fields. A company wants to plan the distribution of its products between the supply nodes and demand nodes. The following arrays provide ) the exact demand amount of demand node j, i) the unit transportation cost between supply node i and demand node j, and il) the supply amount of supply node i. demand - [26, 41, 33, 31, 21] cost = [1, 7, 4, 1, 61. (5, 2, 3, 5, 41. 17, 4, 4, 6, 21. 12. 6, 1, 1, 41) supply = (310, 295, 420, 310] (a, 1 pts) Formulate this problem to minimize the total cost (assume that the decision variables can be fractional). What is the optimal value? (b, 2 pts) In addition to Part (a), auppose that at least 3 units must be sent between each supply-demand pair. What is the optimal value with this additional constraint? (c, 2 pts) in addition to Part (a), suppose that the amount sent from 3 to 1 is not less than the amount sent from 4 to 3. What is the optimal value with this additional constraint? Note: This part is independent of Part (b). You can comment the lines in your code related to Part (b).
Expert Answer:
Answer rating: 100% (QA)
a the optimal value is 1725 Gurobi Optimizer version 910 build v910rc0 win64 Thread count 4 physical ... View the full answer
Related Book For
Introduction to Operations Research
ISBN: 978-1259162985
10th edition
Authors: Frederick S. Hillier, Gerald J. Lieberman
Posted Date:
Students also viewed these accounting questions
-
Use parametric linear programming to find the optimal solution for the following problem as a function of , for 0 20. Maximize Z () = (20 + 4)x1 + (30 - 3) x2 + 5x3, Subject to and x1 0, x2 0,...
-
In Problems, use the simplex method to find the optimal solution. Assume that all variables are nonnegative. Maximize f = 3x + 2y subject to -x + 2y 20 -3x + 2y -36 x + y 22
-
In Problems, use the simplex method to find the optimal solution. Assume that all variables are nonnegative. Maximize f = 2x + 5y subject to -x + y 10 x + y 30 -2x + y -24
-
In Exercises use a graphing utility to graph the curve represented by the parametric equations. Indicate the direction of the curve. Identify any points at which the curve is not smooth. Curtate...
-
On, July 15, 2016, Tidnish Vessel Refitters Ltd. (Tidnish) signed a contract to refit a 25-year-old supertanker to meet new environmental standards and operate more efficiently. Tidnish has provided...
-
Suppose that Show that A 4n = I, A 4n+1 = A, A 4n+2 = -I, and A 4n+3 = -A for every positive integer n. A=[- 0 8]. 0
-
The standard for a process producing tin plate in a continuous strip is 5 defects in the form of pinholes or visual blemishes per 100 feet. Based on the following set of 25 observations, giving the...
-
Tranter, Inc. is considering a project that would have a ten-year life and would require a $1,200,000 investment in equipment. At the end of ten years, the project would terminate and the equipment...
-
The Saleemi Corporation's $3,000 bonds pay 5 percent interest annually and have 13 years until maturity. You can purchase the bond for $800. a. What is the yield to maturity on this bond? b. Should...
-
Peter Daly operates a photo printing centre in Whitehorse. All transactions requiring the payment of cash are recorded in the cash payments journal (page 5). The account balances as of May 1, 2016,...
-
PROBLEM 2: DESIGN A RELATIONAL DATABASE SCHEMA AND IMPLEMENT THEDATABASE. [50] In this problem, you are required to create a relationaldatabase schema and to create and populate a database using DDL...
-
Which of the following best describes the meaning of 'Purchases'? (A) Items bought (B) Goods bought on time (C) Goods bought for resale (D) Goods paid for
-
To find the value of closing inventory at the end of a period we (A) Do this by physically counting the inventory (i.e. stocktaking) (B) Look in the inventory account (C) Deduct opening inventory...
-
What would have been the balance on the account of C. De Freitas in MC17 on 19 May 2017? (A) A debit balance of 265 (B) A credit balance of 95 (C) A credit balance of 445 (D) A credit balance of 265
-
The costs of putting goods into a saleable condition should be charged to (A) The trading account (B) The profit and loss account (C) The statement of financial position (D) None of these
-
When depositing money in your current account you should always use (A) A cheque book (B) A paying-in slip (C) A cash book (D) A general ledger
-
Faith Company purchased an equipment on January 2, 2021 for P3,000,000. The equipment had an estimated useful life of 5 years. It is the company's policy to use the double declining method in its...
-
Calculate the change in entropy when 100 kJ of energy is transferred reversibly and isothermally as heat to a large block of copper at (i) 0 C, (ii) 50 C.
-
The Morton Ward Company is considering the introduction of a new product that is believed to have a 50-50 chance of being successful. One option is to try out the product in a test market, at a cost...
-
Do Prob. 10.8-1. The Tinker Construction Company is ready to begin a project that must be completed in 12 months. This project has four activities (A, B, C, D) with the project network shown next....
-
Consider the expressions in matrix notation given in Sec. 13.7 for the general form of the KKT conditions for the quadratic programming problem. Show that the problem of finding a feasible solution...
-
Explain the difference between value-added and non-value-added activities in a process and provide examples.
-
Explain how the center-of-gravity method works.
-
A nnapolis Hospital is trying to reduce costs, yet it aims to improve the patient count and medical services. The hospital pharmacy, which is considered a primary process, uses two types of...
Study smarter with the SolutionInn App