From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: ** X-Spam-Status: No, score=2.0 required=5.0 tests=DATE_IN_FUTURE_03_06 autolearn=disabled version=3.1.3 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 4AE72BC69 for ; Wed, 2 May 2007 16:55:34 +0200 (CEST) Received: from spartacus.cs.unipr.it (spartacus.cs.unipr.it [160.78.167.140]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l42EtXWT015374 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 2 May 2007 16:55:34 +0200 Received: from quark.cs.unipr.it (RunNat-130.univ-reunion.fr [194.199.73.130]) (authenticated bits=0) by spartacus.cs.unipr.it (8.13.7/8.13.7) with ESMTP id l42EtKg0028152 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 May 2007 16:55:23 +0200 Message-ID: <4638FABF.3080604@cs.unipr.it> Date: Wed, 02 May 2007 16:55:27 -0400 From: Roberto Bagnara Organization: Department of Mathematics, University of Parma, Italy User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050929 Thunderbird/1.0.7 Fedora/1.0.7-1.1.fc4 Mnenhy/0.7.3.0 MIME-Version: 1.0 To: guanhua he Cc: Richard Jones , caml-list@yquem.inria.fr, "The Parma Polyhedra Library developers' list" Subject: Re: [Caml-list] How to use C++ library iin OCaml? References: <20070502084159.137F8BC82@yquem.inria.fr> <46385CA3.4070101@dur.ac.uk> <20070502115517.GA27473@furbychan.cocan.org> <46388306.60602@dur.ac.uk> In-Reply-To: <46388306.60602@dur.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 4638A665.003 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 ocaml:01 solver:01 solver:01 0.10:98 cvs:01 cvs:01 sourceforge:01 prolog:01 wrote:01 integer:01 caml-list:01 interfaces:01 interfaces:01 arithmetic:01 guanhua he wrote: > I'd like to use the Parma Polyhedra Library > (http://www.cs.unipr.it/ppl/) to solve the convex-hull and widening > problems. Does it work in ocaml? Or any other good tools for ocaml? The CVS version of the PPL (what will become PPL 0.10) has an OCaml interface (in addition to C++, C, Prolog and Java interfaces). This version is not formally released yet, but you can obtain it by following the instructions at http://www.cs.unipr.it/ppl/Download/cvs#read-only-access The OCaml interface has not been heavily tested yet, but we believe it works OK. In any case, we will provide all the assistance you may need. > BTW, does ocaml work with the > LP_solver(http://lpsolve.sourceforge.net/5.5/) library? Or is there any > good LP solver for ocaml? The same version of the PPL features also a Mixed Linear/Integer Programming solver based on exact arithmetic. You can access it from all the interfaces, including the OCaml interface. Hope this helps, Roberto -- Prof. Roberto Bagnara Computer Science Group Department of Mathematics, University of Parma, Italy http://www.cs.unipr.it/~bagnara/ mailto:bagnara@cs.unipr.it