Question: Q1. For the given network structure below, formulate a single commodity min-cost flow problem. On each node, the value in () is supply (+) or

Q1. For the given network structure below, formulate a single commodity min-cost flow problem. On each node, the value in () is supply (+) or demand(-). On each arc, (a,b)+(capacity, cost), e.g., on arc (0,1), (15,4) means that arc (0,1) has a capacity of 15 units and cost of 4 per unit. (0) (4,2) (-5) (15, 4) (20, 2) (20, 2) (20) (15, 1) (10, 6) (8,4) (5, 3) >$(-15) (0) (4,3) For the formulated problem in Q1, solve it using a solver (AMPL or Lingo). Provide your code and optimal solution. I need answer for Q2 only Q1. For the given network structure below, formulate a single commodity min-cost flow problem. On each node, the value in () is supply (+) or demand(-). On each arc, (a,b)+(capacity, cost), e.g., on arc (0,1), (15,4) means that arc (0,1) has a capacity of 15 units and cost of 4 per unit. (0) (4,2) (-5) (15, 4) (20, 2) (20, 2) (20) (15, 1) (10, 6) (8,4) (5, 3) >$(-15) (0) (4,3) For the formulated problem in Q1, solve it using a solver (AMPL or Lingo). Provide your code and optimal solution. I need answer for Q2 only
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
