# Mutation and recombination rate of DE algorithm in BlackBoxOptim

**URL:** <https://discourse.julialang.org/t/mutation-and-recombination-rate-of-de-algorithm-in-blackboxoptim/50726>\
**Category:** General Usage\
**Tags:** package, optimization\
**Created:** [November 25, 2020, 4:23am UTC](https://discourse.julialang.org/t/mutation-and-recombination-rate-of-de-algorithm-in-blackboxoptim/50726 "2020-11-25T04:23:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yusri-dh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yusri-dh/32/7404_2.png) [@yusri-dh](https://discourse.julialang.org/u/yusri-dh)\
**Post date:** [November 25, 2020, 4:23am UTC](https://discourse.julialang.org/t/mutation-and-recombination-rate-of-de-algorithm-in-blackboxoptim/50726/1 "2020-11-25T04:23:12Z")

</div>

Is there any way to know and change the mutation and recombination rate of the differential evolution algorithm in BlackBoxOptim?

---

<div class="post-metadata">

**Author:** ![jonathanBieler](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@jonathanBieler](https://discourse.julialang.org/u/jonathanBieler)\
**Post date:** [November 25, 2020, 9:50am UTC](https://discourse.julialang.org/t/mutation-and-recombination-rate-of-de-algorithm-in-blackboxoptim/50726/2 "2020-11-25T09:50:13Z")

</div>

It seems you can pass parameters for the method as the second argument of `bboptimize` (before keyword arguments).

[https://github.com/robertfeldt/BlackBoxOptim.jl/blob/master/src/bboptimize.jl#L69](https://github.com/robertfeldt/BlackBoxOptim.jl/blob/master/src/bboptimize.jl#L69)

You can see the default parameters here :

[https://github.com/robertfeldt/BlackBoxOptim.jl/blob/d21860724d80048f00d189c81ea81d20567809ec/src/differential\_evolution.jl#L3](https://github.com/robertfeldt/BlackBoxOptim.jl/blob/d21860724d80048f00d189c81ea81d20567809ec/src/differential_evolution.jl#L3)

[https://github.com/robertfeldt/BlackBoxOptim.jl/blob/d21860724d80048f00d189c81ea81d20567809ec/src/genetic\_operators/crossover/differential\_evolution\_crossover.jl#L12](https://github.com/robertfeldt/BlackBoxOptim.jl/blob/d21860724d80048f00d189c81ea81d20567809ec/src/genetic_operators/crossover/differential_evolution_crossover.jl#L12)

Not sure if there’s something like a recombination rate in there.

---

<div class="post-metadata">

**Author:** ![yusri-dh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yusri-dh/32/7404_2.png) [@yusri-dh](https://discourse.julialang.org/u/yusri-dh)\
**Post date:** [November 25, 2020, 1:45pm UTC](https://discourse.julialang.org/t/mutation-and-recombination-rate-of-de-algorithm-in-blackboxoptim/50726/3 "2020-11-25T13:45:43Z")

</div>

Great, thank you, this is what I need! 😀
