.. index:: pair: enum; Objective .. _doxid-classgpr_1_1optim_1_1_rgmin_step_1a9b09ff03e51b506060250d29fa5ae973: enum gpr::optim::RgminStep::Objective ===================================== The function whose gradient a step is taken from. A curvature pair (s, y) is a secant of one function, so a pair whose two gradients come from different objectives, such as the surrogate and an exact oracle evaluation, describes neither. The history is dropped instead. Unspecified is its own objective: callers that never name one keep a single history. .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include enum Objective { :target:`Unspecified` = 0, :target:`Surrogate` = 1, :target:`Exact` = 2, };