|
||||||
| General Programming Non language specific, Assembly, Linux/Unix, Mac and anything not covered in other topics. Talk about Programming Theory here. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
I need to make a program that takes in a list of people and their ranked preferences and places them in groups so that most people have their top choices, with a couple of restrictions.
I was trying to find discussion of this problem through google, but I guess my search words are incorrect. I could probably hack something together to do this but I want to try to do a decent job. If someone can direct me to other good articles and discussions that'd be fine. If not, if you have any tips on the best approach that would be great. Thanks. |
| Sponsored Links |
|
|
|
|||||
|
I've seen some discussions of this time of problem on math forums. It's an optimization problem, where you are trying to create a "best" score for the assignment.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum Programming is a branch of mathematics. |
|
|||
|
Looks like this is an application of I guess the classic assignment problem.
For future reference, the hungarian or munkres algorithm deals with this sort of thing. And also possibly bin packing, but I'm not quite sure on that one yet. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |
Goal: 100,000 Posts
Complete: 98%