News for hackers. Stuff that matters.
Re:Sudoku, Linear Optimization, and the Ten Cent Diet by sjtrny on Tuesday September 30, 2014 @06:11PM (#8391654)
If anyone is interested in exactly how to solve Sudoku via integer programming see the following: http://www.mathworks.com.au/help/optim/ug/solve-sudoku-puzzl...

It's a very elegant solution.

Re:Sudoku, Linear Optimization, and the Ten Cent Diet by dkarapetyan on Tuesday September 30, 2014 @07:32PM (#8392038)
Mixed-integer and 0-1 integer programming problems are NP-complete in the general case. You might as well use the backtracking approach which in my opinion is much more elegant.
Re:Sudoku, Linear Optimization, and the Ten Cent Diet by etrain on Tuesday September 30, 2014 @06:44PM (#8391830)
One thing often missing from these types of solutions (this one included) is that it's extremely easy to generalize them beyond the 9x9 case.