Discussion

Combinatorial Problem

This is not a homework problem. What's the best way to approach the following? 0-1 ILP works, but there might be something better:

Imagine you have a checkers board and a bag of black pieces. You want to place the pieces on the chess board so that there are no 4 in a row diagonally, vertically, or horizontally. What is the maximum number of pieces you can put on the board?

1 points PringleBoy 2 years ago 1 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton