Let $n$ be a natural number, $u_+,v_+,u_-,v_-$ be real or complex column vectors of length $n$, and $M_1,M_2,\ldots,M_k$ be a finite collection of $n\times n$ real or complex matrices.
Consider the problem of determining whether there exists a tuple $(\lambda_1,\lambda_2,\ldots,\lambda_\ell)$ of any finite length $\ell$ such that $u_+^T\left(\prod_{i=1}^\ell M_{\lambda_i}\right)v_+>1$, while $u_-^T\left(\prod_{i=1}^\ell M_{\lambda_i}\right)v_-<1$. What bounds can we place on the complexity class of this problem?
It is at least NP-hard, as it contains the knapsack problem, but I suspect it is much harder.