Backtrack[s,partialQ,solutionQ]
performs a backtrack search of the state space s, expanding a partial solution so long as partialQ is True and returning the first complete solution, as identified by solutionQ.


Backtrack
Backtrack[s,partialQ,solutionQ]
performs a backtrack search of the state space s, expanding a partial solution so long as partialQ is True and returning the first complete solution, as identified by solutionQ.
Details and Options
- To use Backtrack, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
Tech Notes
Related Guides
-
▪
- Graph Properties ▪
- Graphs & Networks ▪
- Graph Visualization ▪
- Computation on Graphs ▪
- Graph Construction & Representation ▪
- Graphs and Matrices ▪
- Graph Properties & Measurements ▪
- Graph Operations and Modifications ▪
- Statistical Analysis ▪
- Social Network Analysis ▪
- Graph Properties ▪
- Mathematical Data Formats ▪
- Discrete Mathematics
Text
Wolfram Research (2012), Backtrack, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/Backtrack.html.
CMS
Wolfram Language. 2012. "Backtrack." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/Backtrack.html.
APA
Wolfram Language. (2012). Backtrack. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/Backtrack.html
BibTeX
@misc{reference.wolfram_2025_backtrack, author="Wolfram Research", title="{Backtrack}", year="2012", howpublished="\url{https://reference.wolfram.com/language/Combinatorica/ref/Backtrack.html}", note=[Accessed: 14-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_backtrack, organization={Wolfram Research}, title={Backtrack}, year={2012}, url={https://reference.wolfram.com/language/Combinatorica/ref/Backtrack.html}, note=[Accessed: 14-August-2025]}