Application of Topsis in Hostel Allotment Process

Using TOPSIS for optimizing hostel allocation process

by Arman Rasool Faridi*,

- Published in Journal of Advances in Science and Technology, E-ISSN: 2230-9659

Volume 1, Issue No. 1, Feb 2011, Pages 0 - 0 (0)

Published by: Ignited Minds Journals


ABSTRACT

Multi-Criteria Decision Making (MCDM) has found a lot of use in everyday life. TOPSIS (Technique for Order Preference by Similarity to Ideal Solution) is one of the MCDM technique which aims to find the optimal solution by finding a solution which is nearest to the ideal solution and is farthest from the negative ideal solution. This paper demonstrates TOPSIS taking a case study of hostel allocation. There are lots of criteria by which hostel allocation can be done to a student. These criteria conflict with each other and to take better decision TOPSIS has been used for decision making.

KEYWORD

TOPSIS, multi-criteria decision making, hostel allotment, optimal solution, criteria conflict

INTRODUCTION

Multi-Criteria Decision Making is very popular since its inception. Its popularity is due to the ubiquitous requirement of optimal decision making in every aspect of human life & activities where there are often conflicting criteria in selecting alternatives. Its use can be found in managing businesses and marketing, government decision making, student looking for colleges, colleges wanting to sort students based on some criteria, Supply chain management and logistics, engineering, manufacturing systems, environmental, human resources, and water resources management etc. SAW [1, 2], AHP [3], TOPSIS [4, 7], SMART [5], ELECTRE [6], etc. are some of the most used MCDM technique. Different techniques of MCDM are used depending upon the nature of the problem presented i.e. selection, ranking or ordering. TOPSIS is one of the MCDM technique which was developed in 1981 by Yoon and Hwang. Classical TOPSIS technique requires information, numerical attributes of criteria to be evaluated for analysis and then the solution is derived by selecting and prioritizing criteria based on their relative weights. TOPSIS selects alternative which is nearer to the ideal solution but farthest from the negative ideal solution. An ideal alternative will be one with minimum cost criteria and maximum benefit criteria whereas a negative ideal alternative will have minimum benefit criteria and maximum cost criteria. In TOPSIS algorithm process, first the decision matrix is created with the satisfaction value of each criteria of each alternative as well as their weights. Then matrix is normalized to allow comparison between dimensional attributes and non-dimensional attributes. Normalization can be performed by any standardized formulas. Then the weighted normalized decision matrix is calculated by multiplying weight with values in normalized matrix. Then the positive ideal and the negative ideal solutions are identified using which separation distance are calculate for each value. At last the relative closeness to the positive ideal solution is calculated and the alternative closes to 1 is determined as optimal solution.

USE CASE

MCDM can be used in government offices, industries, Universities, personal decision making etc. In this paper an example of hostel allocation has been considered to allocate room to students based on the rank they get from TOPSIS. Here the criteria includes previous education of a student, number of years for which he is enrolled in the concerned institution, whether he/she has received any award from the concerned institution or any other institution, whether he/she is involved in extracurricular activities, whether he/she is receiving any fellowship/scholarship and finally annual family income of the family. Education may include diploma, graduate, post graduate, PhD or post doc. To convert these to numerical value form, value 1 has been assigned to diploma or certificate course, 2 to graduate, 3 to post graduate, 4 to PhD and 5 to post doc. Also 25% weight is assigned and criterion is 1 i.e. more the value better it is. Number of years of course is a quantitative value, 15% is the weight assigned to it and criterion 1. Award received means total number of awards received by the student, 10% is the weight assigned to it and criterion 1. Extracurricular activities include number of years of experience is extra activities like NCC, acting, sports etc. This is also a quantitative value and the weight assigned to it is 10% and criterion 1. If he/she is receiving any fellowship or scholarship then amount per year will be a one criterion and 10% is the weight assigned to it and criterion 0. Family income will be per annum and it will be quantitative value, hence 30% is the weight

Table 1: Criterion and weightage for our case study assigned to it and criterion 0 i.e. poor will be preferred.

IMPLEMENTATION DETAILS

We have to convert the given details to matrix form for different students. As shown below, columns represent criterion, i.e., Education, Duration of course in Years, Total Award Received, Experience in extracurricular activities, Fellowship/Scholarship amount, Annual Income respectively. Similarly, rows represent different students. Here below is our decision matrix: Weights for each criterion are shown below: Similarly weight criterion is shown below:

MATLAB Function:

function Topsis(X,W,Wcriteria) Xval=length(X(:,1)); Y = zeros([Xval,length(W)]); %% calculating the normalized matrix for j=1:length(W) for i=1:Xval Y(i,j)=X(i,j)/sqrt(sum((X(:,j).^2))); end end Normalized_Matrix = num2str([Y]); disp('Normalised Matrix') disp(Normalized_Matrix) %% calculating the weighted mormalized matrix for j=1:length(W) for i=1:Xval Yw(i,j)=Y(i,j).*W(j); end end Weighted_Normalized_Matrix = num2str([Yw]); disp('Weighted Normalized Matrix') disp(Weighted_Normalized_Matrix) %% calculating the positive and negative best for j=1:length(W) if Wcriteria(1,j)== 0 Vp(1,j)= min(Yw(:,j)); Vn(1,j)= max(Yw(:,j)); else Vp(1,j)= max(Yw(:,j)); Vn(1,j)= min(Yw(:,j)); end end Positive_best = num2str([Vp]); Negative_best = num2str([Vn]); disp('Positive best') disp(Positive_best) disp('Negative best') disp(Negative_best) %% Euclidean distance from Ideal Best and Worst for j=1:length(W) for i=1:Xval Sp(i,j)=((Yw(i,j)-Vp(j)).^2); Sn(i,j)=((Yw(i,j)-Vn(j)).^2); end end for i=1:Xval Splus(i)=sqrt(sum(Sp(i,:))); Snegative(i)=sqrt(sum(Sn(i,:))); end %% calculating the performance score P=zeros(Xval,1); for i=1:Xval P(i)=Snegative(i)/(Splus(i)+Snegative(i)); end Performance_Score = num2str(P); [~, p]=sort(P,'descend'); rank = 1:length(P); rank(p)=rank; disp('Score : '); disp( P.'); disp('Ranks are :'); disp(rank);

EXECUTION

OUTPUT

RESULTS

Finally, a rank of every student has been obtained. Higher the rank higher will be the chances of allocation the room to that student. So according to experimental result Student 5 will get room first then student 3 then Student 1 then Student 2 then Student 4 and finally the Student 6.

CONCLUSION

By using TOPSIS in this case, it is found that which student is a better choice for the allocation of available hostel room. Code is implemented in MATLAB where criteria, their corresponding weights, and students can be easily modified, and still, results can be obtained efficiently.

REFERENCES

1. R. Simanaviciene and L. Ustinovichius (2010). “Sensitivity Analysis for Multiple Criteria Decision Making Methods: TOPSIS and SAW,” Procedia - Soc. Behav. Sci., vol. 2, no. 6, pp. 7743–7744. 2. T. Hanne (1995). “An Application of Different MCDM Methods to Bank Balance Sheet Analysis,” Springer, Berlin, Heidelberg, pp. 506–511. 3. H. J. Shyur (2006). “COTS evaluation using modified TOPSIS and ANP,” Appl. Math. Comput., vol. 177, no. 1, pp. 251–259. 4. G. K. L. Lee and E. H. W. Chan (2008). “The Analytic Hierarchy Process (AHP) Approach for Assessment of Urban Renewal Proposals,” Soc. Indic. Res., vol. 89, no. 1, pp. 155–168. 5. R. C. Van den Honert (2001). “Decisional Power in Group Decision Making: A Note on the Allocation of Group Members’ Weights in the Multiplicative AHP and SMART,” Gr. Decis. Negot., vol. 10, no. 3, pp. 275–286. 6. J. Figueira, V. Mousseau, and B. Roy (2005). “Electre Methods,” in Multiple Criteria Decision Analysis: State of the Art Surveys, New York: Springer-Verlag, pp. 133–153.

7. T. C. Wang and H. D. Lee (2009). “Developing a fuzzy TOPSIS approach based on subjective weights and objective weights,” Expert Syst. Appl., vol. 36, pp. 8980–8985.

Corresponding Author Arman Rasool Faridi*

Department of Computer Science, Aligarh Muslim University, Aligarh

arman.faridi@gmail.com