How difficult would it be to code an algorithm given only a formula? For example coding out https://en.wikipedia.org/wiki/List_of_knapsack_problems