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 "
std::string typeName(const T &t)
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.