A Solution Strategy for a Class of Nonlinear Knapsack Problems