From: ptkwt@... (Phil Tomson) Date: 2004-11-15T11:33:21+09:00 Subject: Re: linear contraint solver In article <1100473407.30091@seven.kulnet.kuleuven.ac.be>, wannes wrote: >hello, > >I'm searching for a linear contraint solver that i can use in a >ruby-project. Looking around, I could only find cassowary[1] but it's in >c++/java. > >All help in finding such a thing written in ruby (or other good solvers >that can be ported to ruby) is welcome. > >[1] http://www.cs.washington.edu/research/constraints/cassowary/ According to the web page they have sample applications written in Smalltalk and Python. That would seem to imply that they've wrapped the C++ library for use in those languages. Perhaps you could use Swig (http://www.swig.org) to create a wrapper for these libraries so that you can access them from Ruby. This would be faster than a pure Ruby implementation which could be advantagous for something like this that is mathematically intense. Phil