Results 1 to 2 of 2

Math Help - Optimization problem

  1. #1
    Newbie
    Joined
    Nov 2009
    Posts
    1

    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!!
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Joined
    Dec 2007
    From
    Ottawa, Canada
    Posts
    3,102
    Thanks
    68
    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
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Optimization Problem.
    Posted in the Calculus Forum
    Replies: 1
    Last Post: May 5th 2010, 01:44 AM
  2. Optimization Problem
    Posted in the Pre-Calculus Forum
    Replies: 4
    Last Post: March 27th 2010, 01:35 PM
  3. Optimization Problem 2
    Posted in the Calculus Forum
    Replies: 1
    Last Post: November 8th 2009, 08:59 AM
  4. Optimization Problem
    Posted in the Calculus Forum
    Replies: 3
    Last Post: November 16th 2008, 12:21 PM
  5. Optimization Problem
    Posted in the Calculus Forum
    Replies: 5
    Last Post: November 19th 2007, 02:04 AM

Search Tags


/mathhelpforum @mathhelpforum