chap 10 Simulating Annealing, amebsa.h


dayalag
12-08-2009, 01:00 PM
Hi everybody,

I am new in C++. I am trying to use the Simulating Annealing code (amebsa.h).

I wanted to start with an easy example. Can anyone help me to write a function like:
f(x)= (x1-0.5)^2 - (x2-0.5)^2 + 3

in the code??

thanks

Diego