15 #ifndef ROL_TESTPROBLEMS_HPP
16 #define ROL_TESTPROBLEMS_HPP
27 virtual Ptr<Objective<Real>>
getObjective(
void)
const = 0;
29 virtual Ptr<Vector<Real>>
getSolution(
const int i = 0)
const = 0;
52 void get(Ptr<OptimizationProblem<Real>> &problem,
53 Ptr<Vector<Real>> &x0,
54 std::vector<Ptr<Vector<Real>>> &x)
const {
61 problem = makePtr<OptimizationProblem<Real>>(
getObjective(),
virtual ~TestProblem(void)
virtual Ptr< Vector< Real > > getEqualityMultiplier(void) const
virtual Ptr< Constraint< Real > > getEqualityConstraint(void) const
virtual Ptr< Vector< Real > > getInitialGuess(void) const =0
virtual Ptr< Vector< Real > > getSolution(const int i=0) const =0
virtual Ptr< Constraint< Real > > getInequalityConstraint(void) const
virtual int getNumSolutions(void) const
virtual Ptr< BoundConstraint< Real > > getSlackBoundConstraint(void) const
virtual Ptr< Objective< Real > > getObjective(void) const =0
virtual Ptr< Vector< Real > > getInequalityMultiplier(void) const
virtual Ptr< BoundConstraint< Real > > getBoundConstraint(void) const