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 782DAD275 for ; Sat, 1 Dec 2012 23:05:30 +0000 (UTC) Received: (qmail 4485 invoked by uid 500); 1 Dec 2012 23:05:29 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 4301 invoked by uid 500); 1 Dec 2012 23:05:29 -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 4293 invoked by uid 99); 1 Dec 2012 23:05:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Dec 2012 23:05:29 +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 (nike.apache.org: domain of kberlin@gmail.com designates 209.85.216.50 as permitted sender) Received: from [209.85.216.50] (HELO mail-qa0-f50.google.com) (209.85.216.50) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Dec 2012 23:05:21 +0000 Received: by mail-qa0-f50.google.com with SMTP id cr7so502487qab.9 for ; Sat, 01 Dec 2012 15:05:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=aO6LpcHB/oPnfycf4D9apscW8ZA245uLQyKF7Ej+1TM=; b=T87eI6/2tAvArKqLcSlnTrSMPQt8ps8NVi1JdnU5PPqXfk7enecpWDPHpPWVIHTOQr t5J7h7DzXjZrQpI54qh4uAIa0X2+MBg2AvIE0AkKr/Guq3zojiPBEQ6ietjpDTkNtEO5 WX1StZ3Gyl4NowR6y4oyO4ZNLZfVdj5vvr1LUBkEosHlnj8JeOe97y4ddEEqokwOWdR2 WraQ3dzV0YWrq0y2HnHqltfdDv56uB3fzUtqQ2eqIv05JLE8YNAFiml+M3aa/JO9J6jw +Y3kdo+28pldPsoEtgWW1Mr2kyGUW4JFZ5l01EHfUfi7sXG6RBvaatnfyLdgh51loYZ3 RoZQ== Received: by 10.224.176.138 with SMTP id be10mr10060614qab.50.1354403101106; Sat, 01 Dec 2012 15:05:01 -0800 (PST) Received: from [192.168.1.151] (pool-173-79-236-4.washdc.fios.verizon.net. [173.79.236.4]) by mx.google.com with ESMTPS id u8sm5471387qeu.2.2012.12.01.15.04.58 (version=SSLv3 cipher=OTHER); Sat, 01 Dec 2012 15:05:00 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: [Math] Old to new API ("MultivariateDifferentiable(Vector)Function") From: Konstantin Berlin In-Reply-To: <20121201225031.GN3397@dusk.harfang.homelinux.org> Date: Sat, 1 Dec 2012 18:04:57 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <245DF7F3-1003-4A47-BFF3-6877A64F38D8@gmail.com> <50B8F24E.1060104@free.fr> <20121130190625.GB3397@dusk.harfang.homelinux.org> <50B91160.10708@free.fr> <20121130221558.GE3397@dusk.harfang.homelinux.org> <20121130224446.GF3397@dusk.harfang.homelinux.org> <5A67B3E0-0F48-444F-B146-7CB29BB8435E@gmail.com> <20121201213439.GI3397@dusk.harfang.homelinux.org> <20121201225031.GN3397@dusk.harfang.homelinux.org> To: "Commons Developers List" X-Mailer: Apple Mail (2.1499) X-Virus-Checked: Checked by ClamAV on apache.org > There are probably various way to look at a "problem". >=20 > For example, I have a leastsquares "problem" but evaluating the = derivatives > is expensive (finite differences), so I nevertheless use the classes = in > "direct" (no derivatives). >=20 > [We had another discussion (raised by someone who detected what could = be > assimilated to bugs) about the "Complex" class (cf. MATH-667). But = since > nobody actually uses this class (in ways that trigger the issues), = there > is no push to implement another "view". Not sure that illustrates a = point > somehow... :-)] >=20 I am sorry, but being somewhat familiar with the topic the view you = presented seems incorrect and opposite to how people in the field use = optimizers. The reason why you have newton based methods is because = quadratic approximation pretty much beats any other approach to = minimization. The convergence rate is significantly faster than direct = methods, so it more than makes up for the fact that you have to compute = derivatives. The only time you should switch to a direct method is if = your energy landscape is rough and bumpy (like in a simulation). I refer you to slide 20 and beyond, with the link below: http://www.cs.umd.edu/users/oleary/a607/607unc2hand.pdf= --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org