Skip to main content

A Python package for TOPSIS multi-criteria decision making

Project description

Project Description Submitted by: Aarzoo
Roll Number: 102303061

This is a Python package that solves Multiple Criteria Decision Making (MCDM) problems using the Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS).
It ranks alternatives based on their closeness to the ideal best and ideal worst solutions.

Installation

Install the package using pip:

pip install topsis-aarzoo-102303061

Usage

Provide the input CSV file followed by the weights vector and impacts vector.

python <program.py>

Example:

python topsis.py data.csv "1,1,1,2" "+,+,-,+" output-result.csv

Input

  • CSV file
  • First column contains alternatives
  • Remaining columns contain numeric criteria values
  • Number of weights and impacts must match the number of criteria

Output

  • CSV file with two additional columns:
    • Topsis Score
    • Rank

Notes

  • Input CSV should not contain categorical values
  • Weights and impacts must be correctly specified

License

MIT

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_aarzoo_102303061-1.0.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

topsis_aarzoo_102303061-1.0.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file topsis_aarzoo_102303061-1.0.0.tar.gz.

File metadata

  • Download URL: topsis_aarzoo_102303061-1.0.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for topsis_aarzoo_102303061-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8c25ab2066f881d25f973347373e84e22e61545d5cfb1ffa49657ccfb8913bff
MD5 76a688a128c9d5386c349f85c9620dd1
BLAKE2b-256 78fb6bb7f4d11674a2410da64add4aaf02e042f20e66a0393018d1e795fcda77

See more details on using hashes here.

File details

Details for the file topsis_aarzoo_102303061-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for topsis_aarzoo_102303061-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 795f631481f3cac438a9000e880a74b5f4054542565a1537fffd2723c07122e0
MD5 f87e11b0a3bfe9d40654ded4baa0de8d
BLAKE2b-256 6b8d6f3fa1b49b508fae7774468a3bdd612dbcd896648a827286afdc3be43ec6

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