Skip to main content

A Python package implementing TOPSIS method for MCDM problems

Project description

Topsis-Shreeya Kesarwani-102203815

A Python package for implementing the Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS) method.

Installation

pip install Topsis-Shreeya-102203815

Usage

The package can be used through command line:

topsis <InputDataFile> <Weights> <Impacts> <ResultFileName>

Example

topsis data.xlsx "1,1,1,2,1" "+,+,-,+,+" output.csv

Input Format

  • Input file (CSV/Excel) should contain numeric values for all columns except the first one.
  • First column is the object/variable name.
  • Second to last columns contain numeric values only.

Parameters

  1. <InputDataFile>: Input file name including path (csv/xlsx)
  2. <Weights>: Comma separated weight values for each column
  3. <Impacts>: Comma separated impacts (+/-) for each column
  4. <ResultFileName>: Output file name including path

Output

The output file contains all the columns of input file along with two additional columns having TOPSIS Score and Rank.

License

MIT License

Author

Shreeya Kesarwani

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_shreeya_102203815-1.0.0.tar.gz (1.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_Shreeya_102203815-1.0.0-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: topsis_shreeya_102203815-1.0.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.11

File hashes

Hashes for topsis_shreeya_102203815-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4582889da5972fedf831755dd1be3bded7f3e293ea3f533814a8fdbf21413759
MD5 5740a88dd4a0bb79d46fc4325589cee4
BLAKE2b-256 6a1cc503c01d8ff756380ba6bd74fd8b7595533ff002f3bab59571362f9f3b8f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Topsis_Shreeya_102203815-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 79790261c3b83d0441e322f3cf1e74a49f2aadd5de425d94596f16b95235e07b
MD5 122964352e1aad9c0ffaa314feae9b78
BLAKE2b-256 a78d90ffad480769124252261916feb2fa95deff5377ce488008fe7e33f7d19a

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