yacas
yacas copied to clipboard
No obvious timeout control available
I want to avoid getting stuck into a practically infinite search. Is there a way to cause all computations to error out if clock time exceeds e.g. 3 seconds? I'm looking for functionality like:
SetTimeout(3)
InfiniteLoop()
Or
WithTimeout(3) Solve({x + Sqrt(y) == 1, x + y == 2}, {x, y})
It would be nice to limit max iterations as well. However, that seems like something which would have to happen on a case by case basis.
WithMaxIterations(10) SumTriangle(100)