trans_identity_unconstrained#

pybrops.breed.prot.sel.transfn.trans_identity_unconstrained(vec, **kwargs)[source]#

Treat all elements in a latent vector as unconstrained objectives.

Parameters:
  • vec (numpy.ndarray) – An array of shape (l,) to be transformed.

  • kwargs (dict) – Additional keyword arguments. Not used by this function.

Returns:

out – A tuple (obj, ineqcv, eqcv) containing objectives, inequality constraints, and equality constraints.

Return type:

Tuple[numpy.ndarray,numpy.ndarray,numpy.ndarray]