3

I can't find any word about looking for function extrema (max/min) in apache-commons-math userguide.

How to find function min/max with help of apache-commons-math?

P.S. At least for polynomial function

Dirk
  • 30,623
  • 8
  • 82
  • 102
VB_
  • 45,112
  • 42
  • 145
  • 293

1 Answers1

0

A quick and easy approach would be to have your function as the cost function, pick one of the optimization routines that takes bounds, use those bounds to restrict your search range. Then optimize

JPC
  • 1,891
  • 13
  • 29