MOOCHO (Single Doxygen Collection)
Version of the Day
|
Abstract interface for a strategy object that will compute a step that will improve feasibility (at least descent) {abstract}. More...
#include <MoochoPack_FeasibilityStep_Strategy.hpp>
Public Member Functions | |
virtual | ~FeasibilityStep_Strategy () |
virtual bool | compute_feasibility_step (std::ostream &out, EJournalOutputLevel olevel, NLPAlgo *algo, NLPAlgoState *s, const Vector &xo, const Vector &c_xo, VectorMutable *w)=0 |
Compute a step that improves feasibility (at least locally). More... | |
virtual void | print_step (std::ostream &out, const std::string &leading_str) const =0 |
This function will print a description of the computations and logic used. More... | |
Abstract interface for a strategy object that will compute a step that will improve feasibility (at least descent) {abstract}.
Definition at line 52 of file MoochoPack_FeasibilityStep_Strategy.hpp.
|
inlinevirtual |
Definition at line 56 of file MoochoPack_FeasibilityStep_Strategy.hpp.
|
pure virtual |
Compute a step that improves feasibility (at least locally).
This function will compute a step w
that satisfies:
d_bounds_k.l <= xo + w - x_k <= d_bounds_k.u
and gives descent for ||c(xo + beta*w)||
for at least small beta > 0
. This norm ||.||
could be any valid norm and the implementation is free to define what descent means any way it would like. Any information being used in the algorithm can be used to compute this step.
out | [out] Output stream journal data is written to. |
olevel | [in] Output level for printing to #out# |
algo | [in/out] The NLPAlgo object. This object can be queryed for information. |
s | [in/out] NLPAlgoState object. May be queried or modified if needed. |
xo | [in] Base point vector (size n) xo. |
c_xo | [in] c(xo). |
w | [out] Computed step vector (size n) w. Must not be NULL. |
Implemented in MoochoPack::FeasibilityStepReducedStd_Strategy.
|
pure virtual |
This function will print a description of the computations and logic used.
Implemented in MoochoPack::FeasibilityStepReducedStd_Strategy.