Modeling the electoral college as a knapsack problem

In my previous and first post about the electoral college, I tried to show how it is possible to get the necessary 270 votes to win the election in the college and do it winning the popular election in a minority of the states. Now we model the electoral college as a knapsack problem.

My approach was a bit simplistic (heuristic) and now I will show how to model the electoral college as an example of a very well-known problem in mathematical programming: the knapsack problem. In the knapsack problem, you want to fill the knapsack with a few items. Each item has a weight and some value to you, and you want to pack the knapsack with as much value as possible within the weight the knapsack (and your own back!) can hold.

transfer functions neural network
Kind of funny because the Democrats carry a big handicap in the electoral college
Continue reading “Modeling the electoral college as a knapsack problem”

The Simple Path to Wealth (book review)

“The Simple Path to Wealth” is the book by Jim Collins, that compiles and re-organizes everything in his Stock Series posts from the blog he started a few years ago to teach his daughter about finances.

The Simple Path to WealthI read his blog from beginning to end once and then just his Stock Series a second time. And then when I read the book I didn’t get much new (it was my third time reading the material after all) but the book is better organized (obviously) and is a bit more succinct (Collins tends to be a bit verbose in his blog), so if you read a few of his posts and they “click” then you may want to try and read the book. Also, having the book makes it easier to share with friends that could benefit from the knowledge (kind of part of my idea when I bought it).

Continue reading “The Simple Path to Wealth (book review)”

Best quotes from the 2018 letter from Warren Buffett to Berkshire Hathaway investors

Warren Buffett (tag) is the most famous investor ever, head of Berkshire Hathaway and known for his folksy demeanor, common-sense approach to investing (and life) and because every year he writes a letter to the investors in his company.

Continue reading “Best quotes from the 2018 letter from Warren Buffett to Berkshire Hathaway investors”

Learning to blog

So, I never thought blogging would be easy, and I started mostly because 1) I thought learning to blog would be fun and, 2) I had quit my regular/full-time/corporate/”real” job and it appeared that I would have a lot of time on my hands (haha, little did I know…). BUT! no matter how hard you think blogging is, it is harder.

learning to blog
Continue reading “Learning to blog”