[gecode-users] Python wrappers

Ellis Breen spacestation9 at googlemail.com
Fri Oct 30 00:11:00 CET 2009


2009/10/29 Guido Tack <tack at ps.uni-sb.de>

> Hi Ellis,
>
>
> Ellis Breen wrote:
>
>> I'm currently looking for a free-as-in-beer constraint programming library
>> with bindings in both C/C++ and Python. It seems Logilab started a Python
>> wrapper for Gecode but never completed it. Are there any rival
>> implementations? Would it be non-trivial to use SWIG for this?
>>
>
> we're currently implementing an interface to the Numberjack Python library
> (http://4c110.ucc.ie/numberjack/home).  It's work in progress, but we
> expect enough progress for it to be usable soon.  The interface is generated
> using SWIG.
>
> Wow, that looks amazing... A shame there's no direct Windows support but
I'll try playing with Cygwin/MinGW.


>
>  Apparently Cassowary also supports Python but I can't seem to find the
>> bindings.
>>
>> Also, has anyone attempted to integrate the Minizinc to Flatzinc compiler
>> into a project containing Gecode, to allow interpretation of Minizinc
>> scripts without using an intermediary program?
>>
>
> That's not so easy, because mzn2fzn is written in Mercury, and currently
> only available as a stand-alone program.  It's should be possible to wrap
> the Mercury code in a C library, but that hasn't been done yet.
>
> Ah... I guess it's not a showstopper, anyway, just makes deployment a bit
more complicated (I am planning to use it with both Windows and Linux
Buildbot slaves for enumerating test scenarios).

> Cheers,
>        Guido
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ps.uni-sb.de/pipermail/users/attachments/20091029/ee098b0a/attachment.htm>


More information about the gecode-users mailing list