How to rearrange array using Python?

Martin Schöön martin.schoon at gmail.com
Fri Jul 31 16:40:42 EDT 2015


Den 2015-07-31 skrev Thomas 'PointedEars' Lahn <PointedEars at web.de>:
> Mark Lawrence wrote:
>> 
>> I'm not absolutely certain but I think you're into what's known as a
>> constraint satisfaction problem, in which case this
>> https://pypi.python.org/pypi/python-constraint/1.2 is as good a starting
>> point as any.  If I'm wrong we'll soon get told :)
>
> It is a CSP indeed, and as I was reading the OP I was thinking of SWI-
>
Thanks guys, I will follow up on the CSP lead. It is not something I
have prior experience of so it will be interesting.

> Please trim your quotes to the relevant minimum.
>
Indeed.

/Martin



More information about the Python-list mailing list