Neural Networks for Optimization Problems with Inequality Constraints: The Knapsack Problem