Ground state solutions of inhomogeneous Bethe equations