FRAMES NO FRAMES

Typedef IlcEvalInt

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

IlcInt(* IlcEvalInt)(IlcInt val, IlcIntVar 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 variable (that is, an instance of IlcIntExp 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 variable is made by an object of the class IlcIntSelect. Such an object usually uses an evaluation function of the type IlcEvalInt.

See Also: