You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Gilles Sadowski <gi...@harfang.homelinux.org> on 2011/02/21 13:29:25 UTC
[Math] MATH-519
[Please refer to
https://issues.apache.org/jira/browse/MATH-519
for the context of this discussion.]
Hi Luc.
> Anyway, returning NaN or POSITIVE_INFINITY would work only with some
> optimizers.
Do you mean that it would fail with some optimization _algorithms_ or some
unsafe _implementations_ of those algorithms?
In the former case, would "Double.MAX_VALUE" be OK?
In the latter, wouldn't there be a way to make the implementations behave
correctly in the face of those "special" values?
> For simple bounds on estimated parameters, this can be done using
> intermediate variables and mapping functions, [...]
Yes, but that would be slightly less efficient (because of additional
function calls).
If this is the best choice, I'll implement a "conversion" class (for the
"simple" bound case).
Best,
Gilles
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org