python dynamic-programming knapsack functools recursion mixed-integer The Mixed Integer 0-1 Knapsack Problem Note: Thanks to Shraddha Ghatkar for pointing out an error in my …