FRAMES NO FRAMES

Typedef IlcEvalIntSet

Definition file: ilsolver/intset.h
Include file: <ilsolver/ilosolver.h>

IlcInt(* IlcEvalIntSet)(IlcInt val, IlcIntSetVar var)

This C++ type represents a pointer to a function that takes two arguments and returns an integer. The second of those two arguments is a constrained integer set variable (that is, an instance of IlcIntSetVar or one of its subclasses), and the first argument is an integer.

Solver lets you control the order in which the values in the domain of a constrained variable are tried during the search for a solution. The choice of the next value to try for a constrained integer set variable is made by an object of the class IlcIntSetSelect. Such an object usually uses an evaluation function of the type IlcEvalIntSet.

See Also: