Bohm Arahnmob
Bohm Arahnmob

Reputation: 65

Why do we numerically minimize functions and not maximize them?

Why do computers work better with minimizing functions rather than maximizing them? For example, when we apply the maximum likelihood method we have to maximize it and instead of maximizing it, we minimize the negative likelihood. I understand that these are equivalent, but why do we minimize a negative function, instead of just maximizing it?

Upvotes: 0

Views: 581

Answers (1)

Sneftel
Sneftel

Reputation: 41503

It’s just a convention. There is no fundamental difference between a minimisation algorithm and a maximisation algorithm; either can be used for either by negating the objective function as necessary. Standardising on minimisation means you don’t have to keep track of which direction a given optimiser is trying to go in.

Upvotes: 1

Related Questions