Click here to Skip to main content
15,898,892 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: which mathematical subjects I need to know for learning algorithms Pin
Alan Balkany9-May-16 4:50
Alan Balkany9-May-16 4:50 
QuestionAlgorithm for Tournament tree Pin
Member 122971796-Apr-16 6:38
Member 122971796-Apr-16 6:38 
AnswerRe: Algorithm for Tournament tree Pin
Richard Deeming6-Apr-16 7:23
mveRichard Deeming6-Apr-16 7:23 
AnswerRe: Algorithm for Tournament tree Pin
Matt T Heffron6-Apr-16 9:40
professionalMatt T Heffron6-Apr-16 9:40 
AnswerRe: Algorithm for Tournament tree Pin
Alan Balkany9-May-16 4:56
Alan Balkany9-May-16 4:56 
GeneralRe: Algorithm for Tournament tree Pin
Alan Balkany9-May-16 6:22
Alan Balkany9-May-16 6:22 
QuestionAdding values from set to have certain value Pin
Member 124402526-Apr-16 1:57
Member 124402526-Apr-16 1:57 
AnswerRe: Adding values from set to have certain value Pin
Sascha Lefèvre6-Apr-16 3:05
professionalSascha Lefèvre6-Apr-16 3:05 
Sounds like a backtracking[^] candidate problem to me.

You would have to extend that classical approach to allow sub-optimal group-solutions (where sum < 10 or maybe also where sum > 10 up to a certain maximum)*, temporarily store all potential overall-solutions and when the backtracking is done, pick the best based on some criteria that you have to define. E.g. where the sum of differences from 10 is smallest (would be 8 in your example). Or, as you don't need the best possible solution, you could cancel the process once a satisfactory overall-solution has been found.

* : Which means that the evaluation should continue even after finding a potential group-solution until exceeding the tolerable limit.
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson

AnswerRe: Adding values from set to have certain value Pin
Eddy Vluggen6-Apr-16 3:38
professionalEddy Vluggen6-Apr-16 3:38 
AnswerRe: Adding values from set to have certain value Pin
Matt T Heffron6-Apr-16 9:42
professionalMatt T Heffron6-Apr-16 9:42 
QuestionMathematics Articles Pin
Matthew C Schmidt5-Apr-16 14:41
professionalMatthew C Schmidt5-Apr-16 14:41 
AnswerRe: Mathematics Articles Pin
Kenneth Haugland5-Apr-16 15:23
mvaKenneth Haugland5-Apr-16 15:23 
QuestionSet of objects with 2 properties divided in 2 subsets that are very balanced about their properties? Pin
Member 122519461-Apr-16 2:23
Member 122519461-Apr-16 2:23 
AnswerRe: Set of objects with 2 properties divided in 2 subsets that are very balanced about their properties? Pin
Sascha Lefèvre1-Apr-16 2:36
professionalSascha Lefèvre1-Apr-16 2:36 
AnswerRe: Set of objects with 2 properties divided in 2 subsets that are very balanced about their properties? Pin
Gerry Schmitz1-Apr-16 6:34
mveGerry Schmitz1-Apr-16 6:34 
QuestionDesign Secrete key generation program or Algorithm Pin
Durga Prasad Chauhan25-Mar-16 23:38
Durga Prasad Chauhan25-Mar-16 23:38 
AnswerRe: Design Secrete key generation program or Algorithm Pin
Sascha Lefèvre26-Mar-16 1:02
professionalSascha Lefèvre26-Mar-16 1:02 
Questionalgorithm Pin
jeanBrooklyn22-Mar-16 6:07
professionaljeanBrooklyn22-Mar-16 6:07 
AnswerRe: algorithm Pin
Richard MacCutchan22-Mar-16 7:17
mveRichard MacCutchan22-Mar-16 7:17 
AnswerRe: algorithm Pin
Matt T Heffron22-Mar-16 10:34
professionalMatt T Heffron22-Mar-16 10:34 
AnswerRe: algorithm Pin
Afzaal Ahmad Zeeshan23-Mar-16 10:28
professionalAfzaal Ahmad Zeeshan23-Mar-16 10:28 
Questiondivide and conquer master theorem Pin
gweijwoweij21-Mar-16 14:38
gweijwoweij21-Mar-16 14:38 
QuestionHow to decrypt unknown algorithm without a key? Pin
Member 1202769617-Mar-16 0:02
Member 1202769617-Mar-16 0:02 
GeneralRe: How to decrypt unknown algorithm without a key? Pin
Sascha Lefèvre17-Mar-16 1:29
professionalSascha Lefèvre17-Mar-16 1:29 
GeneralRe: How to decrypt unknown algorithm without a key? Pin
Eddy Vluggen17-Mar-16 1:41
professionalEddy Vluggen17-Mar-16 1:41 

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.