Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > University Math Help > Business Math
Reply
 
Thread Tools Display Modes
  #1  
Old November 10th, 2009, 03:06 PM
Newbie
 
Join Date: Nov 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Raman325 is on a distinguished road
Default Optimization problem

Hi,

OK here's what I'm trying to do. Lets say I have 25 items of different values and I have 15 slots. I want to place those items in those slots such that the sum of the values of items in each slot is minimized. It's kind of like the knapsack problem, but its a little different. Can you point me to the right algorithm? I need to write this into VBA code for my job, but I'm not sure how to proceed. Thanks in advance for your help!!
Reply With Quote
Advertisement
 
  #2  
Old November 10th, 2009, 08:55 PM
Super Member
 
Join Date: Dec 2007
Location: Ottawa
Posts: 693
Country:
Thanks: 0
Thanked 125 Times in 120 Posts
Wilmer will become famous soon enoughWilmer will become famous soon enough
Default

Hard to tell what you mean.
Say we have 3 slots and 5 items at 1,3,4,7,9; is this what you have in mind:
Slot1 : 3,4
Slot2 : 1,7
Slot3 : 9
__________________
I'm a social drinker; when someone says "I'm having a drink", I answer "so shall I".
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 04:21 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.