Repository navigation
Return a temporal policy even when the optimal search does not finish - #63
Merged
Merged
Conversation
The optimal temporal search can run out of time: the two-site survey under unequal durations finds no policy in 600 s. The solver then returned nothing, though an untimed policy existed. It now gives the optimal search three quarters of the timeout. If that does not finish, it plans untimed in the rest and schedules the result with del-planner's schedule_untimed (0.5.0, pinned at 17cd874): each action starts as early as StartCheck allows after the sensing action that selects it has ended. That is an admissible temporal policy, no longer than the untimed one run in sequence, and on two-site's random-duration seeds 14-24% shorter than post-hoc dispatch; it is not necessarily the shortest, and the solver says so. temporal_max_expansions bounds the optimal search, which makes the fallback testable: test_8 forces it with a limit of one expansion, and the corridor mission still succeeds on the scheduled untimed policy.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The optimal temporal search can run out of time (two-site under unequal durations: no policy in 600 s, 42M expansions). The solver then returned nothing, though an untimed policy existed.
temporal::schedule_untimed(del-planner 0.5.0, Prune by remaining times, and schedule an untimed policy soundly (0.5.0) HanielUlises/del-planner#13): each action starts as early as StartCheck allows, after the sensing action selecting it ends. Admissible by construction, no longer than the untimed policy in sequence; on two-site's random-duration seeds 25-40% shorter than sequential and 14-24% shorter than post-hoc dispatch, 0/1200 noisy failures. It is not necessarily the shortest, and the solver logs that.EPISTEMIC.temporal_max_expansions(0 = none) bounds the optimal search, which makes the fallback testable.17cd874(0.5.0: the fallback scheduler and dominance pruning on remaining times); the planner asks forfind_package(aletheia 0.5).Testing on Humble:
temporal_plan_test5/5 (new: the scheduled untimed depot policy serialises, under 72 s); test_8 4/4 (new: one expansion forces the fallback, the planner returns the scheduled policy, the corridor mission succeeds). Rolling uncrustify and cpplint clean.