FRAMES NO FRAMES

IloFirstSolution

public IloSearchSelector IloFirstSolution(const IloEnv env, IloInt n=1)
Definition file: ilsolver/ilosolverint.h
Include file: <ilsolver/ilosolver.h>

This function creates a search selector that selects the first n solutions of a search tree.

When this function takes an instance of the class IloEnv as a parameter, it returns an instance of IloSearchSelector for use with the member functions IloSolver::startNewSearch and IloSolver::solve. An instance of IloSolver extracts the selector that it returns as an instance of IlcSearchSelector for use during a Solver search.

See Also: