function Y = uq_Ex08_BermBreakwater_objectives(X, P)
    % P should contain P.ConstraintModel and P.EnvInput
    constraintModel = P.ConstraintModel;
    envInput = P.EnvInput;

    Y = zeros(size(X,1), 3);
    % Ensure the helper functions are on the MATLAB path or in the same directory
    Y(:,1) = uq_Ex08_BermBreakwater_cost(X);
    Y(:,2) = uq_Ex08_BermBreakwater_carbon(X);
    Y(:,3) = uq_Ex08_BermBreakwater_robustness(X, constraintModel, envInput);
end