Re: [R] genoud problem

2007-09-08 Thread Jasjeet Singh Sekhon
Hi Shubha, genoud does not return the initial fit value. But you could easily obtain it by passing your starting values to your function directly. Alternatively, one can have genoud print out the entire initial population (or the entire population as is evolves), and one can then decide to

[R] genoud problem

2007-09-01 Thread Shubha Vishwanath Karanth
Hi R users, genoud function of rgenoud package will optimize my function. If opt = genoud(fn,2,max=TRUE,starting.value=c(1,10),) opt$value will give the optimized value of the function, fn. My problem is from the same opt, can I get the value of the function at the initial