Model the problem

The second stage in solving a constraint programming problem with CP Optimizer is to model the problem. The model is composed of decision variables and constraints. The model may also contain an objective.