Summary
@emma58 - This line has caused me some problems. If I remember correctly, this was preventing me from evaluating the PWL function at the bounds. I will go back and refresh my memory to make sure that was the only problem, but I wanted to see if you remember why this is needed. I've had better luck using 1e-10 instead of 1e-4. Tolerances like this are tricky, and I'm always hesitant to change them. Maybe we should expose this as an option? If so, what do you think of min_distance_to_bounds for a name?
Summary
@emma58 - This line has caused me some problems. If I remember correctly, this was preventing me from evaluating the PWL function at the bounds. I will go back and refresh my memory to make sure that was the only problem, but I wanted to see if you remember why this is needed. I've had better luck using 1e-10 instead of 1e-4. Tolerances like this are tricky, and I'm always hesitant to change them. Maybe we should expose this as an option? If so, what do you think of
min_distance_to_boundsfor a name?