Suppose I have a function that is a constant, like 42, for example. And I want to minimize that function with respect to a variable such as t. Now, obviously, this makes no sense. The value of the function is always 42. But what does Mathematica return: -12/5
Minimize[42,t]
{42, {t -> -(12/5)}}
This doesn't make much sense to me. You appear to get the same -12/5 answer regardless of the value of the constant. I thought perhaps that Minimize was shifting to numerical methods, but if I run this:
NMinimize[42, t]
I get this:
{42., {t -> 0}}
Perhaps, this sentence in the documentation explains what is going on: "Even if the same minimum is achieved at several points, only one is returned."
So, bug, feature, user error? If it's a bug or feature, could a future version of Minimize return a better answer?