cp_schedule
cp_schedule |
Purpose
Optimizes the schedule with respect to an objective variable.
Synopsis
function cp_schedule(obj:cpvar) : integer
function cp_schedule(obj:cpfloatvar) : integer
function cp_schedule(obj:cpfloatvar, maximization:boolean) : integer
function cp_schedule(obj:cpvar, maximization:boolean) : integer
Arguments
obj
|
the objective variable
|
maximization
|
true for maximization of the objective and
false for minimization (default: minimization)
|
Return value
0 if schedule is inconsistent, 1 if schedule is suboptimal, 2 if schedule is optimal
Related topics