IBM ILOG Scheduler User's Manual > Getting Started with Scheduler > Adding Breaks > Define the Problem, Design a Model > Define the Objective

The Concert Technology function IloMinimize is used to set the objective of minimizing the makespan.

  /* SET THE OBJECTIVE */
  model.add(IloMinimize(env, makespan));