On the application of variational theory on networks