FRAMES NO FRAMES

IloUpdate

public IloGoal IloUpdate(IloEnv env, IloMultipleEvaluator< IloObject, IloContainer > me, IloContainer container)
Definition file: ilsolver/iimgoal.h
Include file: <ilsolver/iim.h>
A goal to update a multiple evaluator.

This goal is nothing more than a way to execute IloMultipleEvaluator::update in a goal, which can be particularly convenient when building goals using genetic algorithms.

The following code prepends a goal which makes sure a evaluator of the population is up-to-date before embarking on a new genetic algorithm generation.

    generationGoal = IloUpdate(env, parentEvaluator, population)
                  && generationGoal;

See Also: