44 #include "ConstrainedOptPack_MeritFuncNLP.hpp"
45 #include "Teuchos_Assert.hpp"
47 namespace ConstrainedOptPack {
52 this != &merit_func, std::logic_error
53 ,
"MeritFuncNLP::operator=(merit_func) : Error, this is not assignment to self "
54 "and the concreate subclass \'" <<
typeName(*
this) <<
"\' has not overridden "
Base class for all merit functions for NonLinear Programs (NLP) {abstract}.
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
virtual MeritFuncNLP & operator=(const MeritFuncNLP &)
Assign the state of one Merit functions.
std::string typeName(const T &t)