Skip to main content

Python implementation of DECMO algorithms inside the JMetalPy framework

Project description

DECMOPY

License: MIT

Python implementation of DECMO algorithms inside the JMetalPy 1.5.5 framework.

Installation

pip install decmopy

DECMO

from jmetal.problem import ZDT1
from decmopy import DECMO_FLOAT

def main():
    problem = ZDT1()

    algorithm = DECMO_FLOAT(problem, max_iterations=250)
    result = algorithm.run()
    print(f"Algorithm: ${algorithm.get_name()}")
    print(f"Problem: ${problem.get_name()}")
    print(f"Final non-dominted solution set size: ${len(result)}")

if __name__ == "__main__":
    main()

DECMO2

from jmetal.problem import ZDT1
from decmopy import DECMO2

def main():
    problem = ZDT1()

    algorithm = DECMO2(problem, max_iterations=250)
    result = algorithm.run()
    print(f"Algorithm: ${algorithm.get_name()}")
    print(f"Problem: ${problem.get_name()}")
    print(f"Final non-dominted solution set size: ${len(result)}")

if __name__ == "__main__":
    main()

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

decmopy-1.0.0.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

decmopy-1.0.0-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: decmopy-1.0.0.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for decmopy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d5385baa621b9fdc53e91dc0744db7eb922287e0d193dffbe64857617707143b
MD5 874ddfba82ae4d976b3cb1a397178783
BLAKE2b-256 e97a4df7f9d89467d842994c05eb82b1fab6703fde31b718da6d573d59c104df

See more details on using hashes here.

File details

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

File metadata

  • Download URL: decmopy-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for decmopy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9407efd51dd9d73f776c004be3cbcf50d63e244ea5417e72f7a8892a7f0aa15d
MD5 5ad4ccb232d23d2aa7ee72cf0e16ce9b
BLAKE2b-256 e710cdf35de9402deb317515ea8073db01a6ece607638632e75f18bee62a6737

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page