Click here to Skip to main content
15,843,865 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: NUMBER OF COMBINATIONS OF THE ARRANGEMENT OF CAPS Pin
Greg Utas23-Nov-21 6:14
professionalGreg Utas23-Nov-21 6:14 
QuestionC# Pin
Member 153810723-Oct-21 22:36
Member 153810723-Oct-21 22:36 
AnswerRe: C# Pin
Richard MacCutchan3-Oct-21 22:49
mveRichard MacCutchan3-Oct-21 22:49 
QuestionFunction of algorithm Pin
danindya1-Sep-21 16:52
professionaldanindya1-Sep-21 16:52 
AnswerRe: Function of algorithm - Spammer Pin
Dave Kreskowiak1-Sep-21 17:23
mveDave Kreskowiak1-Sep-21 17:23 
QuestionHelp with allocation algorithm Pin
Cynthia Moore24-Aug-21 20:43
Cynthia Moore24-Aug-21 20:43 
AnswerRe: Help with allocation algorithm Pin
Gerry Schmitz25-Aug-21 19:49
mveGerry Schmitz25-Aug-21 19:49 
GeneralRe: Help with allocation algorithm Pin
Cynthia Moore25-Aug-21 20:42
Cynthia Moore25-Aug-21 20:42 
Let me see if I understand what you are suggesting. I have 15-20 "takers". I give each of then a number from 1-20, right so far? Then I pick the items one at a time and draw one of the taker numbers from a hat, like a Bingo wheel. Whichever number comes up, that person gets the item. Right?

So I have almost 700 items. Are you seriously suggesting that I have 700 "draws"? If I could manage to keep each draw to 30 seconds, which I doubt, that would take almost 6 hours.

Then there is the problem that most of the takers will only want a few items. So I'd have to go through the numbers after each draw and only put in the ones who want that item. Now we are well over minute for each draw and well over 12 hours for the whole disaster.

Plus I don't want to try and find a time when all 20 takers are available.

I have the items in a database and I have a Google Sheet containing the list of items that I can share with each taker. At their leisure, they can browse the list of items and indicate which they want. I will merge those choices into an Excel sheet that will execute my allocation algorithm.

All I need is the algorithm. The key feature is breaking ties.

I am working on a way to calculate the percentage of the choices each taker has received. If 2 or more takers want the same item, I will either award it to the3 one with the lowest percentage or generate a weighted random number based on those percentages.
GeneralRe: Help with allocation algorithm Pin
Gerry Schmitz26-Aug-21 5:37
mveGerry Schmitz26-Aug-21 5:37 
GeneralRe: Help with allocation algorithm Pin
Cynthia Moore26-Aug-21 8:16
Cynthia Moore26-Aug-21 8:16 
AnswerRe: Help with allocation algorithm Pin
BillWoodruff28-Aug-21 17:09
professionalBillWoodruff28-Aug-21 17:09 
QuestionWhich is the more preferred approach for novice coders, depth first search, or, breadth first search? Pin
the prestige city23-Jul-21 2:23
professionalthe prestige city23-Jul-21 2:23 
AnswerRe: Which is the more preferred approach for novice coders, depth first search, or, breadth first search? Pin
Gerry Schmitz24-Jul-21 8:15
mveGerry Schmitz24-Jul-21 8:15 
AnswerRe: Which is the more preferred approach for novice coders, depth first search, or, breadth first search? Pin
David Camp5-Oct-22 15:51
David Camp5-Oct-22 15:51 
AnswerRe: Which is the more preferred approach for novice coders, depth first search, or, breadth first search? Pin
prestige primrose hills phase 210-Nov-22 23:21
professionalprestige primrose hills phase 210-Nov-22 23:21 
AnswerRe: Which is the more preferred approach for novice coders, depth first search, or, breadth first search? Pin
Provident Ecopolitan Bagalur20-Jul-23 22:09
Provident Ecopolitan Bagalur20-Jul-23 22:09 
QuestionFind cartesians for matrix elements Pin
Member 1528858613-Jul-21 20:38
Member 1528858613-Jul-21 20:38 
QuestionGuess A Word If Number Of Character Matches Are Given Pin
Member 1525570320-Jun-21 21:54
Member 1525570320-Jun-21 21:54 
AnswerRe: Guess A Word If Number Of Character Matches Are Given Pin
OriginalGriff20-Jun-21 22:01
mveOriginalGriff20-Jun-21 22:01 
QuestionWhat are the in-order and post-order traversals of the following tree? Pin
priyamtheone20-May-21 6:02
priyamtheone20-May-21 6:02 
AnswerRe: What are the in-order and post-order traversals of the following tree? Pin
harold aptroot20-May-21 8:08
harold aptroot20-May-21 8:08 
GeneralRe: What are the in-order and post-order traversals of the following tree? Pin
priyamtheone20-May-21 10:37
priyamtheone20-May-21 10:37 
GeneralRe: What are the in-order and post-order traversals of the following tree? Pin
harold aptroot20-May-21 10:48
harold aptroot20-May-21 10:48 
QuestionAlgorithm to rank items lower if they already appear higher in another category Pin
Member 117824613-Mar-21 20:41
Member 117824613-Mar-21 20:41 
AnswerRe: Algorithm to rank items lower if they already appear higher in another category Pin
Ralf Meier9-Mar-21 6:55
professionalRalf Meier9-Mar-21 6:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.