{"id":17111666,"url":"https://github.com/jbytecode/de","last_synced_at":"2025-03-23T22:22:09.711Z","repository":{"id":92231798,"uuid":"242558141","full_name":"jbytecode/de","owner":"jbytecode","description":"Dart Language implementation of Differential Evolution Optimization ","archived":false,"fork":false,"pushed_at":"2024-06-21T18:54:01.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T05:34:09.486Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jbytecode.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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}},"created_at":"2020-02-23T17:14:35.000Z","updated_at":"2024-06-21T18:54:05.000Z","dependencies_parsed_at":"2024-12-01T01:52:14.129Z","dependency_job_id":null,"html_url":"https://github.com/jbytecode/de","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbytecode%2Fde","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbytecode%2Fde/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbytecode%2Fde/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbytecode%2Fde/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jbytecode","download_url":"https://codeload.github.com/jbytecode/de/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245176404,"owners_count":20572944,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-14T16:56:49.668Z","updated_at":"2025-03-23T22:22:09.690Z","avatar_url":"https://github.com/jbytecode.png","language":"Dart","readme":"![Dart CI](https://github.com/jbytecode/de/workflows/Dart%20CI/badge.svg)\n\nA Library for Differential Evolution Optimization\n\n\n## Usage\n\nA simple usage example:\n\n```dart\nimport 'package:de/de.dart';\n\ndouble f(List\u003cdouble\u003e x) {\n  return -(pow(x[0] - 3.14159265, 2.0) + pow(x[1] - exp(1.0), 2.0));\n}\n\nvoid main(){\n  DE de = DE(f, [-500, -500], [500, 500], cr: 0.99, F: 1.20, popsize: 300);\n  de.iterateN(5000);\n  Solution best = de.getBest();\n  print(best);\n}\n```\n\n## Details\n* The objective function is always in the form of\n\n```dart\ndouble f(List\u003cdouble\u003e x){\n\n}\n```\n\n* The optimization is always a maximation. If the objective\nfunction of the problem is a minimization, the returned value of the\nobjective function can be multiplied by -1.0.\n\n* The default parameters of the classical Differential Evolution Optimization\nare set to cr = 0.8 and F = 1.0. These optimization parameters can be customized\nin the constructor of DE class.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbytecode%2Fde","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjbytecode%2Fde","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbytecode%2Fde/lists"}