Variational Methods for Periodic Lattices