AssumeDeterministic
✖
AssumeDeterministic
is an option for functions such as BayesianMinimization that specifies whether or not the function being considered should be assumed to be deterministic.
Details

- With AssumeDeterministic->True, the function f being considered is assumed to be deterministic, so that f[conf] always gives the same value for a given configuration conf.
- With AssumeDeterministic->False, the function f being considered is assumed to be not necessarily deterministic, so that f[conf] can give different values on different evaluations when the configuration conf is the same.
- The typical default setting is AssumeDeterministic->False.
Examples
open allclose allBasic Examples (1)Summary of the most common use cases
Minimize a function over a region using BayesianMinimization with the specification that the function is deterministic:

https://wolfram.com/xid/0cpsyjy4e5rlo6-ekqb3f

Get the estimated minimum configuration:

https://wolfram.com/xid/0cpsyjy4e5rlo6-2o8f5m

Get the estimated minimum value:

https://wolfram.com/xid/0cpsyjy4e5rlo6-r1qqgk

For a deterministic function, the model value agrees to good precision with the function value for evaluated configurations:

https://wolfram.com/xid/0cpsyjy4e5rlo6-o7283h

Scope (1)Survey of the scope of standard use cases
Define a function over a domain defined by a random generator with no specifications:

https://wolfram.com/xid/0cpsyjy4e5rlo6-5nfob5
Minimize the function using BayesianMinimization without any specifications:

https://wolfram.com/xid/0cpsyjy4e5rlo6-7stas2

Get the minimum configuration and minimum value:

https://wolfram.com/xid/0cpsyjy4e5rlo6-1h5jge


https://wolfram.com/xid/0cpsyjy4e5rlo6-haarsk

The function is assumed to be stochastic: the model value at the minimum configuration may differ from the function value:

https://wolfram.com/xid/0cpsyjy4e5rlo6-mnejzj

Include information that the function is deterministic:

https://wolfram.com/xid/0cpsyjy4e5rlo6-2yvnc1

Get the minimum configuration and minimum value for the deterministic case:

https://wolfram.com/xid/0cpsyjy4e5rlo6-xoaqj3


https://wolfram.com/xid/0cpsyjy4e5rlo6-e4w4fw

Now the model value and function value at the minimum configuration agree to a good precision:

https://wolfram.com/xid/0cpsyjy4e5rlo6-ymi7v7

Wolfram Research (2016), AssumeDeterministic, Wolfram Language function, https://reference.wolfram.com/language/ref/AssumeDeterministic.html.
Text
Wolfram Research (2016), AssumeDeterministic, Wolfram Language function, https://reference.wolfram.com/language/ref/AssumeDeterministic.html.
Wolfram Research (2016), AssumeDeterministic, Wolfram Language function, https://reference.wolfram.com/language/ref/AssumeDeterministic.html.
CMS
Wolfram Language. 2016. "AssumeDeterministic." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AssumeDeterministic.html.
Wolfram Language. 2016. "AssumeDeterministic." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AssumeDeterministic.html.
APA
Wolfram Language. (2016). AssumeDeterministic. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AssumeDeterministic.html
Wolfram Language. (2016). AssumeDeterministic. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AssumeDeterministic.html
BibTeX
@misc{reference.wolfram_2025_assumedeterministic, author="Wolfram Research", title="{AssumeDeterministic}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/AssumeDeterministic.html}", note=[Accessed: 02-May-2025
]}
BibLaTeX
@online{reference.wolfram_2025_assumedeterministic, organization={Wolfram Research}, title={AssumeDeterministic}, year={2016}, url={https://reference.wolfram.com/language/ref/AssumeDeterministic.html}, note=[Accessed: 02-May-2025
]}