FRAMES NO FRAMES

IlcOnce

public IlcGoal IlcOnce(IlcGoal goal)
Definition file: ilsolver/basic.h
Include file: <ilsolver/ilosolver.h>

This function creates and returns a goal. This returned goal will solve goal (the one passed as an argument) in a nested search. This returned goal will search for exactly one solution of goal (the argument goal). Other solutions will not be tried. If the nested search fails, then the returned goal fails. If the nested search succeeds, the search will continue from the solution of the nested search.

This function returns an instance of IlcGoal for use with the member functions IloSolver::startNewSearch and IloSolver::solve.

See Also: