Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 31197 invoked from network); 21 Oct 2010 11:09:42 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Oct 2010 11:09:42 -0000 Received: (qmail 37212 invoked by uid 500); 21 Oct 2010 11:09:42 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 37075 invoked by uid 500); 21 Oct 2010 11:09:42 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 37066 invoked by uid 99); 21 Oct 2010 11:09:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Oct 2010 11:09:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Oct 2010 11:09:39 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9LB9HJV017091 for ; Thu, 21 Oct 2010 11:09:17 GMT Message-ID: <32628332.4871287659357618.JavaMail.jira@thor> Date: Thu, 21 Oct 2010 07:09:17 -0400 (EDT) From: "Gilles (JIRA)" To: issues@commons.apache.org Subject: [jira] Created: (MATH-428) Simplify "DirectSearchOptimizer" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Simplify "DirectSearchOptimizer" -------------------------------- Key: MATH-428 URL: https://issues.apache.org/jira/browse/MATH-428 Project: Commons Math Issue Type: Improvement Reporter: Gilles Assignee: Gilles Priority: Minor Fix For: 3.0 This issue refers to classes in package {{optimization.direct}}. Currently the class {{NelderMead}} inherits from {{DirectSearchOptimizer}}. However the method {{doOptimize}} is implemented in {{DirectSearchOptimizer}}. This is backwards from the intended design (where an "optimizer" is defined as a class that implements a specific algorithm within {{doOptimize}}). According to this "terminology", {{DirectSearchOptimizer}} is the optimizer whereas {{NelderMead}} could be considered as a specific way to construct a simplex. Indeed, that's what seems intended since it overrides the abstract method {{iterateSimplex}}. I suggest to create 2 classes that will make it clear the separation between the "optimizer" and the "simplex manager". -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.