title: multidimensional knapsack coding in objective-c
body: <p>I am new here so bear with me in my best attempts at formulating detailed questions in keeping with the spirit of this site.</p>
  
  <p>I am working within objective-c on an algorithm for a multidimensional knapsack problem in which there is a number on user determined constraints.  In this instance of baseball players:</p>
  
  <p>I want to solve for creating a list from a database of players based on the cumulative constraints of:</p>
  
  <ul>
  <li><p>salary (equal or as close to 100 million)</p></li>
  <li><p>home runs (total equal to or as close to 150)</p></li>
  <li><p>RBIs (equal to or as close to 200)</p></li>
  </ul>
  
  <p>and Yes or No selections of </p>
  
  <ul>
  <li>over/under age of 30: Yes or No</li>
  <li>Born outside U.S: Yes or No</li>
  </ul>
  
  <p>I have had luck in finding some help with coding for a simple knapsack problem in which there are 2 dimensions involved (weight and value) but not so much in finding answers for multiple dimensions beyond that.</p>
  
  <p>Can anyone offer some advice on this for me? Thank you in advance.</p>