0

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.

BRUCE
  • 103

1 Answers1

3

A "linear constraint" is occasionally a linear equation but more ususually a linear inequality $e.g.$ $$2x+3y \le 47$$ or $$7x+13y-8z \ge 677.$$

P. Lawrence
  • 5,674