pytwinnet.optimization.pareto¶ Classes MultiObjectiveSampler(sampler, evaluate[, ...]) Sample candidates, evaluate 2 objectives, and return Pareto set (maximize both). class pytwinnet.optimization.pareto.MultiObjectiveSampler(sampler, evaluate, samples=200)[source]¶ Bases: object Sample candidates, evaluate 2 objectives, and return Pareto set (maximize both). Parameters: sampler (Callable[[], Dict[str, Any]]) evaluate (Callable[[Dict[str, Any]], Tuple[float, float]]) samples (int) evaluate: Callable[[Dict[str, Any]], Tuple[float, float]]¶ run()[source]¶ Return type: Dict[str, Any] sampler: Callable[[], Dict[str, Any]]¶ samples: int = 200¶