OptimalContributionSelectionMixin#

class pybrops.breed.prot.sel.OptimalContributionSelection.OptimalContributionSelectionMixin[source]#

Bases: object

Semi-abstract class for Optimal Contribution Selection (OCS) with constraints.

Methods

Attributes

cmatfcty

Factory for creating a coancestry matrix for use in the optimization.

ntrait

Number of traits to expect from matrix inputs.

unscale

Whether to use unscaled and decentered breeding values for optimization.

property cmatfcty: CoancestryMatrixFactory#

Factory for creating a coancestry matrix for use in the optimization.

property ntrait: Integral#

Number of traits to expect from matrix inputs.

property unscale: bool#

Whether to use unscaled and decentered breeding values for optimization.