Calculates the constraint values and violations when only unitary constraints (i.e., the sum of all variables equals one) are present.
unitary_constraints(X, epsilon = 0, ...)
Population matrix of the MOEA/D (each row is a candidate solution).
If NULL
the function searches for X
in the calling environment.
small non-negative value indicating the tolerance to be considered for the equality constraint. Defaults to zero.
other parameters (unused, included for compatibility with generic call)
List objective containing a matrix of constraint values Cmatrix
, a
matrix of individual constraint violations Vmatrix
, and a vector of total
constraint violations v
.
This routine calculates the constraint values and violations for a population
matrix in the MOEA/D. Each row of the matrix is considered as a candidate
solution. This routine expects the candidate solutions to be standardized,
i.e., that the variable limits given in problem$xmin
and
problem$xmax
are mapped to 0
and 1
, respectively.