101 reputation
1
bio website tsdexter.com
location Canada
age 28
visits member for 1 year, 7 months
seen Feb 2 '13 at 16:22

Recent graduate from Web Design and Development. Currently developing standards based HTML5/CSS3/JS websites and apps.


Feb
1
comment What kind of algorithm/formula would I need to calculate how many items need to fill requirements?
@RickDecker thanks - I'm noticing that now. Any input on my above comment and knapsack solution?
Feb
1
comment What kind of algorithm/formula would I need to calculate how many items need to fill requirements?
@ashley I'm having trouble fitting this into the Knapsack problem, which seems to be about maximizing 1 value while staying within the contraints of all the values, which is not quite what I want to do - I need to get as close as possible to all constraints - unless you can elaborate and explain where I'm going wrong? I've coded a solution to an unbounded knapsack problem and it won't quite do what I need as it really only cares about maximizing one of the contraints (item1 in this case) jsfiddle.net/tsdexter/knQ7G/1 - can it be modified for my case or is it not really a knapsack?
Feb
1
comment What kind of algorithm/formula would I need to calculate how many items need to fill requirements?
Thanks - this looks promising, researching it now.
Feb
1
comment What kind of algorithm/formula would I need to calculate how many items need to fill requirements?
thanks I'll look into those methods.
Jan
31
asked What kind of algorithm/formula would I need to calculate how many items need to fill requirements?
Jan
31
awarded  Autobiographer