KASKADE 7 development version
|
InteriorPointMethod with a sqrt-model of the path: eta ~ mu^{-1/2}, omega ~mu^{-1/2}. More...
#include <homotopy_base.hh>
InteriorPointMethod with a sqrt-model of the path: eta ~ mu^{-1/2}, omega ~mu^{-1/2}.
Definition at line 234 of file homotopy_base.hh.
Public Member Functions | |
InteriorPointSqrtModel (NewtonsMethod &n_, AbstractNorm const &norm_, InteriorPointParameters &p_, AbstractNewtonDirection &solver_, AbstractNorm const *normPlain_=0) | |
virtual void | initialize () |
Optional overload by derived class. More... | |
virtual double | muOnSuccess (int step) |
New mu if corrector was successful. More... | |
virtual double | muOnFailure () |
New mu if corrector failed. More... | |
virtual double | muFinal () |
mu for successful termination More... | |
virtual void | updateModelOfHomotopy (int step) |
update of path parameters, e.g. eta and omega More... | |
virtual void | initializeCorrector () |
what should be done before corrector More... | |
virtual void | finalizeCorrector () |
what should be done after corrector More... | |
virtual void | updateIterate () |
make trial iterate to current iterate (on successful corrector) More... | |
virtual void | recoverIterate () |
make old iterate to current iterate (on failed corrector) More... | |
virtual double | lengthOfPath () |
estimate of length of homopoty path More... | |
void | printDiagnosis () |
virtual void | logQuantities () |
void | solve (AbstractParameterFunctional *f, AbstractFunctionSpaceElement &x) |
void | performTiming (bool doit) |
void | reportOnIteration (int level) |
Protected Member Functions | |
virtual void | finalize () |
Optional overload by derived class. More... | |
virtual void | finalize (int) |
virtual void | computePredictor (int step) |
Default: classical predictor. More... | |
virtual int | convergenceTest () |
convergence test. returns true if method converged and solution is found. More... | |
virtual void | finalizeHomotopy () |
to be performed, if convergence of path has occured More... | |
virtual void | terminationMessage (int errorFlag) |
output of a termination message More... | |
int | algorithmWrapper () |
Run algorithm, completely with initialization and finalization. More... | |
int | oneStepWrapper () |
Run one step of algorithm. More... | |
Protected Attributes | |
NewtonsMethod & | corrector |
InteriorPointParameters & | p |
AbstractParameterFunctional * | functional |
std::unique_ptr< AbstractFunctionSpaceElement > | trialIterate |
int | step |
int | report |
|
inline |
Definition at line 237 of file homotopy_base.hh.
|
protectedinherited |
Run algorithm, completely with initialization and finalization.
|
protectedvirtualinherited |
Default: classical predictor.
Reimplemented in Kaskade::InteriorPointSlopeEstimate.
|
protectedvirtualinherited |
convergence test. returns true if method converged and solution is found.
|
inlineprotectedvirtualinherited |
Optional overload by derived class.
Reimplemented in Kaskade::InteriorPointSlopeEstimate.
Definition at line 112 of file homotopy_base.hh.
|
inlineprotectedvirtualinherited |
Reimplemented in Kaskade::SimpleAdaptiveRefinement, Kaskade::TestErrorEstimator, and Kaskade::NewtonsMethod.
Definition at line 186 of file algorithm_base.hh.
|
inlinevirtual |
what should be done after corrector
Implements Kaskade::HomotopyBase.
Definition at line 254 of file homotopy_base.hh.
|
inlineprotectedvirtualinherited |
to be performed, if convergence of path has occured
Reimplemented in Kaskade::InteriorPointSlopeEstimate.
Definition at line 150 of file homotopy_base.hh.
|
inlinevirtual |
Optional overload by derived class.
Reimplemented from Kaskade::HomotopyBase.
Definition at line 248 of file homotopy_base.hh.
|
virtual |
what should be done before corrector
Implements Kaskade::HomotopyBase.
|
inlinevirtual |
estimate of length of homopoty path
Implements Kaskade::HomotopyBase.
Definition at line 257 of file homotopy_base.hh.
|
inlinevirtual |
Reimplemented from Kaskade::HomotopyBase.
Definition at line 260 of file homotopy_base.hh.
|
inlinevirtual |
mu for successful termination
Implements Kaskade::HomotopyBase.
Definition at line 251 of file homotopy_base.hh.
|
virtual |
New mu if corrector failed.
Implements Kaskade::HomotopyBase.
|
virtual |
New mu if corrector was successful.
Implements Kaskade::HomotopyBase.
|
protectedinherited |
Run one step of algorithm.
|
inlineinherited |
Definition at line 181 of file algorithm_base.hh.
void Kaskade::InteriorPointSqrtModel::printDiagnosis | ( | ) |
Referenced by logQuantities().
|
inlinevirtual |
make old iterate to current iterate (on failed corrector)
Implements Kaskade::HomotopyBase.
Definition at line 256 of file homotopy_base.hh.
|
inlineinherited |
Definition at line 182 of file algorithm_base.hh.
|
inherited |
|
protectedvirtualinherited |
output of a termination message
Reimplemented from Kaskade::Algorithm.
|
virtual |
make trial iterate to current iterate (on successful corrector)
Implements Kaskade::HomotopyBase.
|
virtual |
update of path parameters, e.g. eta and omega
Implements Kaskade::HomotopyBase.
|
protectedinherited |
Definition at line 155 of file homotopy_base.hh.
Referenced by finalizeCorrector(), and Kaskade::InteriorPointSlopeEstimate::finalizeCorrector().
|
protectedinherited |
Definition at line 157 of file homotopy_base.hh.
|
protectedinherited |
Definition at line 156 of file homotopy_base.hh.
Referenced by Kaskade::InteriorPointSimple::lengthOfPath(), lengthOfPath(), Kaskade::InteriorPointSlopeEstimate::lengthOfPath(), muFinal(), Kaskade::InteriorPointSlopeEstimate::muFinal(), Kaskade::InteriorPointSimple::muOnFailure(), Kaskade::InteriorPointSlopeEstimate::muOnFailure(), and Kaskade::InteriorPointSimple::muOnSuccess().
|
protectedinherited |
Definition at line 193 of file algorithm_base.hh.
Referenced by Kaskade::Algorithm::reportOnIteration().
|
protectedinherited |
Definition at line 160 of file homotopy_base.hh.
|
protectedinherited |
Definition at line 159 of file homotopy_base.hh.
Referenced by initialize(), Kaskade::InteriorPointSlopeEstimate::initialize(), recoverIterate(), and Kaskade::InteriorPointSlopeEstimate::recoverIterate().