Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Mathimatics-Numerical algorithms Algorithm
Title: lab2 Download
 Description: 1) Given a knapsack with the capacity M and some items with its weight and profit, to solve it using Greedy method and Search tree method. 2) Then compare this results with ones of 0/1 Knapsack problem based on the capacity of M. 3) These items could be given likes: • M = 30 • (P1, P2, P3, P4, P5, P6)=(25,24,15,18,22,35) • (W1, W2, W3, W4, W5, W6) = (12, 15, 10, 8, 9, 11) 4) These items could constructed by the random() function in some range, such as: (Wmin, Wmax) and (Pmin, Pmax) and the number of item could be more.
 Downloaders recently: [More information of uploader 123]
 To Search:
File list (Check if you may need any files):
 

周宇梁 201430571102.doc
lab2.cpp
    

CodeBus www.codebus.net