{"id":20637537,"url":"https://github.com/long-gong/mwm-lp-view","last_synced_at":"2026-03-07T22:03:13.688Z","repository":{"id":176487756,"uuid":"169013635","full_name":"long-gong/mwm-lp-view","owner":"long-gong","description":"Maximum Weighted Matching (MWM): Linear Program's View","archived":false,"fork":false,"pushed_at":"2019-02-04T01:35:22.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-09T08:40:49.267Z","etag":null,"topics":["glpk","linear-programming","mwm"],"latest_commit_sha":null,"homepage":"https://www.overleaf.com/read/hkdbjzxzxcpz","language":"AMPL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/long-gong.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-04T01:20:41.000Z","updated_at":"2019-02-04T01:35:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"4bbc23fd-c631-48aa-b976-4b91ddf33f32","html_url":"https://github.com/long-gong/mwm-lp-view","commit_stats":null,"previous_names":["long-gong/mwm-lp-view"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/long-gong/mwm-lp-view","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/long-gong%2Fmwm-lp-view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/long-gong%2Fmwm-lp-view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/long-gong%2Fmwm-lp-view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/long-gong%2Fmwm-lp-view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/long-gong","download_url":"https://codeload.github.com/long-gong/mwm-lp-view/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/long-gong%2Fmwm-lp-view/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30233429,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T19:01:10.287Z","status":"ssl_error","status_checked_at":"2026-03-07T18:59:58.103Z","response_time":53,"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":["glpk","linear-programming","mwm"],"created_at":"2024-11-16T15:14:57.053Z","updated_at":"2026-03-07T22:03:13.682Z","avatar_url":"https://github.com/long-gong.png","language":"AMPL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Maximum Weighted Matching: Linear Program's View\n\nSome examples for [Maximum Weighted Matching: from The Perspective of Linear Program](https://www.overleaf.com/read/hkdbjzxzxcpz).\nAll these examples are written by [Modeling Language GNU MathProg](http://gusek.sourceforge.net/gmpl.pdf).\n\n## Usages\n\nTo \"run\" these examples, you need first to install [GLPK](https://www.gnu.org/software/glpk/). After you install GLPK, you can simply run these examples by following the instructions shown below.\n\n```bash\n# Clone this repo\ngit clone https://github.com/long-gong/mwm-lp-view\n# cd to the root of this repo\ncd mwm-lp-view\n# run example 01 (others are similar)\nglpsol -m bmwm.mod -d bmwm_example_01.dat\n```\n\nIf everything goes right, you should expect to see the following output.\n\n```bash\nGLPSOL: GLPK LP/MIP Solver, v4.65\nParameter(s) specified in the command line:\n -m bmwm.mod -d bmwm.dat\nReading model section from bmwm.mod...\n59 lines were read\nReading data section from bmwm.dat...\nbmwm.dat:18: warning: final NL missing before end of file\n18 lines were read\nGenerating left...\nGenerating right...\nGenerating total_weight...\nGenerating obj...\nModel has been successfully generated\nGLPK Simplex Optimizer, v4.65\n8 rows, 10 columns, 29 non-zeros\nPreprocessing...\n6 rows, 9 columns, 18 non-zeros\nScaling...\n A: min|aij| =  1.000e+00  max|aij| =  1.000e+00  ratio =  1.000e+00\nProblem data seem to be well scaled\nConstructing initial basis...\nSize of triangular part is 6\n*     0: obj =  -0.000000000e+00 inf =   0.000e+00 (9)\n*     7: obj =   1.300000000e+01 inf =   0.000e+00 (0)\nOPTIMAL LP SOLUTION FOUND\nTime used:   0.0 secs\nMemory used: 0.1 Mb (127426 bytes)\n\n================================================================\nMaximum weighted bipartite matching has a weight of 13\n\nStarting node   Ending node   Edge weight    Edge in matching\n-------------   -----------   ------------   -----------\n            1             2              6             1\n            2             3              2             1\n            3             1              5             1\n================================================================\n\nModel has been successfully processed\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flong-gong%2Fmwm-lp-view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flong-gong%2Fmwm-lp-view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flong-gong%2Fmwm-lp-view/lists"}