Types as API for choosing methods
I do think that we need to adapt this here, just as we did in Optim. Is anyone strongly against?
I think this is a good idea. Then it is easy for algorithms to have their own set of algorithm-specific parameters that are easy for users to set.
I think this is a good idea. Then it is easy for algorithms to have their own set of algorithm-specific parameters that are easy for users to set.
:+1:
Alright, so a tiny problem here.. Do we call them Newton and NewtonTrustRegion as in Optim? If we don't, it''ll seem weird that they have different names. If we do, you need to prefix NLsolve. or Optim. if both are loaded. Does that seem like a reasonable thing do have? That you need to qualify if both are loaded.
I think Newton and NewtonTrustRegion are good suggestions.
Also prefixing with the module name is totally reasonable if both are loaded
Great, I'll have a stab at it one of these days.
Is this still on the todo list? If so, I might be able to have a stab at it. It'd be quite useful for me in a particular use case that I've got where I'd like to be able to choose a solver in a higher level interface and pass down method specific parameters without special casing the methods.
Yes it is. I think I have a branch somewhere that's half way there, but probably against an old master, so feel free to give it a go!