The typical way you'd solve that would be to take
[K * pi 1 0 0]
[K * e 0 1 0]
[K * sqrt(2) 0 0 1]
[K * 194.927424491 0 0 0]
for some large-ish K, say 2^20, and look for a short(est) vector of this lattice. Basically you're minimizing the norm of (a * pi + b * e + c * sqrt(2) + d * 194.927424491, a, b, c) while giving the majority of the weight to the first component, which you hope to be near 0.