Enums#

Defined in <pressio/solvers_nonlinear.hpp>

namespace pressio{ namespace nonlinearsolvers{

enum class Stop{
  WhenAbsolutel2NormOfCorrectionBelowTolerance,
  WhenRelativel2NormOfCorrectionBelowTolerance,
  WhenAbsolutel2NormOfResidualBelowTolerance,
  WhenRelativel2NormOfResidualBelowTolerance,
  WhenAbsolutel2NormOfGradientBelowTolerance,
  WhenRelativel2NormOfGradientBelowTolerance,
  WhenAbsoluteObjectiveBelowTolerance,
  WhenRelativeObjectiveBelowTolerance,
  AfterMaxIters
};

enum class Update{
  Standard,
  Armijo,
  BacktrackStrictlyDecreasingObjective,
  LMSchedule1,
  LMSchedule2,
  Custom
};

enum class Diagnostic{
  correctionAbsolutel2Norm,
  correctionRelativel2Norm,
  residualAbsolutel2Norm,
  residualRelativel2Norm,
  gradientAbsolutel2Norm,
  gradientRelativel2Norm,
  objectiveAbsolute,
  objectiveRelative,
  invalid
};

}} //end namespace pressio::nonlinearsolvers