An Application of Variational Theory to an IntegratedWalrasian Model of Exchange, Consumption and Production