Python implementation of DECMO algorithms inside the JMetalPy framework
Project description
DECMOPY
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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
decmopy-1.0.0-py3-none-any.whl
(13.8 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5385baa621b9fdc53e91dc0744db7eb922287e0d193dffbe64857617707143b
|
|
| MD5 |
874ddfba82ae4d976b3cb1a397178783
|
|
| BLAKE2b-256 |
e97a4df7f9d89467d842994c05eb82b1fab6703fde31b718da6d573d59c104df
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9407efd51dd9d73f776c004be3cbcf50d63e244ea5417e72f7a8892a7f0aa15d
|
|
| MD5 |
5ad4ccb232d23d2aa7ee72cf0e16ce9b
|
|
| BLAKE2b-256 |
e710cdf35de9402deb317515ea8073db01a6ece607638632e75f18bee62a6737
|