Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CA32DE548 for ; Sun, 9 Dec 2012 17:13:22 +0000 (UTC) Received: (qmail 71183 invoked by uid 500); 9 Dec 2012 17:13:22 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 70805 invoked by uid 500); 9 Dec 2012 17:13:21 -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 70786 invoked by uid 99); 9 Dec 2012 17:13:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Dec 2012 17:13:21 +0000 Date: Sun, 9 Dec 2012 17:13:20 +0000 (UTC) From: "Gilles (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MATH-911) Remove usage of "DerivativeStructure" in the "optimization" package MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MATH-911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13527528#comment-13527528 ] Gilles commented on MATH-911: ----------------------------- Following the changes proposed in MATH-874, we could resolve this as "Won't fix": the current code is backward-compatible, and *all* classes in * o.a.c.m.optimization * o.a.c.m.optimization.direct * o.a.c.m.optimization.general * o.a.c.m.optimization.univariate are going to be deprecated (and replaced by those in package "o.a.c.m.optim", see MATH-874); thus reverting codes that will deleted afterwards seems to be unnecessary work. There is still the issue with the package * o.a.c.m.optimization.fitting Classes in that package also use "DerivativeStructure". Is it necessary or required? If so, adapters will probably be needed when calls are made to the new classes in package "o.a.c.m.optim" where all references to "DerivativeStructure" have been removed. If not necessary, then those classes have yet to be reverted to not use "DerivativeStructure". > Remove usage of "DerivativeStructure" in the "optimization" package > ------------------------------------------------------------------- > > Key: MATH-911 > URL: https://issues.apache.org/jira/browse/MATH-911 > Project: Commons Math > Issue Type: Task > Reporter: Gilles > Priority: Minor > Fix For: 3.1 > > > The "DerivativeStructure" class is not the proper interface towards user applications that deal with optimization problems. > Recent changes implies copying between e.g. the user's representation of a Jacobian and the "DerviativeStructure" representation of the same data. And, actually, the current implementation of "AbstractLeastSquaresOptimizer" copies back the "DerviativeStructure" representation into a "double[][]" for internal use. > [~kberlin] pointed out the potential storage inefficiencies in large-scale problems. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira