logoalt Hacker News

thomasahleyesterday at 3:45 PM1 replyview on HN

Interview:

> We can solve this with a constraint solver

Ok, using your favorite constraint solver, please write a solution for this.

> [half an hour later]

Ok, now how would you solve it if there was more than 100 data points? E.g. 10^12?


Replies

nemetroidyesterday at 6:38 PM

Maybe some preprocessing, maybe column generation, depends on the problem.