Initializing help system before first use

cp_local_optimize

cp_local_optimize


Purpose
This function starts the search for a near-optimal solution of the problem that optimizes a specific objective variable.
Synopsis
function cp_local_optimize(obj:cpvar, minimize: integer) : boolean
function cp_local_optimize(obj:cpfloatvar, minimize: integer) : boolean
Arguments
obj 
the objective variable
minimize 
0 for minimization or 1 for maximization
Related topics