Given a number of vectors, and an unknown variable for each vector, say for example:
$v_1, v_2, v_3,\dots,v_n$ and $x_1, x_2, x_3,\dots,x_n$
and a target vector $v_t$
I am trying to create an algorithm to maximize $p$ by setting $x_1, x_2, x_3, \dots, x_n$ such that:
$$v_1\cdot x_1 + v_2\cdot x_2 + v_3\cdot x_3 + \dots + v_n\cdot x_n = v_t \cdot p$$
the coefficients, $x_1$, $x_2$, $x_3$, and $x_n$, are constrained like:
$$0 \le x_1 \le c_1$$ $$0 \le x_2 \le c_2$$ $$0 \le x_3 \le c_3$$ $$\vdots$$ $$0 \le x_n \le c_n$$
where, $c_1,c_2,c_3,\dots,c_n$ are given constants.
Can this be reduced to a linear program, and if so, how?