Function Call in Constraints

In reply to Etrx91:

The solver treats the function as a black box. Presumably you have written a function because you could not express the logic as an equation.

I agree with what you said about solve-before