unitary_constraints: Unitary constraints routine

View source: R/sample_constraints.R

unitary_constraintsR Documentation

Unitary constraints routine

Description

Calculates the constraint values and violations when only unitary constraints (i.e., the sum of all variables equals one) are present.

Usage

unitary_constraints(X, epsilon = 0, ...)

Arguments

X

Population matrix of the MOEA/D (each row is a candidate solution). If NULL the function searches for X in the calling environment.

epsilon

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)

Details

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.

Value

List objective containing a matrix of constraint values Cmatrix, a matrix of individual constraint violations Vmatrix, and a vector of total constraint violations v.


fcampelo/MOEADr documentation built on Jan. 9, 2023, 6 a.m.