FRAMES NO FRAMES

IloScanDeltas

public IloGoal IloScanDeltas(IloEnv env, IloSolution solution, IloSolutionArray deltas)
public IloGoal IloScanDeltas(IloEnv env, IloSolution solution, IloSolutionArray deltas, IloNeighborIdentifier nid)
public IlcGoal IloScanDeltas(IloSolver solver, IloSolution solution, IloSolutionArray deltas)
public IlcGoal IloScanDeltas(IloSolver solver, IloSolution solution, IloSolutionArray deltas, IlcNeighborIdentifier nid)
Definition file: ilsolver/iimls.h
Include file: <ilsolver/iimls.h>

These goals scan the array of deltas deltas. These goals test the set of deltas using solution as the current solution reference. Each leaf node of the above goals corresponds to the application of a different delta from deltas to the solution solution.

If specified, nid is used to hold the index (in the array of deltas) of the deltas, and the delta itself instantiated at the current leaf. This can be used to communicate with other goals such as IloNotify and IloTest.

If any applied delta is to be saved back to solution, this must be done explicitly via solution.store(solver), or using IloStoreSolution.

For more information, see IloSolution in the IBM ILOG Concert Technology Reference Manual.

See Also: