Available online through ISSN

Similar documents
Transportation problem

A New approach for Solving Transportation Problem

Solving the Linear Transportation Problem by Modified Vogel Method

Lecture notes on Transportation and Assignment Problem (BBE (H) QTM paper of Delhi University)

Australian Journal of Basic and Applied Sciences

Advanced Approximation Method for Finding an Optimal Solution of Unbalanced Fuzzy Transportation Problems

The MOMC Method: a New Methodology to Find. Initial Solution for Transportation Problems

A Computer Oriented Method for Solving Transportation Problem

success of Business enterprise especially in manufacturing organization. Goods manufactured by firm need to be distributed to dealers, distributers

Zero Average Method to Finding an Optimal Solution of Fuzzy Transportation Problems

Fundamentals of Operations Research. Prof. G. Srinivasan. Department of Management Studies. Indian Institute of Technology, Madras. Lecture No.

Antti Salonen KPP227 KPP227 1

A method for solving unbalanced intuitionistic fuzzy transportation problems

2 Dept. of Computer Applications 3 Associate Professor Dept. of Computer Applications

Transportation Problems

A new approach for solving cost minimization balanced transportation problem under uncertainty

Operations Research. Unit-I. Course Description:

Operations Research. Lecture Notes By Prof A K Saxena Professor and Head Dept of CSIT G G Vishwavidyalaya, Bilaspur-India

OPERATIONS RESEARCH. Transportation and Assignment Problems

4. Linear Programming

New Methodology to Find Initial Solution for. Transportation Problems: a Case Study with Fuzzy Parameters

Arrays in C. By Mrs. Manisha Kuveskar.

CDG2A/CDZ4A/CDC4A/ MBT4A ELEMENTS OF OPERATIONS RESEARCH. Unit : I - V

A Comparative study on Algorithms for Shortest-Route Problem and Some Extensions

A New Approach to Solve Mixed Constraint Transportation Problem Under Fuzzy Environment

Application of Bounded Variable Simplex Algorithm in Solving Maximal Flow Model

SUGGESTED SOLUTION CA FINAL MAY 2017 EXAM

Journal of Business & Economics Research November, 2009 Volume 7, Number 11

Finding the Optimal Solution of Fuzzy Transportation Problems

The Islamic University of Gaza Faculty of Commerce Quantitative Analysis - Dr. Samir Safi Midterm #2-28/4/2014

Solutions for Operations Research Final Exam

Subject: Fundamental of Computer Programming 2068

International Journal of Advanced Research in Computer Science and Software Engineering

Optimal Solution of a Mixed type Fuzzy Transportation Problem

Solving the Multiobjective Two Stage Fuzzy Transportation Problem by Zero Suffix Method

Using Ones Assignment Method and. Robust s Ranking Technique

Computer Programming. C Array is a collection of data belongings to the same data type. data_type array_name[array_size];

KEYWORDS Fuzzy numbers, trapezoidal fuzzy numbers, fuzzy Vogel s approximation method, fuzzy U-V distribution method, ranking function.

Program. SUBJECT: ACP (C - Programming) Array Program. // Find the minimum number from given N element. Prepared By : Dhaval R.

C Programming Lecture V

International Journal of Advance Research in Computer Science and Management Studies

Introduction to Computer Science Unit 2. Exercises

Linear Programming with Bounds

TRANSPORTATION AND ASSIGNMENT PROBLEMS

Modified Procedure to Solve Fuzzy Transshipment Problem by using Trapezoidal Fuzzy number.

/* Polynomial Expressions Using Linked List*/ #include<stdio.h> #include<conio.h> #include <malloc.h> struct node. int num; int coeff;

MLR Institute of Technology

Solving ONE S interval linear assignment problem

ALGORITHMIC APPROACH TO UNBALANCED FUZZY TRANSPORTATION PROBLEM. A. Samuel 1, P. Raja 2

A New Approach for Solving Unbalanced. Fuzzy Transportation Problems

C LANGUAGE AND ITS DIFFERENT TYPES OF FUNCTIONS

Q 1. Attempt any TEN of the following:

IV. Special Linear Programming Models

OPERATIONS RESEARCH. Dr. Mohd Vaseem Ismail. Assistant Professor. Faculty of Pharmacy Jamia Hamdard New Delhi

Tuesday, April 10. The Network Simplex Method for Solving the Minimum Cost Flow Problem

2-D Arrays. Of course, to set each grid location to 0, we have to use a loop structure as follows (assume i and j are already defined):

PROGRAMMING IN C LAB MANUAL FOR DIPLOMA IN ECE/EEE

COMPARATIVE STUDY OF NEW PROPOSED METHOD FOR SOLVING ASSIGNMENT PROBLEM WITH THE EXISTING METHODS

قالىا سبحانك ال علم لنا إال ما علمتنا صدق هللا العظيم. Lecture 5 Professor Sayed Fadel Bahgat Operation Research

A compromise method for solving fuzzy multi objective fixed charge transportation problem

Unit 5. Decision Making and Looping. School of Science and Technology INTRODUCTION

Chapter - 2 Complexity of Algorithms for Iterative Solution of Non-Linear Equations

Fuzzy multi objective transportation problem evolutionary algorithm approach

Cost Minimization Fuzzy Assignment Problem applying Linguistic Variables

Computers Programming Course 12. Iulian Năstac

Sample Examination. Family Name:... Other Names:... Signature:... Student Number:...

KareemNaaz Matrix Divide and Sorting Algorithm

Hybrid Two-Stage Algorithm for Solving Transportation Problem

Arrays. Arrays are of 3 types One dimensional array Two dimensional array Multidimensional array

Vertex Magic Total Labelings of Complete Graphs 1

LABORATORY MANUAL. (CSE-103F) FCPC Lab

M.Sc. (CA) (2 nd Semester) Question Bank

MAHALAKSHMI ENGINEERING COLLEGE B TIRUCHIRAPALLI

I SEMESTER EXAM : : XI :COMPUTER SCIENCE : MAX MARK a) What is the difference between Hardware and Software? Give one example for each.

Modeling the Duality Extraction for Linear Programming Models

Prepared by: Shraddha Modi

UIC. C Programming Primer. Bharathidasan University

A method for unbalanced transportation problems in fuzzy environment

FUNCTIONS OMPAL SINGH

The Modified Sequential Linear Goal Programming Method for Solving Multiple Objectives Linear Programming Problems

OPERATIONS RESEARCH. Linear Programming Problem

Parallel Program for Sorting NXN Matrix Using PVM (Parallel Virtual Machine)

C PROGRAMMING. Prof. (Dr.) S. N. Mishra (Prof. & Head, Dept. of CSEA, IGIT, Sarang)

A NEW METHOD FOR SOLVING TWO VEHICLE COST VARYING FUZZY TRANSPORTATION PROBLEM

Uniform Graph Construction Based on Longitude-Latitude Mapping for Railway Network

Decision Making and Branching

'C' Programming Language

C Language Part 2 Digital Computer Concept and Practice Copyright 2012 by Jaejin Lee

PRIME WEIGHTED GRAPH IN CRYPTOGRAPHIC SYSTEM FOR SECURE COMMUNICATION. M.B. (Govt.) P.G. College Haldwani (U.K.), INDIA

PERIYAR CENTENARY POLYTECHNIC COLLEGE Periyar Nagar- Vallam Thanjavur

II. PROPOSED NEW METHOD FOR SOLVING ASSIGNMENT PROBLEM

ADMS 3330 FALL 2008 EXAM All Multiple choice Exam (See Answer Key on last page)

COMMON QUARTERLY EXAMINATION SEPTEMBER 2018

Application of a Dual Simplex method to Transportation Problem to minimize the cost

HAAR HUNGARIAN ALGORITHM TO SOLVE FUZZY ASSIGNMENT PROBLEM

Computer Programming Unit 3

1. FIBONACCI SERIES. Write a C++ program to generate the Fibonacci for n terms. To write a C++ program to generate the Fibonacci for n terms.

1. Simple if statement. 2. if else statement. 3. Nested if else statement. 4. else if ladder 1. Simple if statement

CSCI 5654 (Fall 2013): Network Simplex Algorithm for Transshipment Problems.

A PRIMAL-DUAL EXTERIOR POINT ALGORITHM FOR LINEAR PROGRAMMING PROBLEMS

Transcription:

International Research Journal of Pure Algebra -4(4), 2014, 509-513 Available online through www.rjpa.info ISSN 2248 9037 A STUDY OF UNBALANCED TRANSPORTATION PROBLEM AND USE OF OBJECT ORIENTED PROGRAMMING R. Palaniyappa* 1 and V. Vinoba 2 1Department of Mathematics, IRT Polytechnic College, Chromepet, Chennai 44, India. 2Department of Mathematics, K. N. G. C. (W), Thanjavur 7, India. (Received on: 15-04-14; Revised & Accepted on: 26-04-14) ABSTRACT In this paper, the south east corner [SEM] procedure is successfully coded and tested via many randomly generated problem instances. Based on the results we can conclude that the correctness of the newly coded SEM is promising as compared with the previously coded one. Keywords: Transportation problem, LPP, optimal solution, south east corner rule, object oriented prograing. 1. INTRODUCTION The term OR was coined in 1940 by M. C. Closky & T.ref then in a small town of Bawdsey in England. It is a science that came into existence in a military content. During World War II, the military management of UK called an Scientists from various disciplines & organized them into teams to assist it in solving strategic & tactical problems relating to air & land defence of the country. The transportation problem is a special class of LPP that deals with shipping a product from multiple origins to multiple destinations. The objective of the transportation problem is to find a feasible way of transporting the shipments to meet demand of each destination that minimizes the total transportation cost while satisfying the supply & demand constraints. The two basic steps of the transportation method are Step - 1: Determine the initial basic feasible solution Step - 2: Obtain the optimal solution using the solution obtained from step 1. In this paper the corrected coding of SEM in C++ is implemented. Then its correctness is verified via many randomly generated instances. The remainder of this paper is organized as follows: Section II deals with the mathematical formulation of the transportation problem. In section III SEM is suarized. In section IV potential significance of the new object oriented program of VAM is illustrated with a numerical example. Finally, conclusion by highlighting the limitations and future research scope on the topic is made in section V. 2. MATHEMATICALFORMULATION OF THE TRANSPORTATION PROBLEM A. In developing the LP model of the transportation problem the following notations are used a i - Amounts to be shipped from shipping origin i (ai 0. b j - Amounts to be received at destination j (bj 0). c ij - Shipping cost per unit from origin i to destination j (cij 0). x ij - Amounts to be shipped from origin i to destination j to minimize the total cost (x ij 0). We assumed that the total amount shipped is equal to the total amount received, that is, ii=1 aa ii ii=1 bb jj *Corresponding author: R. Palaniyappa* 1 E-mail: sivaram2003@gmail.com International Research Journal of Pure Algebra-Vol.-4(4), April 2014 509

R. Palaniyappa* 1 and V. Vinoba 2 / A Study of Unbalanced Transportation Problem and Use of Object Oriented Prograing / B. Transportation problem ii=1 nn jj =1 Min cc iiii xx iiii nn Subject to jj =1 xx iiii a i, i = 1, 2,, m ii=1 xx iiii b j, j = 1, 2,, n, where xx iiii 0 i, j. Feasible solution: A set of non negative values xx iiii, i = 1, 2,, n and j = 1, 2,, m that satisfies the constraints is called a feasible solution to the transportation problem. Optimal solution: A feasible solution is said to be optimal if it minimizes the total transportation cost. Non degenerate basic feasible solution: A basic feasible solution to a (m n) transportation problem that contains exactly m + n 1 allocations in independent positions. Degenerate basic feasible solution: A basic feasible solution that contains less that m + n 1 non negative allocation. Balanced and Unbalanced Transportation problem: A Transportation problem is said to be balanced if the total supply from all sources equals the total demand in the destinations and is called unbalanced otherwise. Thus, for a balanced problem, ii=1 aa ii = ii=1 bb jj and for unbalanced problem, ii=1 aa ii bb jj 3. SOUTH EAST CORNER RULE The steps involved in VAM in producing the initial feasible solution are described below: This method starts at the south east corner cell (route) of the table variable (x 43 ). Step - 1: Construct the transportation table for the given TPP. 2014, RJPA. All Rights Reserved 510 ii=1. Step - 2: Allocate as much as possible to the selected cell and adjust the associated amounts of supply and demand by subtracting the allocated amount. Step - 3: Cross out the row or column with zero supply or demand to indicate that no further assignments can be made in that row or column. I both a row and column net to zero simultaneously, cross out one only and leave a zero supply (demand in the uncrossed out row - column). Step 4: If exactly one row or column is left uncrossed out, stop. Otherwise, move to the cell to the right if a column has just been crossed out. Go to step 2 [8]. 4. OBJECT ORIENTED PROGRAM CODE FOR SOUTH EAST CORNER METHOD FOR INITIAL BASIC FEASIBLE SOLUTION ************************************************** SOUTH EAST CORNER **************************************************/ #include<stdio.h> #include<conio.h> void main() int sn,dn,i,j,ss=0,ds=0,sum=0; int sup[10],dem[10]; int a[10][10],c[10][10]; clrscr(); //getting no.of supply & demand. printf("enter the num of supply:"); scanf("%d",&sn); printf("enter the num of demand:"); scanf("%d",&dn); //clearing values in array. for(i=0,j=0;i<10,j<10;i++,j++)

R. Palaniyappa* 1 and V. Vinoba 2 / A Study of Unbalanced Transportation Problem and Use of Object Oriented Prograing / sup[i]=0; dem[j]=0; //input supply values & calculate sum of supply. printf("\n Enter supply value sup[%d]:",i); scanf("%d",&sup[i]); ss=ss+sup[i]; //input demand values & calculate sum of demand. printf("\n Enter demand value dem[%d]:",j); scanf("%d",&dem[j]); ds=ds+dem[j]; if(ss!=ds) printf("\n unbalanced problem.."); getch(); exit(0); //input transportation cost. printf("\n Enter array values:"); scanf("%d",&a[i][j]); //clearing cost array. for(i=0;i<10;i++) for(j=0;j<10;j++) c[i][j]=0; //calculation. for(i=0,j=dn-1;i<sn,j>=0;) if(i==sn j==-1) goto L1; if(dem[j]==sup[i]) //Checking demand=supply c[i][j]=dem[j]*a[i][j]; printf("\n c[%d][%d]=%d and sup=%d",i,j,c[i][j],sup[i]); j--; i++; else if(dem[j]<sup[i]) //checking demand< supply c[i][j]=dem[j]*a[i][j]; sup[i]=sup[i]-dem[j]; printf("\n c[%d][%d]=%d and sup=%d",i,j,c[i][j],sup[i]); dem[j]=0; j--; else //demand >= supply 2014, RJPA. All Rights Reserved 511

R. Palaniyappa* 1 and V. Vinoba 2 / A Study of Unbalanced Transportation Problem and Use of Object Oriented Prograing / c[i][j]=sup[i]*a[i][j]; dem[j]=dem[j]-sup[i]; printf("\n c[%d][%d]=%d and dem=%d",i,j,c[i][j],dem[j]); i++; L1: sum=sum+c[i][j]; printf("\n\n sum of transportation cost = %d",sum); getch(); OUTPUT: Enter the num of supply: 3 Enter the num of demand:5 Enter supply value sup [0]:160 Enter supply value sup [1]:150 Enter supply value sup [2]:190 Enter demand value dem [0]:80 Enter demand value dem [1]:90 Enter demand value dem [2]:110 Enter demand value dem [3]:160 Enter demand value dem [4]:60 Enter array values: 42 48 38 37 0 40 49 52 51 0 39 38 40 43 0 c[0][4]=0 and sup=100 c[0][3]=3700 and dem=60 c[1][3]=3060 and sup=90 c[1][2]=4680 and dem=20 c[2][2]=800 and sup=170 c[2][1]=3420 and sup=80 c[2][0]=3120 and sup=80 sum of transportation cost = 18780 CONCLUSION The optimal solution obtained in this present investigation shows much more closeness with initial basic feasible solution obtained by South east corner rule. The comparison of optimal solution have been made with other methods of finding initial solutions and observe that South east corner method give the better initial feasible solutions which are closer to optimal solution. The objected oriented programs using c++ have been developed. This shows that the computed results tally with the results obtained c++ prograing. Object oriented program code for said programs is given for better understanding. 2014, RJPA. All Rights Reserved 512

R. Palaniyappa* 1 and V. Vinoba 2 / A Study of Unbalanced Transportation Problem and Use of Object Oriented Prograing / REFERENCES 1. Reeb, J.E. and S.A., Leaven good, Transportation problem: a special case for linear prograing problems, EM8779. Corvallis: Oregon State University Extension Service, pp. 1-35, 2002. 2. Charnes, A. and W.W. Cooper, "The stepping stone method of explaining linear prograing calculations in transportation problems", Management Science, 1(1): pp. 49-69, 1954. 3. Dantzig, G.B., Linear Prograing and extensions, Princeton, NJ: Princeton University press, 1963. 4. Taha Hamdy A., Operation Research: An introduction, Prentice-Hall of India, 8 th edition. 2006. 5. Reinfeld, N.V and Vogel, W.R., Mathematical Prograing, Englewood Cliffs, New Jersey: prentice-hall, pp. 59-70, 1958. 6. Nabendu Sen et al., A study of transportation problem for an essential item of southern part of north eastern region of India as an OR model and use of object oriented prograing, International Journal of Computer Science and Network Security, 10(4), pp. 78-86, 2010. 7. Saleem, Z.R. and Imad, Z.R., Hybrid two-stage algorithm for solving transportation problem, Modern Applied Science, 6(4), pp. 12-22, 2012. 8. R. Palaniyappa and V. Vinoba, A new type of transportation problem using object oriented model, International Journal of Mathematical Archive-4(11), 2013, 71-77. Source of Support: Nil, Conflict of interest: None Declared 2014, RJPA. All Rights Reserved 513