1. # What is a Sum constraint?

Sum constraints are based on the sum of any quantifiable parameter modeled block by block. To use this feature on MiningMath, the dataset must contain an auxiliary field/column which considers a value of what you wish to limit regarding the value of it in each block. Therefore, this feature controls the total amount of the variable that has been modeled based on blocks that were mined in that single period. Basically, any variable which could be modeled considering these assumptions could be controlled. Some examples are listed below:

• Tonnages and proportions of rock type and metal production.

• Consumption of inputs such as energy spent during comminution, and fleet hours spent to mobilize material.

• Contaminants control on the processing plant during each period.

The user can define:

• Different sum limits for each material.

• Different sum limits for each intervals.

• Different sum limits for each destinations.

• Combine all the options above in order to achieve globally optimized results.

# 2. How to use Sum Constraints?

### Step-by-step

1. Create auxiliary fields in the block model, quantifying the information to be controlled (Figure 1).

2. During importation, assign these auxiliary columns to Other (Figure 2).

3. On the Other tab, input minimum and maximum limits for each variable, period range and destination (Figure 3).   