Is linear constraint a constraint in form of linear equation?
I used equation $f_i(\alpha x + \beta y) = \alpha f_i(x) + \beta f_i(y)$ to test linearity of constraint . For $f_i(x) =x+5$ test failed. For $f_i(x) =2x$ test passed.
What I don't get is $x+5$ is linear equation then, why it failed the test.