Skip to main content

A Python package implementing TOPSIS method for MCDM problems

Project description

Topsis-YourName-102203810

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

Installation

pip install Topsis-Anchit-102203810

Usage

The package can be used through command line:

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

Example

topsis data.xlsx "1,1,1,1,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

Anchit Mehra

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

Uploaded Source

Built Distribution

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

Topsis_Anchit_102203810-1.0.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for topsis_anchit_102203810-1.0.0.tar.gz
Algorithm Hash digest
SHA256 725af1d022cd1dd7ca963d6ef98c57e2a9e74dd62a118dfbf60f73ff9137edec
MD5 abd975578a4cebc6b181bfff02069716
BLAKE2b-256 9524f5a4a942af19b777a3b89b825b13a3403c6844dcd19db037fadc1a242984

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Topsis_Anchit_102203810-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 848c6554114b22d9a7ca8a17ef9b21a9443181cf1163a874470d6cae3e816ba6
MD5 347a3dbb1f44c7162e8bb7b2039e09bf
BLAKE2b-256 2116174d40f3c4e4e7a8c0ac9afffe42e4b2eb1b58973efe5e6a8324308bf342

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