In this release one can find matlab codes for n-ary TOPSIS that uses n-ary norm operators to set preference for either positive ideal solution or negative ideal solution depending on the practical problem. Basic TOPSIS has been critized about not being able to set preference for either positive ideal solution or negative ideal solution and it is considering them to be equally important. With n-ary norm operator we can prefer one over another depending on the practical problem. Preference can be modelled by imposing stricter or weaker norm operator depending on practical problem. Another generalization in the code is that instead of using Euclidean distance code is generalized to Minkowski distance. Paper was published in
P. Luukka, N—ary norm operators and TOPSIS, 2020 IEEE International Conference on Fuzzy Systems (FUZZ-IEEE), Glasgow, UK, 2020, pp. 1-6, doi: 10.1109/FUZZ48607.2020.9177580.
See also conference presentation:
https://echo360.org.uk/media/86e11c37-c1e2-49cc-9304-a2883cf35474/public
Wikipedia: