ILOG CPLEX .NET Reference Manual

Cplex.NodeEvaluator.Evaluate Method 

Cplex calls this method for every node controlled by the invoking evaluator in order to compute an evaluation value for the node.

protected abstract double Evaluate();

Return Value

The evaluation value of the current node.

Remarks

These values are then used to select the next node to be processed. Given two nodes controlled by one evaluator, by default, the evaluator chooses the node with the lower evaluation value. However, this can be changed by overriding the method subsume.

Cplex calls the method evaluate only once for every node, and reuses the returned value for that node whenever comparing it with another node.

When this method is called, the evaluator has been initialized to the node to evaluated, such that the other methods of the invoking evaluator can be called to query information about this node. The node the evaluator has been initialized to is referred to as the current node.

By returning Double.MAX_VALUE in this function, you instruct Cplex to prune the current node.

See Also

Cplex.NodeEvaluator Class | ILOG.CPLEX Namespace