{"id":25927980,"url":"https://github.com/exanauts/activesetmethods","last_synced_at":"2025-03-03T21:11:20.708Z","repository":{"id":46817541,"uuid":"265924392","full_name":"exanauts/ActiveSetMethods","owner":"exanauts","description":"A Julia implementation of active set methods for continuous nonlinear optimization","archived":false,"fork":false,"pushed_at":"2021-09-28T16:17:24.000Z","size":1010,"stargazers_count":6,"open_issues_count":17,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-01-24T18:45:24.864Z","etag":null,"topics":["julia","nonlinear-optimization","optimization-algorithms"],"latest_commit_sha":null,"homepage":"","language":"Julia","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/exanauts.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":"2020-05-21T18:36:31.000Z","updated_at":"2023-11-08T14:33:33.000Z","dependencies_parsed_at":"2022-09-03T20:34:23.187Z","dependency_job_id":null,"html_url":"https://github.com/exanauts/ActiveSetMethods","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/exanauts%2FActiveSetMethods","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exanauts%2FActiveSetMethods/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exanauts%2FActiveSetMethods/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exanauts%2FActiveSetMethods/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exanauts","download_url":"https://codeload.github.com/exanauts/ActiveSetMethods/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241739426,"owners_count":20012103,"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":["julia","nonlinear-optimization","optimization-algorithms"],"created_at":"2025-03-03T21:11:20.151Z","updated_at":"2025-03-03T21:11:20.702Z","avatar_url":"https://github.com/exanauts.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ActiveSetMethods.jl\n![Run tests](https://github.com/exanauts/ActiveSetMethods/workflows/Run%20tests/badge.svg?branch=master)\n[![codecov](https://codecov.io/gh/exanauts/ActiveSetMethods/branch/master/graph/badge.svg)](https://codecov.io/gh/exanauts/ActiveSetMethods)\n\nThis is a Julia package that implements active set methods for continuous nonlinear optimization.\nThe package currently implements sequential linear programming methods.\n\n## Installation\n\n```julia\n]add https://github.com/exanauts/ActiveSetMethods.jl\n```\n\n## Example\n\nConsider the following quadratic optimization problem\n\n```\nmin   x^2 + x \ns.t.  x^2 - x = 2\n```\n\nThis problem can be solved by the following code snippet:\n```julia\n# Load packages\nusing ActiveSetMethods, JuMP\nusing GLPK # can be any LP solver\n\n# Number of variables\nn = 1\n\n# Build nonlinear problem model via JuMP\nmodel = Model(optimizer_with_attributes(\n    ActiveSetMethods.Optimizer, \n    \"external_optimizer\" =\u003e GLPK.Optimizer,\n    \"algorithm\" =\u003e \"Line Search\",\n))\n@variable(model, x)\n@objective(model, Min, x^2 + x)\n@NLconstraint(model, x^2 - x == 2)\n\n# Solve optimization problem\nJuMP.optimize!(model)\n\n# Retrieve solution\nXsol = JuMP.value.(X)\n```\n\n## Acknowledgements\n\nThis material is based upon work supported by the U.S. Department of Energy, Office of Science, under contract number DE-AC02-06CH11357.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexanauts%2Factivesetmethods","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexanauts%2Factivesetmethods","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexanauts%2Factivesetmethods/lists"}