Optimality conditions and Toland's duality for a nonconvex minimization problem.