{"id":37069956,"url":"https://github.com/moead-framework/framework","last_synced_at":"2026-01-14T08:03:24.204Z","repository":{"id":45030042,"uuid":"269984003","full_name":"moead-framework/framework","owner":"moead-framework","description":"MOEA/D is a general-purpose algorithm framework. It decomposes a multi-objective optimization problem into a number of single-objective optimization sub-problems and then uses a search heuristic to optimize these sub-problems simultaneously and cooperatively.","archived":false,"fork":false,"pushed_at":"2022-10-17T12:18:58.000Z","size":11716,"stargazers_count":30,"open_issues_count":0,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-08T09:57:22.806Z","etag":null,"topics":["framework","modular-framework","moea","moead","multi-objective","multi-objective-optimization","operations-research","pypi","python"],"latest_commit_sha":null,"homepage":"https://moead-framework.github.io/framework/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moead-framework.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-06-06T13:06:49.000Z","updated_at":"2025-11-14T10:00:36.000Z","dependencies_parsed_at":"2025-04-14T14:49:57.462Z","dependency_job_id":"bafcb207-f891-4833-aef1-a003dcd55e67","html_url":"https://github.com/moead-framework/framework","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/moead-framework/framework","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moead-framework%2Fframework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moead-framework%2Fframework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moead-framework%2Fframework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moead-framework%2Fframework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moead-framework","download_url":"https://codeload.github.com/moead-framework/framework/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moead-framework%2Fframework/sbom","scorecard":{"id":656254,"data":{"date":"2025-08-11","repo":{"name":"github.com/moead-framework/framework","commit":"82e437678f5d54a13a71b8a97fa9a45cb6ec4685"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":1,"reason":"Found 2/13 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/moead-framework/framework/docs.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docs.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/moead-framework/framework/docs.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docs.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/moead-framework/framework/docs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/draft-pdf.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/moead-framework/framework/draft-pdf.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/draft-pdf.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/moead-framework/framework/draft-pdf.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/draft-pdf.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/moead-framework/framework/draft-pdf.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/moead-framework/framework/python-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/moead-framework/framework/python-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pythonapp_push.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/moead-framework/framework/pythonapp_push.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pythonapp_push.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/moead-framework/framework/pythonapp_push.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pythonapp_push.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/moead-framework/framework/pythonapp_push.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:23","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:24","Warn: pipCommand not pinned by hash: .github/workflows/pythonapp_push.yml:21","Warn: pipCommand not pinned by hash: .github/workflows/pythonapp_push.yml:22","Warn: pipCommand not pinned by hash: .github/workflows/pythonapp_push.yml:25","Warn: pipCommand not pinned by hash: .github/workflows/pythonapp_push.yml:32","Warn: pipCommand not pinned by hash: .github/workflows/pythonapp_push.yml:36","Info:   0 out of   7 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned","Info:   0 out of   7 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/docs.yml:1","Warn: no topLevel permission defined: .github/workflows/draft-pdf.yml:1","Warn: no topLevel permission defined: .github/workflows/python-publish.yml:1","Warn: no topLevel permission defined: .github/workflows/pythonapp_push.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENCE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENCE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2025-49 / GHSA-5rjg-fvgr-3xxf","Warn: Project is vulnerable to: GHSA-cx63-2mw6-8hw5","Warn: Project is vulnerable to: PYSEC-2022-43012 / GHSA-r9hx-vwmv-q579","Warn: Project is vulnerable to: PYSEC-2021-856 / GHSA-5545-2q6w-2gh6","Warn: Project is vulnerable to: GHSA-6p56-wp2h-9hxr","Warn: Project is vulnerable to: PYSEC-2021-857 / GHSA-f7c7-j99h-c22f","Warn: Project is vulnerable to: GHSA-fpfv-jqm9-f5jm"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 25 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-21T14:43:28.905Z","repository_id":45030042,"created_at":"2025-08-21T14:43:28.905Z","updated_at":"2025-08-21T14:43:28.905Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28413527,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["framework","modular-framework","moea","moead","multi-objective","multi-objective-optimization","operations-research","pypi","python"],"created_at":"2026-01-14T08:03:23.656Z","updated_at":"2026-01-14T08:03:24.184Z","avatar_url":"https://github.com/moead-framework.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MOEA/D Framework\n\n[![status](https://joss.theoj.org/papers/a81ea21d0358e013000b0b3b926bd4ba/status.svg)](https://joss.theoj.org/papers/a81ea21d0358e013000b0b3b926bd4ba)\n[![Python application](https://github.com/moead-framework/framework/workflows/Python%20application/badge.svg?branch=master)](https://github.com/moead-framework/framework/actions?query=workflow%3A%22Python+application%22)\n[![codecov](https://codecov.io/gh/moead-framework/framework/branch/master/graph/badge.svg?token=J7MAU5E6BB)](https://codecov.io/gh/moead-framework/framework)\n[![PyPI](https://img.shields.io/pypi/v/moead-framework)](https://pypi.org/project/moead-framework/)\n[![GitHub](https://img.shields.io/github/license/moead-framework/framework?style=flat)](https://github.com/moead-framework/framework/blob/master/LICENCE)\n[![build status](https://github.com/moead-framework/framework/workflows/Documentation/badge.svg?branch=master)](https://moead-framework.github.io/framework/html/index.html)\n\nThis python package *moead-framework* is a modular framework for multi-objective evolutionary algorithms by decomposition. \nThe goal  is to provide a modular framework for scientists and researchers interested in \nexperimenting with MOEA/D and its numerous variants.\n\nThe documentation is available here: [https://moead-framework.github.io/framework/](https://moead-framework.github.io/framework/html/index.html) and can be edited in the folder docs of this repository.\n\n# Installation instructions\n\nCreate a virtual environment with [conda](https://docs.conda.io/en/latest/miniconda.html) or [virtualenv](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/#creating-a-virtual-environment)\n\nThe package is available in pypi with a linux environment for python 3.6, 3.7, 3.8 and 3.9, you can install it with:\n\n    pip install moead-framework\n    \n# Example\n\nThe example requires two files : \n\n- ```instance_file``` is required by the [problem](https://moead-framework.github.io/framework/html/moead_framework/moead_framework.problem.combinatorial.rmnk.Rmnk.html#moead_framework.problem.combinatorial.rmnk.Rmnk). The file is available in the framework \n  in \"moead_framework/test/data/instances/\" or can be downloaded \n  from [https://github.com/moead-framework/data/tree/master/problem/RMNK/Instances](https://github.com/moead-framework/data/tree/master/problem/RMNK/Instances)\n  \n- ```weight_file``` is required by the [algorithm](https://moead-framework.github.io/framework/html/moead_framework/moead_framework.algorithm.combinatorial.moead.Moead.html#moead_framework.algorithm.combinatorial.moead.Moead). The file is available in the framework \n  in \"moead_framework/test/data/weights/\" or can be downloaded \n  from [https://github.com/moead-framework/data/tree/master/weights](https://github.com/moead-framework/data/tree/master/weights)\n  \n```python\nfrom moead_framework.aggregation import Tchebycheff   \nfrom moead_framework.algorithm.combinatorial import Moead   \nfrom moead_framework.problem.combinatorial import Rmnk  \nfrom moead_framework.tool.result import save_population\n    \n    \n###############################\n#   Initialize the problem    #\n###############################\n# The file is available here : https://github.com/moead-framework/data/blob/master/problem/RMNK/Instances/rmnk_0_2_100_1_0.dat\n# Others instances are available here : https://github.com/moead-framework/data/tree/master/problem/RMNK/Instances\ninstance_file = \"rmnk_0_2_100_1_0.dat\"\nrmnk = Rmnk(instance_file=instance_file)\n    \n    \n#####################################\n#      Initialize the algorithm     #\n#####################################\nnumber_of_weight = 10\nnumber_of_weight_neighborhood = 2\nnumber_of_evaluations = 1000\n# The file is available here : https://github.com/moead-framework/data/blob/master/weights/SOBOL-2objs-10wei.ws\n# Others weights files are available here : https://github.com/moead-framework/data/tree/master/weights\nweight_file = \"SOBOL-\" + str(rmnk.number_of_objective) + \"objs-\" + str(number_of_weight) + \"wei.ws\"\n    \n    \n###############################\n#    Execute the algorithm    #\n###############################\nmoead = Moead(problem=rmnk,\n                max_evaluation=number_of_evaluations,\n                number_of_weight_neighborhood=number_of_weight_neighborhood,\n                weight_file=weight_file,\n                aggregation_function=Tchebycheff,\n                )\n    \npopulation = moead.run()\n    \n    \n###############################\n#       Save the result       #\n###############################\nsave_file = \"moead-rmnk\" + str(rmnk.number_of_objective) \\\n                + \"-N\" + str(number_of_weight) \\\n                + \"-T\" + str(number_of_weight_neighborhood) \\\n                + \"-iter\" + str(number_of_evaluations) \\\n                + \".txt\"\n    \nsave_population(save_file, population)\n```\n\n# How to contribute\n\n[A guide is available](https://github.com/moead-framework/framework/blob/master/CONTRIBUTING.md) to explain the \nprocess of contributing to the project. The contribution can be the report of a bug, the request for a new feature or \nmodifying the code of the framework to improve it.\n\nWe have [a code of conduct](https://github.com/moead-framework/framework/blob/master/CODE_OF_CONDUCT.md), please follow it in all your interactions with the project.\n\n\n# Support\n\nIf you have any questions about the project, don't hesitate to create a [new discussion](https://github.com/moead-framework/framework/discussions/new) \nwith [GitHub Discussions](https://github.com/moead-framework/framework/discussions). It is the space for our community to have conversations, \nask questions and post answers without opening issues.\n\n\n# For developers \n\n## Requirements for developers\n\nThese requirements must be installed to use the commands in the following sections (unit test, documentation, package) :\n\n    pip install -r requirements.txt\n\n    pip install -r requirements-dev.txt\n\n## Tests: \n\nYou can execute unit tests with the following command in the git repository: \n\n    python3 -m unittest \n\n## Generate the documentation locally\n\nThe documentation can be generated locally if you want check changes. The documentation is generated with sphinx 2.4.4 (see the section 'Requirements for developers').\n\nYou can generate the documentation with the following commands :\n\n    cd docs/\n\n    make html\n\n\n## Build the package\n\nThe package is built with a github action. If you want to create manually a new package: \n\n    python3 setup.py sdist bdist_wheel\n \n    python3 -m twine upload dist/*\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoead-framework%2Fframework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoead-framework%2Fframework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoead-framework%2Fframework/lists"}