





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Instructions on setting up and solving a distribution management model for oil transportation. The model involves understanding the information given, setting up the model using excel functions, and finding the cheapest way to satisfy demand while considering the costs and capacity of oil pipelines. The document also covers testing equipment at a node and the possibility of opening a new facility.
Typology: Study notes
1 / 9
This page cannot be seen from the preview
Don't miss anything!
Agenda:
What does the graph say for this model? "Problem Data" worksheet
In the worksheet titled "Template" you will find the data for the first few problems an additional information in the worksheet titled "Problem Data". Notice how the pipes (arcs) are represented in pairs of nodes (From: x, To: y) in columns B and C. Column A consists of the decision variable, that is, the number of units that will flow from no x to node y. Column D expresses the cost per unit for using the arc and column E is the capacity for each arc.
4. Question 1: cheapest way from node 1 -> 5
Manual approach: What are all the different ways oil can travel from node 1 to 5?
NOTE: The SUMIF does not make your model nonlinear. Dispite the "IF" part, the function only performs a value look-up and adds the numbers that match the look-up value. If you're still curious, please see the discussion forum for a detailed explanatio of why this works.
We also need to calculate the Flow In + Supply and the Flow Out + Demand because what we have available in a node cannot be less than what we use in a node when we're determining the distribution.
Lastly, we need to determine the pumping costs for the model which we use the SUMPRODUCT formula for as shown below:
The last thing to do before going to solver is to put in the demand and supply amoun that will allow us to find the shortest path. As was mentioned before, this is using a supply and demand of 1 at both ends of our trip - at node 1 and node 5. As these arc are 1-way we need to have the supply at node 1 and the demand at node 5.
Solver: Now we are ready to minimize the costs associated with finding the most cost efficien way of getting from one node to another.
Target cell: minimize pumping costs Changing cells: flows along each arc Constraint: Flow in + Supply >= Flow out + Demand Flows along any arc <= Flow Capacity of each arc Options: Linear Model, Non-Negative, Automatic Scaling
the column headers (A3:E3), select tools -> Filter -> AutoFilter.
Then there will be a small triangle in the bottom right of each cell that has a drop do menu. While in the pump drop down menu, select custom -> is greater than and put
Note: If you copy from the 'autofilter' selection, and only want to paste the sections you see, on some older versions of Excel you have to paste special values or else you will paste everything in between as well.
7. Question 4 - Opening new plants (using binary constraints) Now we have been looking at opening a facility in node 3. As well, we have an option given to us by another producer who isn't producing to their maximum capicity and i looking for some extra cash.
Now we have 2 more decisions to make with this question: Do we open (yes/no -> binary), and if we open, how much we will produce. Even though we don't technically open the facility that we purchase the extra oil from in node 4 because the nature of the option available we can model it like we do operate. There is a fixed cost associated with even using the option and the company also charges us per unit of o they produce.
The 'Open' column is a binary variable because there are only 2 possible options: open, or not. If it is a 0, we do not open the plant. If it is a 1 that means 'yes' open t facility. The maximum production is the number of units of oil we could produce. Remember though that we are only able to use this capacity if we are actually open. This is why we have the 'upper bound' column to ensure that we don't use supply tha we don't technically have. This is how we keep the model linear.
You then link the upper bound with the amount to produce in your constraints, and a what you produce in a plant to your flow in + supply column as to produce will add to your supply.
Finally you need to calculate the additional costs associated with opening a new plan which is the fixed and production costs. Both are calculated using the SUMPRODUCT and it is the total of costs that is the new objective cell that you are minimizing. You also add the changing binary cells and production cells to your solver (remember to adjust your tolerance to 0 now that you are using binary constraints!).
8. Large Data Sets
Tips/Tricks/Reminders for handeling large data sets. This is just a reminder of some the ways you can manage larger data sets. If you are confused about one of the suggestions, ask a TA at the end of the lab, during extra help in the labs, or come in during Morgan's or Jen's lab hours to get a refresher.