constr_wrapper

compas_tno.problems.constr_wrapper(variables, M)

Wrapper of the constraints assigned.

Parameters:
variablesarray [(]k x 1]

Variables to pass to the function.

MProblem

The class with necessary matrices, or arguments, to compute the objective function

Returns:
constraints: array [m x 1]

Vector with the value of the m constraints in the point.