Skip to content

Conversation

@tquatmann
Copy link
Member

  • Use acyclic min max solver when possible
  • enable caching of solver data to avoid some re-allocations
  • More careful treatment of exact computations

* Use acyclic min max solver when possible
* enable caching of solver data to avoid some re-allocations
* More careful treatment of exact computations
++numDigits;
middle = storm::utility::kwek_mehlhorn::sharpen<SolutionType, SolutionType>(numDigits, exactMiddle);
} while (middle <= *lowerBound || middle >= *upperBound);
// Check if the rationalCandidate has been within the bounds for four iterations.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we also do this if we are just searching to bound the value, rather than computing an exact number?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question, we don't seem to have a dedicated code path for thresholded properties.
@lukovdm do you already have something for that? If not, I can add it here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For stuff like VI, we do have terminationconditions, right? Would they be applicable here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With a bound value, we just need to invoke the WeightedReachabilityHelper once. I would probably write a dedicated method for that. Basically a stripped down variant of computeViaBisection.

We can and should use terminationconditions for the restart method, though.

Fortunately, we already pass the SolveGoal (which includes the bound) to the ConditionalHelper. So it is a relatively small change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants