8000 GitHub - dgsuarez/matchmaker
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dgsuarez/matchmaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matchmaker

Hacky, quick, dirty and very much brute force one-sided marriage problem solver. Will assign participants to groups based on their preferences, optimizing for participants "happiness"

Usage

cat data.csv | GROUP_SIZE=10 ROUNDS=500 matchmaker

Where data.csv a 2 column file with participants with their ranked preferred choices:

Participants, Choices
Participant A, Group 1
Participant A, Group 2
Participant A, Group 3
Participant B, Group 3
Participant B, Grou
5269
p 1
Participant B, Group 2
...

And

  • GROUP_SIZE Number of places available per group (default 1)
  • ROUNDS Number of permutations to build before choosing the best one (default 1000)
  • VERBOSE Print stats about the results (default false)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0