A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://reference.wolfram.com/language/ref/TimeConstrained.html below:

TimeConstrained—Wolfram Language Documentation

WOLFRAM Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technology expertise.

WolframConsulting.com

BUILT-IN SYMBOL

TimeConstrained[expr,t,failexpr]

returns failexpr if the time constraint is not met.

Details Examplesopen allclose all Basic Examples  (2)

Terminate a computation if it takes more than 1 second:

Terminate a computation if it takes more than 2 seconds:

With the default method, it gets a (not quite as accurate) solution within the time constraint:

Scope  (2)

Specify the value to return if the time constraint is reached:

Use CheckAbort inside TimeConstrained to select which parts are skipped if the limit is reached:

Properties & Relations  (5) Wolfram Research (1988), TimeConstrained, Wolfram Language function, https://reference.wolfram.com/language/ref/TimeConstrained.html (updated 2007). Text

Wolfram Research (1988), TimeConstrained, Wolfram Language function, https://reference.wolfram.com/language/ref/TimeConstrained.html (updated 2007).

CMS

Wolfram Language. 1988. "TimeConstrained." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2007. https://reference.wolfram.com/language/ref/TimeConstrained.html.

APA

Wolfram Language. (1988). TimeConstrained. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TimeConstrained.html

BibTeX

@misc{reference.wolfram_2025_timeconstrained, author="Wolfram Research", title="{TimeConstrained}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/TimeConstrained.html}", note=[Accessed: 12-July-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_timeconstrained, organization={Wolfram Research}, title={TimeConstrained}, year={2007}, url={https://reference.wolfram.com/language/ref/TimeConstrained.html}, note=[Accessed: 12-July-2025 ]}


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4