FRAMES NO FRAMES

IloStart

public IlcGoal IloStart(IloSolver solver, IloMetaHeuristic mh, IloSolution solution)
public IloGoal IloStart(IloEnv env, IloNHood nhood, IloSolution solution)
public IloGoal IloStart(IloEnv env, IloMetaHeuristic mh, IloSolution solution)
public IlcGoal IloStart(IloSolver solver, IloNHood nhood, IloSolution solution)
Definition file: ilsolver/iimls.h
Include file: <ilsolver/iimls.h>

These functions return goals that start either a metaheuristic or a neighborhood.

When mh is passed as a parameter, these functions return a goal which calls mh.start(solver, solution). If this call does not cause a failure and returns IloTrue, the goal succeeds. Otherwise it fails.

When nhood is passed as a parameter, these functions return a goal which calls nhood.start(solver, solution) before succeeding. You should not normally need to use this goal as IloScanNHood automatically performs this action.

Use of the IloSingleMove goal renders the use of both forms of IloStart unnecessary.

See Also: