Click here to Skip to main content
15,890,186 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: Quadratic Rule Urgent Help needed Pin
cp98768-Apr-07 18:17
cp98768-Apr-07 18:17 
GeneralRe: Quadratic Rule Urgent Help needed Pin
pHysiX10-Apr-07 13:55
pHysiX10-Apr-07 13:55 
GeneralRe: Quadratic Rule Urgent Help needed Pin
BillW3324-May-07 8:01
professionalBillW3324-May-07 8:01 
QuestionFind Closest Sum of Numbers to a Given Number Pin
samv984-Apr-07 7:55
samv984-Apr-07 7:55 
AnswerRe: Find Closest Sum of Numbers to a Given Number Pin
Luc Pattyn4-Apr-07 10:39
sitebuilderLuc Pattyn4-Apr-07 10:39 
QuestionRe: Find Closest Sum of Numbers to a Given Number Pin
David Crow4-Apr-07 10:54
David Crow4-Apr-07 10:54 
AnswerRe: Find Closest Sum of Numbers to a Given Number Pin
Bassam Abdul-Baki5-Apr-07 3:25
professionalBassam Abdul-Baki5-Apr-07 3:25 
AnswerRe: Find Closest Sum of Numbers to a Given Number Pin
samv985-Apr-07 11:48
samv985-Apr-07 11:48 
I don't think this is a good idea. But I do appreciate your input. Ex: Assume that I had {78,43,35,35,28,23,8,5,4}. As per your explanation I get 78+12+8 = 98. But if I add 78+12+5+4 = 99 (this is closest to 100).

Let us take this way:
In our warehouse we process Pallets quickly (They are packed and ready to ship). Loose items go through multiple stages before they get out of door. So, they take time. We need to satisfy our customer. For example customer requested 100 pens. We got pallets (and partial pallets) like 78,43,35,35,23,8,5,4 (I am giving small numbers here for an example. We have pallets with minimum quantity above 100). With our current process we are going the same way you explained here and ship 98 first. Remaining 2 takes couple of days (or weeks) before they get out of door. If the difference is a small number not much problem. This loose quantity adding together putting more load on manual process and causing more delays (finally unhappy customer). You may ask how much difference 2 makes here (This is only an example. We get difference in 2 to 3 digits depending on item). I can’t lock tables for a long time trying to find best match for each request. So, I need to find best closest match quickly and proceed.


Thanks for your help in Advance.
Sam.
GeneralRe: Find Closest Sum of Numbers to a Given Number Pin
Luc Pattyn5-Apr-07 12:31
sitebuilderLuc Pattyn5-Apr-07 12:31 
GeneralRe: Find Closest Sum of Numbers to a Given Number Pin
cp98765-Apr-07 16:23
cp98765-Apr-07 16:23 
GeneralRe: Find Closest Sum of Numbers to a Given Number Pin
David Crow6-Apr-07 2:39
David Crow6-Apr-07 2:39 
GeneralRe: Find Closest Sum of Numbers to a Given Number Pin
cp98766-Apr-07 3:01
cp98766-Apr-07 3:01 
GeneralRe: Find Closest Sum of Numbers to a Given Number Pin
David Crow6-Apr-07 3:23
David Crow6-Apr-07 3:23 
GeneralRe: Find Closest Sum of Numbers to a Given Number Pin
cp98766-Apr-07 3:47
cp98766-Apr-07 3:47 
GeneralRe: Find Closest Sum of Numbers to a Given Number Pin
Bassam Abdul-Baki6-Apr-07 5:52
professionalBassam Abdul-Baki6-Apr-07 5:52 
GeneralRe: Find Closest Sum of Numbers to a Given Number Pin
samv986-Apr-07 6:09
samv986-Apr-07 6:09 
GeneralRe: Find Closest Sum of Numbers to a Given Number Pin
cp98768-Apr-07 21:49
cp98768-Apr-07 21:49 
GeneralRe: Find Closest Sum of Numbers to a Given Number Pin
samv989-Apr-07 9:06
samv989-Apr-07 9:06 
QuestionMath (statistics) problem that I just can't seem to get a grasp on Pin
David Crow4-Apr-07 4:00
David Crow4-Apr-07 4:00 
AnswerRe: Math (statistics) problem that I just can't seem to get a grasp on Pin
CPallini4-Apr-07 4:08
mveCPallini4-Apr-07 4:08 
AnswerRe: Math (statistics) problem that I just can't seem to get a grasp on Pin
Dan Neely4-Apr-07 4:13
Dan Neely4-Apr-07 4:13 
AnswerRe: Math (statistics) problem that I just can't seem to get a grasp on Pin
Rob Graham4-Apr-07 4:19
Rob Graham4-Apr-07 4:19 
GeneralRe: Math (statistics) problem that I just can't seem to get a grasp on [modified] Pin
cp98764-Apr-07 17:59
cp98764-Apr-07 17:59 
GeneralRe: Math (statistics) problem that I just can't seem to get a grasp on Pin
Rob Graham5-Apr-07 13:22
Rob Graham5-Apr-07 13:22 
GeneralRe: Math (statistics) problem that I just can't seem to get a grasp on Pin
cp98765-Apr-07 16:07
cp98765-Apr-07 16:07 

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.