Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0AA7EE4A4 for ; Thu, 17 Jan 2013 19:25:00 +0000 (UTC) Received: (qmail 6555 invoked by uid 500); 17 Jan 2013 19:24:59 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 6461 invoked by uid 500); 17 Jan 2013 19:24:59 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 6452 invoked by uid 99); 17 Jan 2013 19:24:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jan 2013 19:24:59 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [193.74.71.27] (HELO eir.is.scarlet.be) (193.74.71.27) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jan 2013 19:24:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scarlet.be; s=scarlet; t=1358450670; bh=14A3SiNDa8w7Vj1R5QKS2RHV4veqjZLLAFN/OE7Clx8=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=fVg3ie4ukVrHxG0zWeZ/kn4wqzBjq5e8Ha/EuoCmOIXPYzBH6cz1nDclhKyzlEYx+ tPieN+sys+RY6flJaFl+fzAZyi2ICQF7efNbTJBP/MZP/hG3wJXvlDOMjqAd5GAthy AxLMJXXF9A7FrXtiK9lAraSjwSxh+VeH9ZYp5mVE= Received: from mail.harfang.homelinux.org (ip-83-134-191-4.dsl.scarlet.be [83.134.191.4]) by eir.is.scarlet.be (8.14.5/8.14.5) with ESMTP id r0HJOTu0019073 for ; Thu, 17 Jan 2013 20:24:30 +0100 X-Scarlet: d=1358450670 c=83.134.191.4 Received: from localhost (mail.harfang.homelinux.org [192.168.20.11]) by mail.harfang.homelinux.org (Postfix) with ESMTP id 5181F61AD6 for ; Thu, 17 Jan 2013 20:24:29 +0100 (CET) Received: from mail.harfang.homelinux.org ([192.168.20.11]) by localhost (mail.harfang.homelinux.org [192.168.20.11]) (amavisd-new, port 10024) with ESMTP id YBSSBSooailn for ; Thu, 17 Jan 2013 20:24:27 +0100 (CET) Received: from dusk.harfang.homelinux.org (mail.harfang.homelinux.org [192.168.20.11]) by mail.harfang.homelinux.org (Postfix) with ESMTP id 14350617A5 for ; Thu, 17 Jan 2013 20:24:26 +0100 (CET) Received: from eran by dusk.harfang.homelinux.org with local (Exim 4.77) (envelope-from ) id 1Tvv4c-0007yn-Dh for dev@commons.apache.org; Thu, 17 Jan 2013 20:24:26 +0100 Date: Thu, 17 Jan 2013 20:24:26 +0100 From: Gilles Sadowski To: dev@commons.apache.org Subject: Re: [math] OptimizationData and LinearConstraintSet Message-ID: <20130117192426.GS5526@dusk.harfang.homelinux.org> Mail-Followup-To: dev@commons.apache.org References: <20130117145229.GQ5526@dusk.harfang.homelinux.org> <20130117152141.GR5526@dusk.harfang.homelinux.org> <50F845C6.9070804@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50F845C6.9070804@gmail.com> X-Operating-System: Tiny Tux X-PGP-Key-Fingerprint: 53B9 972E C2E6 B93C BEAD 7092 09E6 AF46 51D0 5641 User-Agent: Mutt/1.5.21 (2010-09-15) X-DCC-scarlet.be-Metrics: eir 20001; Body=1 Fuz1=1 Fuz2=1 X-Virus-Scanned: clamav-milter 0.97.1-exp at eir X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org > > [...] > > > > If we do not have the resources to dig further into the real problem, we can > > circumscribe it by indicating which interval of epsilon values are > > considered trustworthy (and declining all resposibility if user try pushing > > the implementation too far). > > Well, I do disagree. > I do not want to have a situation where users get different results with > each run. I want to have deterministic behavior for deterministic > algorithms. Do you suggest that the JVM algorithm is not deterministic? ;-) > Yes, there are numerical stability issues, which in this case can be > treated by relaxing the convergence criteria as the user did. Then, I propose that lower bound of the convergence criterion be set as a precondition and the algorithm will be deterministic in a more obvious way. > Otoh, we should have thorough testing where a permutation of the linear > constraints could be a useful addition to detect more such issues. For > such a flexible tool like the SimplexSolver, there will always be > problems where the solution is difficult to find, and will require some > tuning. Even octave (using the very good and mature glpk library) did > not find the optimal solution in this case. This even further convinces me that we should not change an implementation detail: such details simply must not have visible side-effects. It has a visible effect here because the precondition is not satisfied. Regards, Gilles --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org