Skip to main content

TOPSIS implementation using Python

Project description

TOPSIS

TOPSIS (Technique for Order Preference by Similarity to Ideal Solution) is a multi-criteria decision-making method used to rank alternatives based on their closeness to the ideal solution. It evaluates options by comparing their distance from the best and worst possible values of each criterion. The alternative closest to the ideal and farthest from the negative ideal is ranked highest.

Installation - USER MANUAL

Topsis-pooja-102303845 requires Python3 to run.

Other dependencies that come installed with this package are :- pandas numpy

Package listed on PyPI:- Use the following command to install this package:-

pip install Topsis-Pooja-102303845==1.0.0

Steps Involved in TOPSIS

  • Construct the Decision Matrix
    List all alternatives and their values for each criterion.

  • Normalize the Decision Matrix
    Convert different units into comparable, dimensionless values.

  • Apply Weights to Criteria
    Assign importance to each criterion based on its relevance.

  • Determine Ideal Solutions

    • Positive Ideal Solution (best values)
    • Negative Ideal Solution (worst values)
  • Calculate Separation Measures
    Find the distance of each alternative from both ideal solutions.

  • Calculate Relative Closeness
    Compute a score that shows how close each alternative is to the ideal solution.

  • Rank the Alternatives
    Higher score → better rank.

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_pooja_102303845-0.0.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

topsis_pooja_102303845-0.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file topsis_pooja_102303845-0.0.1.tar.gz.

File metadata

  • Download URL: topsis_pooja_102303845-0.0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for topsis_pooja_102303845-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4a68303ab8e92aa3c656fe35aae45d16cf7c02d8039bde8b917fae0224381b83
MD5 0cf1f81ad8b4f845bb2b2ca786c4f73f
BLAKE2b-256 39847724e2bfa6b5d975f02db03ed76c260b5d377b41e72052a0b9de7ab984ec

See more details on using hashes here.

File details

Details for the file topsis_pooja_102303845-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for topsis_pooja_102303845-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b87abc5b2ff06814d748720001556003464beef5467c843734cc62fc2dc6d1c8
MD5 7b48767b041c18eace6aa4fedc943f15
BLAKE2b-256 53064f90e9985d310d0a6726cf9698622808cc7afe6e1f5f89becb19a9530998

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