IBM ILOG Scheduler User's Manual > Local Search in Scheduler > Large Neighborhood Search for the Jobshop Problem with Alternatives > Define the Problem

Compared to the definition of the problem used with tabu search, the main difference here is the extraction of the underlying structure of the problem: the function DefineModel returns the set of jobs that are created while building the scheduling model.

IloModel
DefineModel(IloEnv& env,
            IloInt numberOfJobs,
            IloInt numberOfResources,        
            IloInt* resourceNumbers,
            IloNum* durations,
            IloRandom randomGenerator,
            IloSchedulerSolution solution,
            IloArray<IloActivityArray>& jobs,
            IloNumVar& makespan)