I am trying to solve the knapsack-problem, which is also an integer-programming problem. I have looked at several approximate solutions like dynamic-programming, greedy algorithm, branch-and-bound algorithm, genetic algorithms. Can you tell me a library(in any language) that helps implementing any/all of these algorithms?
Thanks in advance.
Here are a few implementations of the Knapsack Problem (KP):
javaknapsack.mod
)A simple web-search should get you many more examples because the knapsack problem is easy to solve (and to teach) using several of the techniques you mention.