The main inputs for the optimization process of KPI-COSMO are a set of geostatistical simulations of the mineral deposits of your value chain. There are some orebody modeling software tools available in the market that offer efficient conditional simulation algorithms for continuous and categorical variables (e.g., a single grade or multiple correlated grades, material types, weathered facies, geometallurgical properties, etc.). Once these simulations are properly generated and validated against the drillhole data, they can be inputted to KPI-COSMO for the simultaneous stochastic long-term production planning optimization of a mining complex.