Skip to main content

A Python package for TOPSIS multi-criteria decision-making.

Project description

TOPSIS Implementation in Python

This repository contains a Python implementation of the Technique for Order Preference by Similarity to Ideal Solution (TOPSIS), a multi-criteria decision-making (MCDM) method. TOPSIS is used to rank and evaluate alternatives based on multiple criteria, considering both their closeness to an ideal solution and their distance from a nadir (worst-case) solution.

Features

  • Accepts input data from a CSV file for analysis.
  • Normalizes numerical data using vector normalization.
  • Applies user-defined weights and impacts (+ for benefit criteria, - for cost criteria) to compute the weighted normalized decision matrix.
  • Calculates ideal and anti-ideal solutions and their respective distances for each alternative.
  • Computes the TOPSIS score and assigns ranks to alternatives.
  • Outputs results including TOPSIS scores and ranks in a CSV file.

Installation

Clone the repository and install the required Python libraries:

pip install pandas numpy scipy

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

topsis-102203210-1.1.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

topsis_102203210-1.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file topsis-102203210-1.1.0.tar.gz.

File metadata

  • Download URL: topsis-102203210-1.1.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.1

File hashes

Hashes for topsis-102203210-1.1.0.tar.gz
Algorithm Hash digest
SHA256 160f6a8d9ec5796c57ec69c752dca34034f2211c729b1150324dc3cab81edf3b
MD5 df9628c24bd3f36ac59bcbff152fdc2f
BLAKE2b-256 42088cede72877752c77695f5a8359cdab7961794fcca03261ffb7e33f3ebd07

See more details on using hashes here.

File details

Details for the file topsis_102203210-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for topsis_102203210-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2b710b68e70425fc4073d2a7e57a3c6359f3dccb4712f37ed9e3f0efca66b78e
MD5 9dd3068b9444abe79dee9526d75afb01
BLAKE2b-256 1c73bc877afb90a7df1e867939e21d55b0df83db44d859e71a186b493e295e1a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page