search for: ytry

Displaying 1 result from an estimated 1 matches for "ytry".

Did you mean: try
2007 Oct 23
0
API for optimization with Simulated annealing
...e = &genptry_default; while ((k <= tmax) && (its < maxit)) /* iterate at constant temperature */ { - genptry(n, p, ptry, scale * t, ex); /* generate new candidate point */ + new_candidate(n, p, ptry, scale * t, ex); /* generate new candidate point */ ytry = fminfn (n, ptry, ex); if (!R_FINITE(ytry)) ytry = big; dy = ytry - y;