{"id":15284539,"url":"https://github.com/dschmitz89/ampgo","last_synced_at":"2025-10-07T00:32:09.516Z","repository":{"id":57410141,"uuid":"393926075","full_name":"dschmitz89/ampgo","owner":"dschmitz89","description":"Adaptive memory programming for Global Optimization","archived":false,"fork":true,"pushed_at":"2021-09-01T19:57:48.000Z","size":58385,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-09T18:51:55.434Z","etag":null,"topics":["global-optimization","heuristic-search-algorithms","nlopt","nonlinear-optimization","scipy","tabu-search"],"latest_commit_sha":null,"homepage":"https://ampgo.readthedocs.io/en/latest/index.html","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"andyfaff/ampgo","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dschmitz89.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-08T10:12:40.000Z","updated_at":"2021-09-19T09:51:30.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dschmitz89/ampgo","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/dschmitz89%2Fampgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dschmitz89%2Fampgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dschmitz89%2Fampgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dschmitz89%2Fampgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dschmitz89","download_url":"https://codeload.github.com/dschmitz89/ampgo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235569500,"owners_count":19011184,"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":["global-optimization","heuristic-search-algorithms","nlopt","nonlinear-optimization","scipy","tabu-search"],"created_at":"2024-09-30T14:58:06.905Z","updated_at":"2025-10-07T00:32:04.222Z","avatar_url":"https://github.com/dschmitz89.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ampgo\nGlobal optimization via adaptive memory programming with a scipy.optimize like API.\n\n## Installation\n```bash\npip install ampgo\n```\n\n## Example: Minimizing the six-hump camelback function in ampgo\n```python\nimport ampgo\n\ndef obj(x):\n    \"\"\"Six-hump camelback function\"\"\"\n    x1 = x[0]\n    x2 = x[1]\n    f = (4 - 2.1*(x1*x1) + (x1*x1*x1*x1)/3.0)*(x1*x1) + x1*x2 + (-4 + 4*(x2*x2))*(x2*x2)\n    return f\n\nbounds = [(-5, 5), (-5, 5)]\nres = ampgo.ampgo(obj, bounds)\nprint(res.x)\nprint(res.fun)\n```\n## Documentation\n\nFor the full API reference check out the [online documentation](https://ampgo.readthedocs.io/en/latest/index.html).\n\n## History\nCoded by Andrea Gavana, andrea.gavana@gmail.com. Original hosted at https://code.google.com/p/ampgo/.  Made available under the MIT licence. Usage and installation modified by Daniel Schmitz.\n\nDifferences compared to original version:\n* Support all of SciPy's local minimizers\n* Return a OptimizeResult class like SciPy's global optimizers\n* Require bounds instead of starting point\n* Jacobian and Hessian support\n* Support all of NLopt's local minimizers (requires [simplenlopt](https://simplenlopt.readthedocs.io/en/latest/index.html))\n* Drop support for OpenOpt solvers as OpenOpt has been stale for several years","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdschmitz89%2Fampgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdschmitz89%2Fampgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdschmitz89%2Fampgo/lists"}