Return-Path: X-Original-To: apmail-commons-user-archive@www.apache.org Delivered-To: apmail-commons-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 28162E66F for ; Mon, 31 Dec 2012 21:24:15 +0000 (UTC) Received: (qmail 26036 invoked by uid 500); 31 Dec 2012 21:24:13 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 25927 invoked by uid 500); 31 Dec 2012 21:24:13 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 25919 invoked by uid 99); 31 Dec 2012 21:24:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2012 21:24:13 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of enzhong.fu@pnc.com designates 216.82.253.163 as permitted sender) Received: from [216.82.253.163] (HELO mail166.messagelabs.com) (216.82.253.163) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2012 21:24:05 +0000 X-Env-Sender: enzhong.fu@pnc.com X-Msg-Ref: server-10.tower-166.messagelabs.com!1356989022!12956226!1 X-Originating-IP: [161.150.130.145] X-StarScan-Received: X-StarScan-Version: 6.6.1.8; banners=-,-,- X-VirusChecked: Checked Received: (qmail 2675 invoked from network); 31 Dec 2012 21:23:43 -0000 Received: from imr21.pncbank.com (HELO imr21.pncbank.com) (161.150.130.145) by server-10.tower-166.messagelabs.com with DHE-RSA-AES256-SHA encrypted SMTP; 31 Dec 2012 21:23:43 -0000 Received: from vwall20.pncbank.com ([10.58.45.251]) by imr21.pncbank.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id qBVLNCHa007254 for ; Mon, 31 Dec 2012 16:23:12 -0500 Received: from pncbank.com (wcdlp308a.pncbank.com [10.58.38.235]) by vwall20.pncbank.com (8.14.5/8.14.5) with ESMTP id qBVLNg7U005974 for ; Mon, 31 Dec 2012 16:23:42 -0500 Received: from vwall20 (vwall20 [127.0.0.1]) by pps.rte_to_v (8.14.5/8.14.5) with SMTP id qBVEwW5a004848 for ; Mon, 31 Dec 2012 16:23:42 -0500 Received: from wcmts329m.pncbank.com (WCMTS329M.pncbank.com [10.33.247.121]) by vwall20.pncbank.com with ESMTP id qBVLNgTK005971 for ; Mon, 31 Dec 2012 16:23:42 -0500 To: user@commons.apache.org MIME-Version: 1.0 Subject: [Math] BOBYQAOptimizer handle exception X-Mailer: Lotus Notes Release 8.5 December 05, 2008 Message-ID: From: enzhong.fu@pnc.com Date: Mon, 31 Dec 2012 16:23:34 -0500 X-MIMETrack: Serialize by Router on PNCCLEM11A/CLE/MAIL/PNC(Release 8.5.3 HF220|December 21, 2011) at 12/31/2012 04:23:41 PM, Serialize complete at 12/31/2012 04:23:41 PM Content-Type: multipart/alternative; boundary="=_alternative 00757A4E85257AE5_=" X-Proofpoint-Virus-Version: vendor=nai engine=5400 definitions=6942 signatures=667972 X-CFilter-Loop: Reflected X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 00757A4E85257AE5_= Content-Type: text/plain; charset="US-ASCII" I use BOBYQAOptimizer to do optimization for Black Scholes formula. maxEval is set to 200000, but I still got TooManyEvaluationsException. When it throws exception, I get nothing from the optimizer. CurrentBest is good enough, but it is private and there is no interface to get it. Generally, how do I handle exception with optimizer? I'd like to use currentBest in case of TooManyEvaluationsException. The contents of this email are the property of PNC. If it was not addressed to you, you have no legal right to read it. If you think you received it in error, please notify the sender. Do not forward or copy without permission of the sender. This message may contain an advertisement of a product or service and thus may constitute a commercial electronic mail message under US Law. The postal address for PNC is 249 Fifth Avenue, Pittsburgh, PA 15222. If you do not wish to receive any additional advertising or promotional messages from PNC at this e-mail address, click here to unsubscribe. https://pnc.p.delivery.net/m/u/pnc/uni/p.asp By unsubscribing to this message, you will be unsubscribed from all advertising or promotional messages from PNC. Removing your e-mail address from this mailing list will not affect your subscription to alerts, e-newsletters or account servicing e-mails. --=_alternative 00757A4E85257AE5_=--