FRAMES NO FRAMES

IloRestoreSolution

public IlcGoal IloRestoreSolution(IloSolver solver, IloSolution solution)
public IloGoal IloRestoreSolution(IloEnv env, IloSolution solution)
Definition file: ilsolver/ilosolverint.h
Include file: <ilsolver/ilosolver.h>

This function returns a goal to the specified solver that restores solution, just as if solution.restore(solver) had been called in search mode. If the restoration is legal, according to the constraints of the model, the goal succeeds. Otherwise it fails.

For more information, see IloSolution.

See Also: