BinaryMateSelectionSolution#
- class pybrops.breed.prot.sel.soln.BinaryMateSelectionSolution.BinaryMateSelectionSolution(ndecn, decn_space, decn_space_lower, decn_space_upper, decn_space_xmap, nobj, obj_wt, nineqcv, ineqcv_wt, neqcv, eqcv_wt, nsoln, soln_decn, soln_obj, soln_ineqcv, soln_eqcv, **kwargs)[source]#
Bases:
BinarySelectionSolution
,MateSelectionSolution
Class representing mate selection solutions in subset search spaces.
Constructor for BinarySolution.
- Parameters:
kwargs (dict) – Additional keyword arguments used for cooperative inheritance.
Methods
Attributes
Decision space boundaries.
Lower boundary of the decision space.
Upper boundary of the decision space.
decn_space_xmap.
Equality constraint violation function weights.
Inequality constraint violation function weights.
Number of decision variables.
Number of equality constraint violations.
Number of inequality constraint violation functions.
Number of objectives.
Number of solutions to the problem.
Objective function weights.
Matrix of solution vectors in the decision space.
Solution equality constraint violation function values.
Solution inequality constraint violation function values.
Solution objective function values.
- property decn_space: ndarray | None#
Decision space boundaries.
- property decn_space_lower: ndarray | None#
Lower boundary of the decision space.
- property decn_space_upper: ndarray | None#
Upper boundary of the decision space.
- property decn_space_xmap: ndarray#
decn_space_xmap.
- property eqcv_wt: ndarray#
Equality constraint violation function weights.
- property ineqcv_wt: ndarray#
Inequality constraint violation function weights.
- property ndecn: Integral#
Number of decision variables.
- property neqcv: Integral#
Number of equality constraint violations.
- property nineqcv: Integral#
Number of inequality constraint violation functions.
- property nobj: Integral#
Number of objectives.
- property nsoln: Integral#
Number of solutions to the problem.
- property obj_wt: ndarray#
Objective function weights.
- property soln_decn: ndarray#
Matrix of solution vectors in the decision space.
- property soln_eqcv: ndarray#
Solution equality constraint violation function values.
- property soln_ineqcv: ndarray#
Solution inequality constraint violation function values.
- property soln_obj: ndarray#
Solution objective function values.