how to stop executing a function if its duration is too long ?
6 views (last 30 days)
Ameer Hamza on 13 Dec 2020
solve() cannot return a partial solution. It either does return a solution or throws an error or warning if it cannot find one. You can only stop it by pressing the ctrl+C keys.