I've encountered the following question which I am unable to solve:
Given
$$P = \{\vec x \mid A\vec x \geq \vec a\}$$
$$Q = \{\vec x \mid B\vec x \geq \vec b\}$$
where $P, Q \subseteq \mathbb R^n$, find an algorithm to determine whether $P \subseteq Q$.
This question has showed up under the "duality theorem" section, but I am unable to see how the dual programs helps here. Thanks in advance!
Well, I've solved it and apparently it really has nothing to do with the duality theorem.
The answer is as follows:
let $v_i'$ be i'th row in the matrix B, $i = 1, ..., n$.
for each i solve the linear program:
min $v_i'\vec x$
for $A\vec x \geq \vec a$
and check if the optimum for this program is $\geq b_i $. if the optimum is smaller than $b_i$ than the optimal solution $\vec x^*$ satisfies $A\vec x^*\geq a$, and also $B \vec x^* \ngeq \vec b$ and than $P \nsubseteq Q$.
If for every i the optimum is bigger than the corresponding $b_i$, than $A \vec x \geq \vec a$ $\to$ $B \vec x \geq \vec b$ and $P \subseteq Q$.