Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!news.roellig-ltd.de!open-news-network.org!cyclone03.ams2.highwinds-media.com!news.highwinds-media.com!voer-me.highwinds-media.com!lightspeed.eweka.nl!lightspeed.eweka.nl!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.053 X-Spam-Evidence: '*H*': 0.89; '*S*': 0.00; 'yet.': 0.04; 'second.': 0.09; 'posted,': 0.16; 'programmatic': 0.16; 'solver': 0.16; 'wrote:': 0.18; 'finished': 0.19; "hasn't": 0.19; 'typing': 0.19; 'email addr:gmail.com>': 0.22; 'case.': 0.24; '>': 0.26; 'header:In-Reply-To:1': 0.27; 'to:2**1': 0.27; 'tried': 0.27; 'am,': 0.29; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; 'running': 0.33; 'received:google.com': 0.35; 'done': 0.36; 'skip:& 10': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'took': 0.61; 'first': 0.61; 'to:addr:gmail.com': 0.65; 'mar': 0.68; '26,': 0.68; '2015': 0.84; 'yet?': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ZtzmAyHJ16dX2GKmt8IfUNdiLrEVNHwYeeOAc5EF1H8=; b=ZyXVJXTl/29yYYbUp2QeCMhKHlGzSyI6vhCz5Dd8fMWsBjymq76d/toAF6Xvgo9xES z/+giWzJsIDlDpyHwqjaE5ippS7NPu0Tmb+JiZfSRufcJD1vFXGJmrbdaqL36knU9ziy Sont9Tb5DtrVkZ19Gi2IHsqPz16PeFYRRAX1M3WwBBrnNFXykWxj61elAc4FAfa8oAfI w9NnRL07aMqkBBNFJh1XtPYoN9GwjJ8rLAy+op0JeAyIp8PfvdULR9QKTlZor7CgIdCc KwoubJ2IvIz8E1bIQy7PRrZJch/z/RipHIWWqBaYkkZChIV8INeLPKcGj9yHxQkEg/iS 9++w== MIME-Version: 1.0 X-Received: by 10.60.174.19 with SMTP id bo19mr10168514oec.5.1427338613492; Wed, 25 Mar 2015 19:56:53 -0700 (PDT) In-Reply-To: References: <87r3sdnw5t.fsf@elektro.pacujo.net> <4e81bdb9-52db-46e6-b449-d4241cb2a3f2@googlegroups.com> <87twx8amww.fsf@elektro.pacujo.net> <87iodoakft.fsf@elektro.pacujo.net> Date: Thu, 26 Mar 2015 08:26:53 +0530 Subject: Re: Sudoku solver From: Abhiram R To: Ian Kelly , "comp. lang. python" Content-Type: multipart/alternative; boundary=089e011823620810a70512282b24 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.19 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 52 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1427339107 news.xs4all.nl 2965 [2001:888:2000:d::a6]:56987 X-Complaints-To: abuse@xs4all.nl X-Received-Body-CRC: 1667350358 X-Received-Bytes: 5031 Xref: csiph.com comp.lang.python:88016 --089e011823620810a70512282b24 Content-Type: text/plain; charset=UTF-8 On Mar 26, 2015 5:39 AM, "Ian Kelly" wrote: > > "Hard" for a human doesn't necessarily mean "hard" for a programmatic > solver in this case. Try your solver on this one: > > $ cat sudoku2.dat > . . . 7 . . . . . > 1 . . . . . . . . > . . . 4 3 . 2 . . > . . . . . . . . 6 > . . . 5 . 9 . . . > . . . . . . 4 1 8 > . . . . 8 1 . . . > . . 2 . . . . 5 . > . 4 . . . . 3 . . > > I tried the first puzzle you posted, and it took about a second. I > then started running it on this one before I started typing up this > post, and it hasn't finished yet. Sooooo... Is it done yet? And if yes, how long did it take? --089e011823620810a70512282b24 Content-Type: text/html; charset=UTF-8


On Mar 26, 2015 5:39 AM, "Ian Kelly" <ian.g.kelly@gmail.com> wrote:
>

> "Hard" for a human doesn't necessarily mean "hard" for a programmatic
> solver in this case. Try your solver on this one:
>
> $ cat sudoku2.dat
> . . . 7 . . . . .
> 1 . . . . . . . .
> . . . 4 3 . 2 . .
> . . . . . . . . 6
> . . . 5 . 9 . . .
> . . . . . . 4 1 8
> . . . . 8 1 . . .
> . . 2 . . . . 5 .
> . 4 . . . . 3 . .
>
> I tried the first puzzle you posted, and it took about a second. I
> then started running it on this one before I started typing up this
> post, and it hasn't finished yet.

Sooooo... Is it done yet? And if yes, how long did it take?

--089e011823620810a70512282b24--