[gecode-users] [ANN] gecode-python

Denys Duchier denys.duchier at univ-orleans.fr
Sat Aug 6 14:35:35 CEST 2011


I am pleased to announce the first release of gecode-python, a package
providing simplified Python bindings for Gecode.  It is available from
PyPI.

    easy_install gecode-python
or  easy_install --prefix ~ gecode-python

or by downloading the source code and executing in the source directory:

    python setup.py install
or  python setup.py install --prefix ~

This package is hosted on launchpad:

    https://launchpad.net/gecode-python

You can obtain a copy of the repository with:

    bzr branch lp:gecode-python

To illustate how these bindings can be used, here is SEND+MORE=MONEY:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: send_more_money.py
Type: text/x-python
Size: 1356 bytes
Desc: SEND+MORE=MONEY
URL: <http://www.gecode.org/pipermail/users/attachments/20110806/e3852cbd/attachment.py>
-------------- next part --------------

and here SEND+MOST=MONEY, for optimization:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: send_most_money.py
Type: text/x-python
Size: 1484 bytes
Desc: SEND+MOST=MONEY
URL: <http://www.gecode.org/pipermail/users/attachments/20110806/e3852cbd/attachment-0001.py>
-------------- next part --------------

There is currently no support for minimodel-like constraint posting, but
there is experimental support for "disjunctors" (speculative
disjunctions).

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: README
URL: <http://www.gecode.org/pipermail/users/attachments/20110806/e3852cbd/attachment.asc>
-------------- next part --------------

I welcome suggestions, bug reports (on launchpad), and contributions.

Cheers,

--Denys


More information about the users mailing list