ILOG CPLEX .NET Reference Manual

Cplex.NodeEvaluator.Init Method 

This method is called by Cplex right before the first time evaluate is called for a node and allows you to initialize the evaluator based on that node.

protected virtual void Init();

Remarks

Information about the node can be queried when this method is called.

The method init is called only once for an evaluator. This convention makes it generally impossible to use one evaluator object in two subtrees, because init would be called only in one subtree and thus the evaluator would not be correctly initialized for the other subtree. Use two separate instances of your evaluator instead to overcome this convention.

See Also

Cplex.NodeEvaluator Class | ILOG.CPLEX Namespace