Variational Bosonic Solver for QUBO Problem