title: Multiple Constraint Knapsack Problem
body: <p>If there is more than one constraint (for example, both a volume limit and a weight limit, where the volume and weight of each item are not related), we get the multiply-constrained knapsack problem, multi-dimensional knapsack problem, or m-dimensional knapsack problem.</p>
  
  <p>How do I code this in the most optimized fashion? Well, one can develop a brute force recursive solution. May be branch and bound.. but essentially its exponential most of the time until you do some sort of memoization or use dynamic programming which again takes a huge amount of memory if not done well.</p>
  
  <p>The problem I am facing is this</p>
  
  <p>I have my knapsack function 
  KnapSack( Capacity, Value, i) instead of the common
  KnapSack ( Capacity , i ) since I have upper limits on both of those. can anyone guide me with this? or provide suitable resources for solving these problems for reasonably large n</p>
  
  <p>or is this NP complete ?</p>
  
  <p>Thanks</p>