Objective

The objective is to minimize the following function:

\[  \Variable{NumGatesUsed} = \sum _{\text {gate} \in \text {GATES}} \Variable{UseGate[gate]}  \]