Displaying 2 results from an estimated 2 matches for "genptry".
Did you mean:
entry
2007 Oct 23
0
API for optimization with Simulated annealing
...void samin(int n, double *x, double *Fmin, optimfn fn, int maxit,
int tmax, double temp, int trace, void *ex);
but I encountered the following problem:
The implementation of the function samin (as seen in src/main/optim.c)
passes its void * argument "ex" into the function genptry (implemented
in the same source file) and the function genptry expects that the void *
argument "ex" points to a struct opt_struct, from which genptry takes a
function generating a new candidate point (if it is present). The struct
opt_struct seems to be intended only for internal use in...
2007 Apr 13
1
Simulated annealing using optim()
I'm preparing some code to compute the optimal geometry of stressed
solids. The core of the calculations is the optimization of elastic energy
using the simulated annealing method implemented in the R optim() rutine.
I've defined a function to compute this "energy" scalar (the fn parameter
for optim) and prepared a list with the arrays defining the geometry and
the elastic