{"id":16282901,"url":"https://github.com/dito97/mister-cp-sat","last_synced_at":"2025-04-08T18:22:35.823Z","repository":{"id":124235141,"uuid":"379009495","full_name":"DiTo97/mister-cp-sat","owner":"DiTo97","description":"CP-SAT solver for the Mister app.","archived":false,"fork":false,"pushed_at":"2021-07-18T13:39:13.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T12:56:50.225Z","etag":null,"topics":["balancing","or-tools","sat"],"latest_commit_sha":null,"homepage":"","language":"Python","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/DiTo97.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-21T17:20:57.000Z","updated_at":"2021-07-18T13:39:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"f10e3fb2-403f-491a-8640-b59b42e026da","html_url":"https://github.com/DiTo97/mister-cp-sat","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/DiTo97%2Fmister-cp-sat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DiTo97%2Fmister-cp-sat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DiTo97%2Fmister-cp-sat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DiTo97%2Fmister-cp-sat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DiTo97","download_url":"https://codeload.github.com/DiTo97/mister-cp-sat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247898881,"owners_count":21014797,"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":["balancing","or-tools","sat"],"created_at":"2024-10-10T19:12:00.972Z","updated_at":"2025-04-08T18:22:35.804Z","avatar_url":"https://github.com/DiTo97.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mister-CP-SAT\n\nCP-SAT solver for the [Mister](https://github.com/GILD-Studios/mister) app developed with Google's [OR-Tools](https://developers.google.com/optimization) package.\n\n---\n\nGenerate **N** equally matched football teams given a list of players, the group size _n_ of an _n_-a-side football pitch, with _n_ being either 5, 6, or 7, the formation and the number of teams **N**.\n\nEach player has a name, a position and a rating. The position can either be _F_, for Forward, _M_, for Midfielder, and _D_, for Defender, while there's no signature letter for Goalkeepers as, granted a relatively small football pitch, they are assumed to be either flying or rotating between the players; the rating, instead, is between 0 and 100.  \n\nThe objective is to construct **N** groups whose sum of ratings is as close to the average as possible. Furthermore, depending on the group size _n_ and on the formation, a certain number of positions have to be covered, say k_i, with i being either _F_, _M_, or _D_, such that at least k players of the i-th position are in each group.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdito97%2Fmister-cp-sat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdito97%2Fmister-cp-sat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdito97%2Fmister-cp-sat/lists"}