Re: [Math] About the API of the optimizers

2012-10-08 Thread Luc Maisonobe
Le 05/10/2012 16:56, Gilles Sadowski a écrit : > Hi. > >>> [...] What I clearly don't like in our setting is the complexity of the hierarchy with the generics. I have the same reluctance with the solvers hierarchy, and was directly hit by both when I needed to had a new fu

Re: [Math] About the API of the optimizers

2012-10-07 Thread Gilles Sadowski
Hi. > [...] I've created MATH-874. Let me know whether there is any objection to commit the proposed patch. I wonder whether there should be (working) defaults for "maxEval" and "goalType", or whether it is safer to let an exception be raised when the user has not set it at least once. I'd tend

Re: [Math] About the API of the optimizers

2012-10-07 Thread Sébastien Brisard
Dear Gilles and Luc, Just a quick note to say I'm sorry not to take part in this interesting thread, but I'm not familiar enough with neither this package, nor generics. Having met with the same kind of problems recently with generics in personal applications, I'm eager to read what your decision w

Re: [Math] About the API of the optimizers

2012-10-05 Thread Gilles Sadowski
Hi. > > [...] > >> > >> What I clearly don't like in our setting is the complexity of the > >> hierarchy with the generics. I have the same reluctance with the solvers > >> hierarchy, and was directly hit by both when I needed to had a new > >> function type for differentials (see > >>

Re: [Math] About the API of the optimizers

2012-10-04 Thread Luc Maisonobe
Hi Gilles, Le 05/10/2012 01:15, Gilles Sadowski a écrit : > On Thu, Oct 04, 2012 at 09:43:47PM +0200, Luc Maisonobe wrote: >> [Sorry for the strange format of this mail, but I managed to lose the >> original message from Gilles, so had to recreate it by copy/paste and >> adding the quotation marks

Re: [Math] About the API of the optimizers

2012-10-04 Thread Gilles Sadowski
On Thu, Oct 04, 2012 at 09:43:47PM +0200, Luc Maisonobe wrote: > [Sorry for the strange format of this mail, but I managed to lose the > original message from Gilles, so had to recreate it by copy/paste and > adding the quotation marks by hand...] > > Gilles wrote: > > Hello. > > > > This issue h

Re [Math] About the API of the optimizers

2012-10-04 Thread Luc Maisonobe
[Sorry for the strange format of this mail, but I managed to lose the original message from Gilles, so had to recreate it by copy/paste and adding the quotation marks by hand...] Gilles wrote: > Hello. > > This issue https://issues.apache.org/jira/browse/MATH-872 is about a > workaround similar

[Math] About the API of the optimizers

2012-10-03 Thread Gilles Sadowski
Hello. This issue https://issues.apache.org/jira/browse/MATH-872 is about a workaround similar to one already existing for "SimplexOptimizer", i.e. having a specific method (setter) to set data that cannot be passed through the common API ("optimize" method) and should not be specified at constr