Many comments to the contrary notwithstanding, the odds are very good that your actual problem is not really NP-complete. My discussion of why not is kind of long, though, so I posted it as a meditation at NP-complete sometimes isn't.
Comment on Re: Divide array of integers into most similar value halves