Skip to content

docs(de): drop the ignored dither keyword, document prob_mut - #802

Open
tachsin wants to merge 1 commit into
anyoptimization:mainfrom
tachsin:docs-de-dither-prob-mut
Open

tachsin wants to merge 1 commit into
anyoptimization:mainfrom
tachsin:docs-de-dither-prob-mut

Conversation

@tachsin

@tachsin tachsin commented Sep 28, 2026

Copy link
Copy Markdown

Fixes #801.

  • docs/source/algorithms/soo/de.md and examples/algorithms/soo/nonconvex/de.py: removed dither="vector", which DE ignores (the results are unchanged).
  • docs/source/algorithms/soo/de.md: one sentence on the polynomial mutation DE applies to each trial with probability prob_mut (default 0.1), and prob_mut=0.0 to turn it off.

Tested: pytest -m examples tests/test_examples.py -k "nonconvex and de.py" passes, and the page's code (via jupytext --to py) runs.

DE passes unknown keywords to Variant, which drops them, so
dither="vector" had no effect. The polynomial mutation that DE applies
to each trial with probability prob_mut (default 0.1) wasn't mentioned.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] DE docs: dither="vector" is ignored, and the default polynomial mutation (prob_mut=0.1) isn't documented

1 participant