Re: Is it possible to make a program to generate a sudoku



On 13-8-2006 9:13, corporal commander wrote:
is it possible to make a program for generating a sudoku?if so how?

Yes that is possible. How? Well basically convert all the constraints in
a Sudoku square into a program. Fill the square with numbers, check if all constraints are valid. If so, you'll have one Sudoko almost ready to be solved (remove some entries from the square). If not, try again.

At <http://en.wikipedia.org/wiki/Sudoku> you'll find references to some Sudoku solvers programmed in Java. That may give you a start.
--
Regards,

Roland
.



Relevant Pages

  • Re: Least square minimization, particular case
    ... I am facing a least square minimization problem of the ... d is a row vector of size n, ... non-negativity constraints as well as ...
    (comp.soft-sys.matlab)
  • Re: Rotated square in space
    ... computing coordinates of points of a square in R^3 knowing their ... images under projection to a plane from a single light source: ... adding additional constraints involving additional variables u_i: ... These polynomials generate an ideal I in the polynomial ring ...
    (sci.math)
  • Re: square through 4 points (was Re Soddy)
    ... >> square has vanished in the wind. ... > segment AB, Wolfgang said there are generally 6 solutions. ... and of course the other three constraints are similar. ... are already given then must lie in the lunes between two circles. ...
    (sci.math)
  • Re: Request for Peer Review - Refutation of Cantor Theorem Conclusion
    ... In the infinite case you are, ... YOU promised that the list would be SQUARE, ... purposes of OUR diagonal theorem. ... any constraints. ...
    (sci.logic)