I'm searching for an algorithm to accomplish a (hopefully) simple task.
If I have a set of vectors, e.g., $\left( \begin{bmatrix} 0\\ 2\end{bmatrix}, \begin{bmatrix} 1\\ 1 \end{bmatrix}, \begin{bmatrix} 2 \\ 0 \end{bmatrix}, \begin{bmatrix} 1\\-1\end{bmatrix} \right)$, and an arbitrary coordinate $\begin{bmatrix} x\\ y \end{bmatrix}$, I want to find the smallest integral linear combination of these vectors that will sum to the point.
I can interpret the vectors as a set of linear equations:
$$\begin{aligned} b + 2c + d &= x \\ 2a + b - d &= y \end{aligned} $$
and look for the solution such that $|a| + |b| + |c| + |d|$ is minimized, or determine that there is no solution (for $x=2,y=1$ there isn't one, in this example).
My problem is that I often end up doing this by drawing out a grid and eyeballing the solution, which isn't very mathematical. My hope is to find an algorithm that will allow me to solve this problem with any set of vectors and any target coordinate, or determine that the solution does not exist.
I don't have a lot of formal education in math, so searching for help on this is tricky for me. I don't have the vocabulary I need to correctly describe this to Google or Wikipedia. I thought it would be worthwhile to ask here and see what I need to learn to solve this problem.