pyforestry.base.timber_bucking package#

Submodules#

pyforestry.base.timber_bucking.nasberg_1985 module#

Value-optimising timber bucking (log cross-cutting) after Näsberg (1985).

Dynamic-programming optimisation of how to cross-cut a single stem into logs so as to maximise the total stem value, given a diameter/length/quality price matrix.

Reference:

Näsberg, M. (1985). Mathematical programming models for optimal log bucking. Linköping Studies in Science and Technology, Dissertation No. 132, Linköping University, Sweden.

class pyforestry.base.timber_bucking.nasberg_1985.Nasberg_1985_BranchBound(timber: Timber, pricelist: Pricelist, taper_class: Type[Taper] | None = None)[source]#

Bases: object

Vectorised version – interface identical to the earlier class.

calculate_tree_value(*, min_diam_dead_wood: float, config: BuckingConfig | None = None) → BuckingResult[source]#

Run the branch-and-bound optimisation and return the result.

Module contents#

Init utilities and interfaces.