Text this: Application network programming method – knapsack problem and it's modification.