What does it mean in optimisation when it says Ax <= b for A a matrix, and x, b vectors?…
- User
What does it mean in optimisation when it says Ax <= b for A a matrix, and x, b vectors? What does it mean that a vector is less than another?
- Assistant
In optimization, particularly in linear programming and related fields, the notation (Ax \leq b) involves matrix and vector comparisons in the context of systems of linear inequalities. Here's what each component means:
- (A) is a matrix with dimensions (m \times n), where (m) is the number of constraints and (n) is the number of variables.
- (x) is a vector of length (n) representing the variables of the problem.
- (b) is a vector of length (m) representing the upper bounds for each constraint.
The inequality (Ax \leq b) should be interpreted element-wise. When we say one vector is "less than or equal to" another vector, we mean that each component of the first vector is less than or equal to the corresponding component of the second vector. Specifically, if:
[ Ax = \begin{pmatrix} c_1 \ c_2 \ \vdots \ c_m \end{pmatrix} ]
and
[ b = \begin{pmatrix} b_1 \ b_2 \ \vdots \ b_m \end{pmatrix}, ]
then the inequality (Ax \leq b) means:
[ c_i \leq b_i \quad \text{for each} \quad i = 1, 2, \ldots, m. ]
This way of handling inequality constraints is standard in many optimization problems, especially in linear programming, where the goal is to find a vector (x) that satisfies these constraints while optimizing a given objective function.