One shortfall and a chosen cost
A soft-margin primal objective is , with constraints and . For a single point with functional margin , and , find the smallest feasible slack and the objective value.
Worked answer
The slack is . The weight term is , and the cost is .