is_pareto_efficient#

pybrops.core.util.pareto.is_pareto_efficient(fmat, wt, return_mask=True)[source]#

Find pareto-efficient points assuming maximizing functions.

Parameters:
  • fmat (numpy.ndarray) –

    A matrix of shape (npt, nobj) containing fitness values.

    Where:

    • npt is the number of points

    • nobj is the number of objectives.

  • wt (numpy.ndarray) – Weights to applied to fmat.

  • return_mask (bool) – If True, return a mask.

Returns:

out – An array of indices of pareto-efficient points.

If return_mask is True, this will be an (npt,) boolean array. Otherwise it will be a (n_efficient_points, ) integer array of indices.

Return type:

numpy.ndarray