Objective

The objective is to minimize the following function:

\[  \Variable{NumMonochromaticLines} = \sum _{\text {line} \in \text {LINES}} \Variable{IsMonochromatic[line]}  \]