FRAMES NO FRAMES

Typedef IlcEvalAnySet

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

IlcInt(* IlcEvalAnySet)(IlcAny val, IlcAnySetVar 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 enumerated set variable (that is, an instance of IlcAnySetVar or one of its subclasses), and the first argument is a pointer.

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 enumerated set variable is made by an object of the class IlcAnySetSelect. Such an object usually uses an evaluation function of the type IlcEvalAnySet.

See Also: