{"id":32174644,"url":"https://github.com/tsyet12/evoopt","last_synced_at":"2026-02-24T04:02:27.069Z","repository":{"id":34892534,"uuid":"186832141","full_name":"tsyet12/EvoOpt","owner":"tsyet12","description":"Python implementation of state-of-art meta-heuristic and evolutionary optimization algorithms. ","archived":false,"fork":false,"pushed_at":"2022-06-29T10:36:58.000Z","size":887,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-10T23:57:22.629Z","etag":null,"topics":["artificial-intelligence","artificial-intelligence-algorithms","evolutionary-algorithms","evolutionary-computation","optimization","optimization-algorithms","optimization-library","optimization-tools"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tsyet12.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-15T13:28:35.000Z","updated_at":"2025-12-09T13:32:07.000Z","dependencies_parsed_at":"2022-09-11T16:31:39.185Z","dependency_job_id":null,"html_url":"https://github.com/tsyet12/EvoOpt","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tsyet12/EvoOpt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsyet12%2FEvoOpt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsyet12%2FEvoOpt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsyet12%2FEvoOpt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsyet12%2FEvoOpt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsyet12","download_url":"https://codeload.github.com/tsyet12/EvoOpt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsyet12%2FEvoOpt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29771042,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T04:01:02.180Z","status":"ssl_error","status_checked_at":"2026-02-24T03:59:49.901Z","response_time":75,"last_error":"SSL_read: 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":["artificial-intelligence","artificial-intelligence-algorithms","evolutionary-algorithms","evolutionary-computation","optimization","optimization-algorithms","optimization-library","optimization-tools"],"created_at":"2025-10-21T19:03:01.517Z","updated_at":"2026-02-24T04:02:27.058Z","avatar_url":"https://github.com/tsyet12.png","language":"Python","readme":"# EvoOpt - Evolutionary Optimization in Python\n\n\n![EvoOpt Logo](https://user-images.githubusercontent.com/19692103/58713060-1de5bc00-83c2-11e9-8213-bf69e3382321.jpg)\n\u003ch3 align=\"center\"\u003e EvoOpt: Evolutionary Optimization in Python \u003c/h3\u003e\n\n\u003cdiv id=\"Navigation\"\u003e\n\u003cp align=\"center\"\u003e\n\t* Open sourced * Automatically Vectorized * Fast Computation * One Library Do-it-all\n\t\u003cbr/\u003e\n\t\u003ch3 align=\"center\"\u003e\u003ca href=\"https://github.com/tsyet12/issues\"\u003eReport Bug\u003c/a\u003e\n\t\t · \n\t\t\u003ca href=\"https://github.com/tsyet12/issues\"\u003e      Request Feature\u003c/a\u003e\u003c/h3\u003e\n\u003c/p\u003e\n\u003c/div\u003e\n\n\n[![Build Status](https://travis-ci.com/tsyet12/EvoOpt.svg?branch=master)](https://travis-ci.com/tsyet12/EvoOpt)\n[![PyPI-Status](https://img.shields.io/pypi/status/EvoOpt.svg?color=blue)](https://pypi.org/project/EvoOpt/)\n[![PyPI](https://img.shields.io/pypi/v/EvoOpt.svg?color=green)](https://pypi.org/project/EvoOpt/)\n[![dependencies](https://img.shields.io/librariesio/github/tsyet12/EvoOpt.svg)](https://github.com/tsyet12/EvoOpt/network/dependencies)\n![PyPI-Implementation](https://img.shields.io/pypi/implementation/EvoOpt.svg)\n![Python Version](https://img.shields.io/pypi/pyversions/EvoOpt.svg)\n![PyPI-License](https://img.shields.io/pypi/l/EvoOpt.svg?color=Green)\n[![LinkedIn](https://img.shields.io/badge/-LinkedIn-black.svg?style=flat-square\u0026logo=linkedin\u0026colorB=555)](https://www.linkedin.com/in/teng-sin-yong-richard-a18993123/)\n[![DOI](https://zenodo.org/badge/186832141.svg)](https://zenodo.org/badge/latestdoi/186832141)\n\nPython implementation of state-of-art meta-heuristic and evolutionary optimisation algorithms. \n\n**This library is implemented in Numpy (which was written in C) for fast processing speed**\n\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n## Table of Contents\n\n* [About the Project](#about-the-project)\n  * [Current support for algorithms](#current-support-for-algorithms)\n* [Getting Started](#getting-started)\n  * [Dependencies](#dependencies)\n  * [Installation](#installation)\n* [Usage](#usage)\n* [Contributing](#contributing)\n* [License](#license)\n* [Contact](#contact)\n* [Acknowledgements](#acknowledgements)\n\n\n\u003c!-- ABOUT THE PROJECT --\u003e\n## About The Project\n\n\n\n## Current support for algorithms\n\n[x] Genetic Algorithm\n\n[x] Duelist Algorithm\n\n[X] Particle Swarm Optimization\n\n[X] Gravitational Search Algorithm\n\n[X] Firefly Algorithm\n\n[X] Simulated Annealing\n\n[X] Multi-Verse Optimization\n\n[X] Grey-Wolf Optimization\n\nMore algorithms to come...\n\n\u003c!-- GETTING STARTED --\u003e\n## Getting Started\n\n**There are four simple steps to run an optimization problem using EvoOpt**\n\n(Example 2 from example folder)\n\n**Prerequisites**\n\n```python\nfrom EvoOpt.solver.DuelistAlgorithm import DuelistAlgorithm\n```\n\n**1. Define your function. Say you want to minimize the equation f=(x1,x2) = (x1)^2+(x2)^2 **\n\n```python\ndef f(x1,x2):\n\treturn x1*x1+x2*x2\n```\n\n**2. Define the variables that can be *manipulated* for optimization. Define their names as string and put them in an array. **\n\n```python\nx=[\"x1\",\"x2\"]\n```\n\n**3. Define the boundaries for the manipulated variables:**\n\n Say:\n\n x1 is bounded from -2 to 10 (-2 is min value of x1 and 10 is max value of x1)\n\n x2 is bounded from 10 to 15 (10 is min value of x2 and 15 is max value of x2)\n \n  We can arrange these boundaries according to the definition array in step 2.\n  \n | Variables | x1 | x2 |\n | :---: | :---: | :---: |\n | Min | -2 | 5 |\n | Max | 10 | 15 |\n\nThe corresponding code is:\n\n```python\n xmin=[-2,5]\n xmax=[10,15]\n```\n\n**4. Setup the solver and start the solve procedure.**\n\n```python\nDA=DuelistAlgorithm(f,x,xmin,xmax,max_gen=1000)\nDA.solve(plot=True)\n```\n\n\n**Example Result**\n\n![Result Image](https://user-images.githubusercontent.com/19692103/58713291-892f8e00-83c2-11e9-8756-e27967c32453.png)\n\n\n\n## Dependencies\nNumpy and Matplotlib\n\nWindows:\n```Bash\n\n$python -m pip install numpy matplotlib\n\n```\n\nLinux:\n\n```Bash\n$pip install numpy matplotlib\n```\n\n\n## Installation\n\nYou can use two methods for installation:\n\n**1. Install from github (recommended as this will download the newest version)**\n\nFirst download the git repository. You can do this by clicking the download button or using the git command:\n```BASH\n$ git pull https://github.com/tsyet12/EvoOpt\n```\n\u003cb\u003e\n  \nMove to the directory:\n  \n```BASH\n$ cd (directory of EvoOpt)\n```\n\nRun setup. The following command installs all files in directory:\n\n```BASH\n$ pip install -e .\n```\n\n\n**1. Install from pip **\n\nYou can install this package from pip. \n\nLinux:\n\n```BASH\n$ pip install EvoOpt\n```\n\nWindows:\n```BASH\n$python -m pip install EvoOpt\n```\n\n\u003c!-- USAGE EXAMPLES --\u003e\n## Usage\n\nTo be updated.\n\n\n\u003c!-- CONTRIBUTING --\u003e\n## Contributing\n\nContributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b testbranch/solvers`)\n3. Commit your Changes (`git commit -m 'Improve testbranch/solvers'`)\n4. Push to the Branch (`git push origin testbranch/solvers`)\n5. Open a Pull Request\n\n\n\u003c!-- LICENSE --\u003e\n## License\n\nDistributed under the BSD-2-Clause License. See `LICENSE`(https://github.com/tsyet12/EvoOpt/blob/master/LICENSE) for more information.\n\n\n\n\u003c!-- CONTACT --\u003e\n## Contact\n\nSin Yong Teng: tsyet12@gmail.com\n\nProject Link: [https://github.com/tsyet12/EvoOpt](https://github.com/tsyet12/EvoOpt)\n\n\n\u003c!-- ACKNOWLEDGEMENTS --\u003e\n## Acknowledgements\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsyet12%2Fevoopt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsyet12%2Fevoopt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsyet12%2Fevoopt/lists"}