44 #ifndef GLOBIPACK_TYPES_HPP
45 #define GLOBIPACK_TYPES_HPP
48 #include "GlobiPack_ConfigDefs.hpp"
49 #include "Teuchos_RCP.hpp"
50 #include "Teuchos_Ptr.hpp"
51 #include "Teuchos_Array.hpp"
52 #include "Teuchos_ArrayView.hpp"
53 #include "Teuchos_ScalarTraits.hpp"
86 template<
class Scalar>
89 static Scalar
valNotGiven() {
return std::numeric_limits<Scalar>::max(); }
109 namespace Exceptions {
116 {
public:
NotDescentDirection(
const std::string& what_arg) : std::logic_error(what_arg) {}};
125 #endif // GLOBIPACK_TYPES_HPP
Scalar phi
The value of the merit function phi(alpha).
Scalar Dphi
The value of the derivative of the merit function Dphi(alpha).
Thrown if search direction not a descent direction for the merit function.
Scalar alpha
The value of the unknown alpha.
Represents the evaluation point of the merit function phi(alpha) and/or is derivative Dphi(alpha)...
PointEval1D(const Scalar &alpha_in, const Scalar &phi_in, const Scalar &Dphi_in=valNotGiven())
static Scalar valNotGiven()