cos package:srtree

calculates the cost of a node
The objective function value at the minimum
Minimum of the objective function if optimization succeeded