Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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 i) the exact demand amount of demand node /. II) the unit transportation cost between supply node i and demand node j, and ill) the supply amount of supply node i. demand = [26, 41, 33, 31, 21] cost = [[1, 7, 4, 1, 6], [5, 2, 3, 5, 41 17. 4, 4, 6, 21. [2, 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), suppose 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)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Recent Developments Of Mathematical Fluid Mechanics

Authors: Herbert Amann, Yoshikazu Giga, Hideo Kozono, Hisashi Okamoto, Masao Yamazaki

1st Edition

3034809395, 9783034809399

More Books

Students also viewed these Mathematics questions

Question

What lifestyle traits does your key public have?

Answered: 1 week ago