Function that computes the constraint vector for constrained optimization problems.
Takes parameter vector and state vector, returns constraint vector.
The constraint c(p, x) = 0 must be satisfied.
Note: The constraint vector length and state vector length can differ.
The adjoint method supports both square and non-square constraint Jacobians.
Function that computes the constraint vector for constrained optimization problems. Takes parameter vector and state vector, returns constraint vector. The constraint c(p, x) = 0 must be satisfied.
Note: The constraint vector length and state vector length can differ. The adjoint method supports both square and non-square constraint Jacobians.