The halt( ) function tells DPL to stop evaluating the subtree at the point it is encountered in the tree and to substitute the supplied value as the objective function value for tree roll back evaluation. Typically, if the objective is to maximize the value model, the halt function value should be very small; if to minimize, the value should be very large.
Attribute2 <= 150000 ? Attribute1 : halt(0)
If the above were specified in the constraint function, then at any node where Attribute2 is greater than 150000 DPL stops evaluating the subtree at that point and uses zero as the objective function value for roll back. If Attribute2 is less than or equal to 150000, DPL uses Attribute1 as the objective function value and continues to evaluate the tree.
Versions: DPL Professional, DPL Enterprise, DPL Portfolio