Wizard Book


Programming Python, Web, Android

Python : Sistem Pendukung Keputusan Multi-Objective Optimization on the Basis of Ratio Analysis (SPK MOORA)

Perhitungan Rumus SPK MOORA (Multi-Objective Optimization on the Basis of Ratio Analysis) Menggunakan Class Python MOORA

from moora_contohprogram_com import MOORA_

objmoora = MOORA_()
hsl = objmoora.calculate_(
    ["Opo", "Xiomey", "Zenpon", "Xpera", "Glaxy", "Vio", "Ipone"],
    ["RAM", "Kamera", "Storage", "Harga", "Ketebalan"],
    ["benefit", "benefit", "benefit", "cost", "cost"],
    [2.2, 2.1, 2.1, 2.8, 0.8],
    [
        [3, 70, 10, 80, 3000, 36],
        [3, 90, 10, 60, 2500, 48],
        [2, 80, 9, 90, 2000, 48],
        [3, 80, 9, 90, 2000, 48],
        [4, 80, 9, 90, 2000, 48],
        [3, 80, 9, 90, 2000, 48],
        [4, 70, 8, 50, 1500, 60]
    ]
)

print(objmoora.step_())
print(hsl)

Demo MOORA Python Online

email : contohprogram.com@gmail.com
WA : +6289671400363