EASy68K  
It is currently Wed Nov 21, 2018 3:35 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Brute force search help
PostPosted: Tue Apr 10, 2018 6:16 pm 
Offline

Joined: Tue Apr 10, 2018 6:10 pm
Posts: 1
hello,
i have an assignment which is solving the knapsack problem. i am required to use the brute force method, which is basically generating all possible answers and then selecting the best one
now it can be manually done if i had like 4 or 5 objects but i have 16 objects which means i have 2^16 possible combinations to test for the answer

is there any code for a generalized brute force search available to be used or written?

thank you


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group