This paper presents both estimation and simulation as optimization problems that differ in the optimization criteria …, minimization of a local expected loss for estimation and reproduction of global statistics (semivariogram, histogram) for … simulation ignoring local constraints, but not as accurate as E-type estimation. Flow simulation results show that accounting for …