Example 15: A manufacturer has 4 warehouses and 5 vendors all in different cities. In the first warehouse there are 50 products, in the second warehouse.

Slides:



Advertisements
Similar presentations
Graphing Functions - Piecewise Functions Note: graphing piecewise functions on a calculator is not usually required by instructors. The following directions.
Advertisements

Corso MAE Metodi Quantitativi per il Management Quantitative methods for Management Roma, 18 settembre - 24 ottobre 2003 Prof. Gianni Di Pillo Prof. Laura.
Unbalanced Assignment Model
Logistics Network Configuration
Operations Research Assignment Problem.
The Transportation and Assignment Problems
Presentation: H. Sarper
Linear Programming Applications
Linear Programming Applications
Transportation Models
Example 15.3 Supplying Power at Midwest Electric Logistics Model.
Transportation Model Lecture 16 Dr. Arshad Zaheer
Chapter 10 Review: Matrix Algebra
Table 1. Shipping costs, Supply, and Demand for Powerco Example
Linear Algebra Lecture 25.
Row rows A matrix is a rectangular array of numbers. We subscript entries to tell their location in the array Matrices are identified by their size.
The Supply Chain Customer Supplier Manufacturer Distributor
GAMS Anwendung Nutzeroberfläche eigene Programme Modellierungs- System GAMS AMPL ILOG Studio … Solver CPLEX, CONOPT, MINOS, COIN, BARON,...
The Assignment Problem. In many business situations, management needs to assign - personnel to jobs, - jobs to machines, - machines to job locations,
Leontief Input-Output Analysis A way to analyze economics of interdependent sectors Case study: Oil and Transportation –Transportation requires gasoline.
Chapter 7 Transportation, Assignment & Transshipment Problems
. 1 Transportation and Assignment Problems. . 2 Applications Physical analog of nodes Physical analog of arcs Flow Communication systems phone exchanges,
Assignment Problem. Definition Assignment Problem is a balanced transportation problem in which all supplies and demand are equal to 1.
Database Systems Microsoft Access Practical #3 Queries Nos 215.
Notes 5IE 3121 Knapsack Model Intuitive idea: what is the most valuable collection of items that can be fit into a backpack?
Transportation and Assignment Problems
Transportation Problems Dr. Ron Lembke. Transportation Problems Linear programming is good at solving problems with zillions of options, and finding the.
Model 2: Transportation Problem Roshnika Fernando.
solve x + (-16) = -12 solve x + (-16) = X = 4.
1 Network Models Transportation Problem (TP) Distributing any commodity from any group of supply centers, called sources, to any group of receiving.
RESEARCH ASSISTANTS Mazyar Ghadirinejad & Farhood Rismanchian.
Sundara Ram Matta Feb 16 th, Sundara Ram Matta Feb 16 th, 2015
D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion.
SOLVING QUADRATICS DAY 3 (IN THE CALCULATOR) EQ: How can points of intersection be used to solve any equation?
Chapter 8 Network Models to accompany Operations Research: Applications and Algorithms 4th edition by Wayne L. Winston Copyright (c) 2004 Brooks/Cole,
Transportation and Distribution Planning Matthew J. Liberatore John F. Connelly Chair in Management Professor, Decision and Information Techologies.
USING SETS IN LINGO What Are Sets? Sets are simply groups of related objects. A set might be a list of products, trucks, or employees. Each member in the.
Algebra 3.5 Consecutive Integer Problems. Consider integers on a number line…… n n + 1 n + 2 n + 3.
LINGO Part III (IE 311 – Lab) Spring ‘07. Variables Domain Function  Variables in a LINGO model default to being nonnegative and continuous.  LINGO.
OPTIMIZATION PROBLEMS OF ELECTRIC POWER SUPPLY Томский политехнический университет.
Example 15: A manufacturer has 4 warehouses and 5 vendors all in different cities. In the first warehouse there are 50 products, in the second warehouse.
Write, Interpret and Use Mathematical Expression and Equations.
The Transportation and Assignment Problems
Using Variable Domain Functions
USING SETS IN LINGO What Are Sets?
Special Cases In Linear Programming
Current outstanding balance
Excel Solver.
The Transportation Model
Lecture 5 – Integration of Network Flow Programming Models
Lecture 5 – Integration of Network Flow Programming Models
1.3: Solving Linear Equations
Assignment Problem A balanced transportation problem in which
Routing and Logistics with TransCAD
What is an equation? An equation is a mathematical statement that two expressions are equal. For example, = 7 is an equation. Note: An equation.
Chapter 7 Transportation, Assignment & Transshipment Problems
Scheduling Scheduling is an important tool for manufacturing and service industries, where it can have a major impact on the productivity of a process.
Solving Equations and Inequalities with Absolute Value
A more complex LP problem
LINGO LAB 3/4.
Transportation Problems
NS Part 2 SBAC Review.
LINGO LAB 3/4.
Matrices are identified by their size.
On your whiteboards: Solve this equation 4a + 5 = 29 4a = 24 a = 6.
Transportation and Assignment Problems
Lecture 12 Network Models.
Presentation transcript:

solving the transportation problem and Assignment problem by using lingo software

Example 15: A manufacturer has 4 warehouses and 5 vendors all in different cities. In the first warehouse there are 50 products, in the second warehouse there are 70 products, in the third warehouse there are 90 products and in the fourth warehouse there are 90 products. Demand of the first vendor is 80 products, demand of the second vendor is 50 products, demand of the third vendor is 60 products, demand of the fourth vendor is 70 products and demand of the fifth vendor is 40 products. Unit transportation costs from the warehouse to the vendor are given in the following table. V1 V2 V3 V4 V5 WH 1 WH 2 WH 3 WH 4

The objective function : by using mathematical notation, you can express the objective function equation as following: In a similar manner, LINGO’s modeling language allows you to express the objective function in a form that is short, easy to type, and easy to understand. The equivalent LINGO statement is: MIN = @SUM(LINKS(I,J): COST(I,J) * X(I,J)); The following table compares the mathematical notation to the LINGO syntax for our objective function: Xij Xij X

The corresponding LINGO modeling statement as @FOR(VENDORS(J): The Constraints: Starting with the demand constraint for Vendor 1, we need to sum up the shipments from all the warehouses to Vendor 1 and set them equal to Vendor 1’s demand of 80 UNITS Using mathematical notation, all fıve demand constraints can be expressed in the single statement: The corresponding LINGO modeling statement as @FOR(VENDORS(J): @SUM(WAREHOUSES(I): X(I, J)) = DEMAND(J)); Xij Xij x

The equivalent LINGO statement for all capacity constraints would be: Now, we will move on to constructing the capacity constraints. In standard mathematical notation, the four capacity constraints would be expressed as: The equivalent LINGO statement for all capacity constraints would be: @FOR(WAREHOUSES(I): @SUM(VENDORS(J): x(I, J))<= CAPACITY(I)); Putting together everything we’ve done so far yields the following complete LINGO model: MODEL: MIN = @SUM(LINKS(I, J): COST(I, J) * x(I, J)); @FOR(VENDORS(J): @SUM(WAREHOUSES(I): x(I, J)) = DEMAND(J)); @SUM(VENDORS(J): x(I, J)) <= CAPACITY(I)); END Xij <

Solving the Transportation Model Now, let’s solve the model to determine the optimal shipping volume for each warehouse to vendor link. In LINGO for Windows, choose Solve from the LINGO menu or press the Solve button . Note: To obtain a report containing only the nonzero values for x, we select the Solution command from the LINGO menu. We are then presented with the following dialog box: x Press down on the arrow button in the Attribute or Row Name field and select x from the list of names in the drop-down box.

Example: Suppose that we have 5 jobs (1, 2, 3, 4, 5) waiting for being performed and 5 machines (A, B, C, D, E) that can be used to perform these jobs. The assignment costs of the jobs to the machines are given in the following table. Find the minimum total cost one-to-one assignment between the jobs and the machines by the Hungarian Method.

SETS JOBS / J1 J2 J3 J4 J5 /; MACHINE / A B C D E / ; LINKS(JOBS , MACHINE): COST, X; ENDSETS The objective MIN = @SUM( LINKS( I, J): COST( I, J) * X( I, J)); The demand constraints @FOR( JOBS( I): @SUM( MACHINE (J): X( I, J)) =1);

The capacity constraints @FOR( MACHINE (J): @SUM( JOBS ( I): X( I, J)) =1 The data DATA: COST = 9 6 3 3 4 4 5 6 9 7 7 8 11 2 8 6 7 12 5 13 4 5 6 4 9 ; ENDDATA END