Re: [R] DEoptim example illustrating use of fnMap parameter for enforcement of cardinality constraints

2012-06-16 Thread David-Michael Lincke
To: David-Michael Lincke Cc: r-help@r-project.org Subject: Re: [R] DEoptim example illustrating use of fnMap parameter for enforcement of cardinality constraints Hi David, I apologize for the lack of documentation. I added it quickly and didn't have adequate time to document it. The fun

[R] DEoptim example illustrating use of fnMap parameter for enforcement of cardinality constraints

2012-06-15 Thread David-Michael Lincke
Function DEoptim in package DEoptim for differential evolution defines an optional parameter fnMap: fnMap "an optional function that will be run after each population is created, but before the population is passed to the objective function. This allows the user to impose integer/cardinality c