Thread: Knapsack

  1. #1
    Anirban Ghosh
    Join Date
    Jan 2006
    Posts
    278

    Knapsack

    Can anyone give me link of Unbounded knapsack algorithm...Please I need it immediately!!!!!!! Couldn't find in Google! I need to implement it in my assignment in C..

  2. #2
    Registered User
    Join Date
    Jul 2006
    Posts
    162
    there must be this confusion about forum rules, it seems people assume they are here to be broken, because i guess it must seem like everyone who thought they were necessary was just joking around. it's hilarious isn't it.

    maybe you deserve some bad grades to motivate you more.

    why don't you take a shot at it and come back with problems you have solving it. because we aren't code generating monkeys waiting around to server others needs.

    :-)

    edit again: you said c, this is the c++ forum.

    (the more work people do for you, the more likely you are to fail in practice.)
    Last edited by simpleid; 08-20-2007 at 09:32 AM.

  3. #3

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    At the risk of handing you homework on a plate, try
    http://www.nist.gov/dads/HTML/unboundedKnapsack.html

    Re-reading this again would be a good idea for your netiquette (or lack of)
    http://catb.org/~esr/faqs/smart-questions.html
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  5. #5
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    6,318
    Quote Originally Posted by anirban View Post
    Please help me cheat with my assignment. I left it to the last minute so now I need to copy someone else's answer. I tried asking on a previous thread but it got closed for the same reason this one is about to be closed.
    'Nuff said!

    Disclaimer: Minor modifications made to quoted post.
    My homepage
    Advice: Take only as directed - If symptoms persist, please see your debugger

    Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. knapsack problem
    By fnfn in forum C++ Programming
    Replies: 1
    Last Post: 07-19-2007, 03:14 PM
  2. Help with my Knapsack Code
    By ghop2003 in forum C++ Programming
    Replies: 4
    Last Post: 11-24-2006, 03:08 PM
  3. Knapsack Problem
    By Fork in forum C Programming
    Replies: 4
    Last Post: 11-13-2006, 12:42 PM
  4. need help with simple knapsack problem
    By Mkk84 in forum C++ Programming
    Replies: 1
    Last Post: 12-17-2001, 01:54 PM
  5. Multiple Knapsack Problem
    By polymeta in forum C Programming
    Replies: 3
    Last Post: 11-15-2001, 08:03 PM