Skip to content
Prev 277068 / 398506 Next

optim seems to be finding a local minimum

Ben Bolker <bbolker <at> gmail.com> writes:
It is known that the Excel Solver has much improved during recent years.
Still there are slightly better points such as

    myfunc(c(0.889764228112319, 94701144.5712312))   # 334.18844

restricting the domain to [0, 1] x [0, 10^9] for an evolutionary approach,
for instance DEoptim::DEoptim().

Finding a global optimum in 2 dimensions is not so difficult. Here the scale
of the second variable could pose a problem as small local minima might be
overlooked easily.

Hans Werner