Allows to evaluate a merit function within an SCPmethod for solving NLPs. More...
#include <scp_merit_function.hpp>
Public Member Functions | |
virtual SCPmeritFunction * | clone () const |
virtual returnValue | evaluate (double alpha, const OCPiterate &iter, BandedCP &cp, SCPevaluation &eval, double &result) |
SCPmeritFunction & | operator= (const SCPmeritFunction &rhs) |
SCPmeritFunction () | |
SCPmeritFunction (UserInteraction *_userInteraction) | |
SCPmeritFunction (const SCPmeritFunction &rhs) | |
virtual | ~SCPmeritFunction () |
Allows to evaluate a merit function within an SCPmethod for solving NLPs.
The class SCPmeritFunction allows to evaluate a merit function within SCPmethods for solving nonlinear programming problems.
Definition at line 63 of file scp_merit_function.hpp.
Default constructor.
Definition at line 45 of file scp_merit_function.cpp.
SCPmeritFunction::SCPmeritFunction | ( | UserInteraction * | _userInteraction | ) |
Definition at line 50 of file scp_merit_function.cpp.
SCPmeritFunction::SCPmeritFunction | ( | const SCPmeritFunction & | rhs | ) |
Copy constructor (deep copy).
Definition at line 55 of file scp_merit_function.cpp.
SCPmeritFunction::~SCPmeritFunction | ( | ) | [virtual] |
(virtual) destructor.
Definition at line 60 of file scp_merit_function.cpp.
SCPmeritFunction * SCPmeritFunction::clone | ( | ) | const [virtual] |
Definition at line 76 of file scp_merit_function.cpp.
returnValue SCPmeritFunction::evaluate | ( | double | alpha, |
const OCPiterate & | iter, | ||
BandedCP & | cp, | ||
SCPevaluation & | eval, | ||
double & | result | ||
) | [virtual] |
Evaluates the merit function M(alpha) := T( x_k + alpha * Delta x_k )
where the step size parameter "alpha" can be specified.
Definition at line 82 of file scp_merit_function.cpp.
SCPmeritFunction & SCPmeritFunction::operator= | ( | const SCPmeritFunction & | rhs | ) |
Assignment operator (deep copy).
Definition at line 65 of file scp_merit_function.cpp.