Skip to main content

TOPSIS Algorithm Implementation

This Python script implements the TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution) method for multi-criteria decision analysis. The script evaluates and ranks alternatives based on their performance across several criteria. The TOPSIS method helps identify the best alternative by calculating the Euclidean distance from the best and worst ideal solutions.

Prerequisites

Before running the script, ensure that you have the following Python packages installed:

  • numpy
  • pandas
  • openpyxl (for reading Excel files)

You can install these dependencies using the following command:

pip install numpy pandas openpyxl

## Usage
```bash
python topsis.py <InputDataFile> <Weights> <Impacts> <ResultFileName>

Metadata

Release files for 102203816-Topsis 0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for 102203816-Topsis 0.0
File Size Uploaded Provenance
102203816_topsis-0.0.tar.gz 3.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for 102203816-Topsis 0.0
File Interpreter ABI Platform
102203816_Topsis-0.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.4 kB

Release files / 102203816_topsis-0.0.tar.gz

Download URL 102203816_topsis-0.0.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3a1cb347caf9fe3a069c4124d7ea9c2705e12408f22b47f6f83e6e1dff94fba3
BLAKE2b-256 checksum
How to use checksums
64d902fc56ddf6702035b15eb39efe0cbd90044ec9e2f05b4b16fecc6e2b0503
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Release files / 102203816_Topsis-0.0-py3-none-any.whl

Download URL 102203816_Topsis-0.0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea64c73be54640cea8e478550e8a311389e29353e8c1f8b499919612a324623f
BLAKE2b-256 checksum
How to use checksums
7a8e6858a396a91712852439dd36429ad09ada2624f50d0cec1187d24ef8060d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Security for 102203816-Topsis 0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page