Skip to main content

A Python package to implement TOPSIS for decision-making problems.

Project description

Topsis-Manya-102203284

This is a Python package to implement the Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS) for multi-criteria decision-making problems.

TOPSIS is a useful method for ranking and selecting alternatives when multiple criteria are involved, such as decision-making problems in business, engineering, and more.

Features

  • Flexible Input: Accepts any CSV file with numeric data.
  • Customizable Weights: Allows users to specify weights for each criterion.
  • Impact Specification: Supports both beneficial (+) and non-beneficial (-) criteria.
  • Accurate Ranking: Calculates TOPSIS scores and ranks the alternatives.
  • Error Handling: Ensures robust handling of invalid inputs and edge cases.

Installation

You can install this package via pip: pip install topsis-manya-102203284

Usage

from topsis_manya.topsis import topsis

# Example usage
topsis('input.csv', [1, 1, 1, 2, 1], ['+', '+', '-', '+', '-'], 'output.csv')

## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

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-manya-102203284-1.0.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

topsis_manya_102203284-1.0.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file topsis-manya-102203284-1.0.0.tar.gz.

File metadata

  • Download URL: topsis-manya-102203284-1.0.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.9

File hashes

Hashes for topsis-manya-102203284-1.0.0.tar.gz
Algorithm Hash digest
SHA256 323464d14ad3cf5683e3aecb66e753cb23eba891ebc8a2c95f6f55fc5da328d5
MD5 d44ba95039dc25545e0a3fa8f813b073
BLAKE2b-256 61c60a12c369da277d664887ce455a8b075cbf8770b7b43167e69c09cdd0a422

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for topsis_manya_102203284-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 745d60a1b92e635e2481b00fe93568f153b533a98fdaf5bcad616da2952449b0
MD5 05a03d8df2eb8f44917ad1f8221c4d33
BLAKE2b-256 21229dac20f578a4f19902922045fea9ac8b78d101396553a625715c107ff1a3

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