commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Math] BOBYQAOptimizer handle exception
Date Mon, 31 Dec 2012 21:23:34 GMT
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. 
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.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message