EASy68K
http://www.easy68k.com/EASy68Kforum/

Brute force search help
http://www.easy68k.com/EASy68Kforum/viewtopic.php?f=6&t=1626
Page 1 of 1

Author:  Gawkie [ Tue Apr 10, 2018 6:16 pm ]
Post subject:  Brute force search help

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

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/