Compute intervals based on a model
A function to get the possible values for an expression