Top critical review
78 people found this helpful
3.0 out of 5 starsHigh hopes but a little disappointed
ByBHon October 7, 2015
I had high hopes for this book given the reviews here. I bought this book brush up on my existing knowledge and learn new things and was very excited to receive it. There are some interesting points and I liked that it has a section on heuristics. It introduced me to the idea of simulated annealing, which I am using for a problem at work now actually, but like most things in the book I had to turn to the internet for a better explanation. The book is a bit wordy and hard to read at times.
The other major gripe I had is with the code examples. Most variables and method parameters are named a, k, c .. etc. For instance here is a method header in the backtracking section: construct_candidates(int a[], int k, int n, int c[], int *ncandidates)
This makes the code very hard to read and follow as well when you are a lines deep in a method trying to figure out what
k[i] - c + a is. It has been my experience that most math/engineer types and professors tend to write code this way vs giving things descriptive names so the code is easily understandable. The book would be 10X more valuable had the code samples been clearer. I ended up sending it back.