TQpSolverBase Class Reference

#include <TQpSolverBase.h>

Inheritance diagram for TQpSolverBase:

TObject TObject TGondzioSolver TGondzioSolver TMehrotraSolver TMehrotraSolver List of all members.

Public Member Functions

 TQpSolverBase ()
 TQpSolverBase (const TQpSolverBase &another)
virtual ~TQpSolverBase ()
virtual void Start (TQpProbBase *formulation, TQpVar *iterate, TQpDataBase *prob, TQpResidual *resid, TQpVar *step)
virtual void DefStart (TQpProbBase *formulation, TQpVar *iterate, TQpDataBase *prob, TQpResidual *resid, TQpVar *step)
virtual void SteveStart (TQpProbBase *formulation, TQpVar *iterate, TQpDataBase *prob, TQpResidual *resid, TQpVar *step)
virtual void DumbStart (TQpProbBase *formulation, TQpVar *iterate, TQpDataBase *prob, TQpResidual *resid, TQpVar *step)
virtual Int_t Solve (TQpDataBase *prob, TQpVar *iterate, TQpResidual *resids)=0
virtual Double_t FinalStepLength (TQpVar *iterate, TQpVar *step)
virtual void DoMonitor (TQpDataBase *data, TQpVar *vars, TQpResidual *resids, Double_t alpha, Double_t sigma, Int_t i, Double_t mu, Int_t stop_code, Int_t level)
virtual void DefMonitor (TQpDataBase *data, TQpVar *vars, TQpResidual *resids, Double_t alpha, Double_t sigma, Int_t i, Double_t mu, Int_t stop_code, Int_t level)=0
virtual Int_t DoStatus (TQpDataBase *data, TQpVar *vars, TQpResidual *resids, Int_t i, Double_t mu, Int_t level)
virtual Int_t DefStatus (TQpDataBase *data, TQpVar *vars, TQpResidual *resids, Int_t i, Double_t mu, Int_t level)
TQpLinSolverBaseGetLinearSystem ()
void SetMuTol (Double_t m)
Double_t GetMuTol ()
void SetArTol (Double_t ar)
Double_t GetArTol ()
Double_t DataNorm ()
TQpSolverBaseoperator= (const TQpSolverBase &source)
 TQpSolverBase ()
 TQpSolverBase (const TQpSolverBase &another)
virtual ~TQpSolverBase ()
virtual void Start (TQpProbBase *formulation, TQpVar *iterate, TQpDataBase *prob, TQpResidual *resid, TQpVar *step)
virtual void DefStart (TQpProbBase *formulation, TQpVar *iterate, TQpDataBase *prob, TQpResidual *resid, TQpVar *step)
virtual void SteveStart (TQpProbBase *formulation, TQpVar *iterate, TQpDataBase *prob, TQpResidual *resid, TQpVar *step)
virtual void DumbStart (TQpProbBase *formulation, TQpVar *iterate, TQpDataBase *prob, TQpResidual *resid, TQpVar *step)
virtual Int_t Solve (TQpDataBase *prob, TQpVar *iterate, TQpResidual *resids)=0
virtual Double_t FinalStepLength (TQpVar *iterate, TQpVar *step)
virtual void DoMonitor (TQpDataBase *data, TQpVar *vars, TQpResidual *resids, Double_t alpha, Double_t sigma, Int_t i, Double_t mu, Int_t stop_code, Int_t level)
virtual void DefMonitor (TQpDataBase *data, TQpVar *vars, TQpResidual *resids, Double_t alpha, Double_t sigma, Int_t i, Double_t mu, Int_t stop_code, Int_t level)=0
virtual Int_t DoStatus (TQpDataBase *data, TQpVar *vars, TQpResidual *resids, Int_t i, Double_t mu, Int_t level)
virtual Int_t DefStatus (TQpDataBase *data, TQpVar *vars, TQpResidual *resids, Int_t i, Double_t mu, Int_t level)
TQpLinSolverBaseGetLinearSystem ()
void SetMuTol (Double_t m)
Double_t GetMuTol ()
void SetArTol (Double_t ar)
Double_t GetArTol ()
Double_t DataNorm ()
TQpSolverBaseoperator= (const TQpSolverBase &source)

Public Attributes

Int_t fIter

Protected Attributes

TQpLinSolverBasefSys
Double_t fDnorm
Double_t fMutol
Double_t fArtol
Double_t fGamma_f
Double_t fGamma_a
Double_t fPhi
Int_t fMaxit
Double_tfMu_history
Double_tfRnorm_history
Double_tfPhi_history
Double_tfPhi_min_history
TQpLinSolverBasefSys
Double_tfMu_history
Double_tfRnorm_history
Double_tfPhi_history
Double_tfPhi_min_history

Detailed Description

Definition at line 85 of file TQpSolverBase.h.


Constructor & Destructor Documentation

TQpSolverBase::TQpSolverBase (  ) 

TQpSolverBase::TQpSolverBase ( const TQpSolverBase another  ) 

Definition at line 90 of file TQpSolverBase.cxx.

TQpSolverBase::~TQpSolverBase (  )  [virtual]

Definition at line 99 of file TQpSolverBase.cxx.

References fMu_history, fPhi_history, fPhi_min_history, fRnorm_history, and fSys.

TQpSolverBase::TQpSolverBase (  ) 

TQpSolverBase::TQpSolverBase ( const TQpSolverBase another  ) 

virtual TQpSolverBase::~TQpSolverBase (  )  [virtual]


Member Function Documentation

void TQpSolverBase::Start ( TQpProbBase formulation,
TQpVar iterate,
TQpDataBase prob,
TQpResidual resid,
TQpVar step 
) [virtual]

Definition at line 113 of file TQpSolverBase.cxx.

References DefStart().

Referenced by TMehrotraSolver::Solve(), and TGondzioSolver::Solve().

void TQpSolverBase::DefStart ( TQpProbBase formulation,
TQpVar iterate,
TQpDataBase prob,
TQpResidual resid,
TQpVar step 
) [virtual]

Definition at line 126 of file TQpSolverBase.cxx.

References a, b, TQpResidual::CalcResids(), TQpLinSolverBase::Factor(), fDnorm, fSys, TQpVar::InteriorPoint(), TQpVar::Negate(), TQpVar::Saxpy(), TQpResidual::Set_r3_xz_alpha(), TQpVar::ShiftBoundVariables(), TQpLinSolverBase::Solve(), TMath::Sqrt(), and TQpVar::Violation().

Referenced by Start().

void TQpSolverBase::SteveStart ( TQpProbBase formulation,
TQpVar iterate,
TQpDataBase prob,
TQpResidual resid,
TQpVar step 
) [virtual]

Definition at line 152 of file TQpSolverBase.cxx.

References a, b, TQpResidual::CalcResids(), TQpLinSolverBase::Factor(), fDnorm, TQpVar::fNComplementaryVariables, fSys, TQpVar::GetMu(), TQpVar::InteriorPoint(), TQpVar::Negate(), TQpVar::Norm1(), TQpResidual::Set_r3_xz_alpha(), TQpVar::ShiftBoundVariables(), TQpLinSolverBase::Solve(), TMath::Sqrt(), and TQpVar::Violation().

void TQpSolverBase::DumbStart ( TQpProbBase formulation,
TQpVar iterate,
TQpDataBase prob,
TQpResidual resid,
TQpVar step 
) [virtual]

Definition at line 198 of file TQpSolverBase.cxx.

References a, b, fDnorm, and TQpVar::InteriorPoint().

virtual Int_t TQpSolverBase::Solve ( TQpDataBase prob,
TQpVar iterate,
TQpResidual resids 
) [pure virtual]

Double_t TQpSolverBase::FinalStepLength ( TQpVar iterate,
TQpVar step 
) [virtual]

Definition at line 215 of file TQpSolverBase.cxx.

References fGamma_a, fGamma_f, TQpVar::FindBlocking(), TQpVar::MuStep(), and R__ASSERT.

Referenced by TMehrotraSolver::Solve(), and TGondzioSolver::Solve().

void TQpSolverBase::DoMonitor ( TQpDataBase data,
TQpVar vars,
TQpResidual resids,
Double_t  alpha,
Double_t  sigma,
Int_t  i,
Double_t  mu,
Int_t  stop_code,
Int_t  level 
) [virtual]

Definition at line 253 of file TQpSolverBase.cxx.

References data, and DefMonitor().

Referenced by TMehrotraSolver::Solve(), and TGondzioSolver::Solve().

virtual void TQpSolverBase::DefMonitor ( TQpDataBase data,
TQpVar vars,
TQpResidual resids,
Double_t  alpha,
Double_t  sigma,
Int_t  i,
Double_t  mu,
Int_t  stop_code,
Int_t  level 
) [pure virtual]

Referenced by DoMonitor().

Int_t TQpSolverBase::DoStatus ( TQpDataBase data,
TQpVar vars,
TQpResidual resids,
Int_t  i,
Double_t  mu,
Int_t  level 
) [virtual]

Definition at line 264 of file TQpSolverBase.cxx.

References data, and DefStatus().

Referenced by TMehrotraSolver::Solve(), and TGondzioSolver::Solve().

Int_t TQpSolverBase::DefStatus ( TQpDataBase data,
TQpVar vars,
TQpResidual resids,
Int_t  i,
Double_t  mu,
Int_t  level 
) [virtual]

Definition at line 276 of file TQpSolverBase.cxx.

References TMath::Abs(), fArtol, fDnorm, fMaxit, fMu_history, fMutol, fPhi, fPhi_history, fPhi_min_history, fRnorm_history, TQpResidual::GetDualityGap(), TQpResidual::GetResidualNorm(), kINFEASIBLE, kMAX_ITS_EXCEEDED, kNOT_FINISHED, kSUCCESSFUL_TERMINATION, and kUNKNOWN.

Referenced by DoStatus().

TQpLinSolverBase* TQpSolverBase::GetLinearSystem (  )  [inline]

Definition at line 167 of file TQpSolverBase.h.

References fSys.

void TQpSolverBase::SetMuTol ( Double_t  m  )  [inline]

Definition at line 168 of file TQpSolverBase.h.

References fMutol.

Double_t TQpSolverBase::GetMuTol (  )  [inline]

Definition at line 169 of file TQpSolverBase.h.

References fMutol.

void TQpSolverBase::SetArTol ( Double_t  ar  )  [inline]

Definition at line 171 of file TQpSolverBase.h.

References fArtol.

Double_t TQpSolverBase::GetArTol (  )  [inline]

Definition at line 172 of file TQpSolverBase.h.

References fArtol.

Double_t TQpSolverBase::DataNorm (  )  [inline]

Definition at line 173 of file TQpSolverBase.h.

References fDnorm.

TQpSolverBase & TQpSolverBase::operator= ( const TQpSolverBase source  ) 

Definition at line 328 of file TQpSolverBase.cxx.

References fArtol, fDnorm, fGamma_a, fGamma_f, fIter, fMaxit, fMu_history, fMutol, fPhi, fPhi_history, fPhi_min_history, fRnorm_history, fSys, and TObject::operator=().

Referenced by TGondzioSolver::operator=(), and TMehrotraSolver::operator=().

virtual void TQpSolverBase::Start ( TQpProbBase formulation,
TQpVar iterate,
TQpDataBase prob,
TQpResidual resid,
TQpVar step 
) [virtual]

virtual void TQpSolverBase::DefStart ( TQpProbBase formulation,
TQpVar iterate,
TQpDataBase prob,
TQpResidual resid,
TQpVar step 
) [virtual]

virtual void TQpSolverBase::SteveStart ( TQpProbBase formulation,
TQpVar iterate,
TQpDataBase prob,
TQpResidual resid,
TQpVar step 
) [virtual]

virtual void TQpSolverBase::DumbStart ( TQpProbBase formulation,
TQpVar iterate,
TQpDataBase prob,
TQpResidual resid,
TQpVar step 
) [virtual]

virtual Int_t TQpSolverBase::Solve ( TQpDataBase prob,
TQpVar iterate,
TQpResidual resids 
) [pure virtual]

virtual Double_t TQpSolverBase::FinalStepLength ( TQpVar iterate,
TQpVar step 
) [virtual]

virtual void TQpSolverBase::DoMonitor ( TQpDataBase data,
TQpVar vars,
TQpResidual resids,
Double_t  alpha,
Double_t  sigma,
Int_t  i,
Double_t  mu,
Int_t  stop_code,
Int_t  level 
) [virtual]

virtual void TQpSolverBase::DefMonitor ( TQpDataBase data,
TQpVar vars,
TQpResidual resids,
Double_t  alpha,
Double_t  sigma,
Int_t  i,
Double_t  mu,
Int_t  stop_code,
Int_t  level 
) [pure virtual]

virtual Int_t TQpSolverBase::DoStatus ( TQpDataBase data,
TQpVar vars,
TQpResidual resids,
Int_t  i,
Double_t  mu,
Int_t  level 
) [virtual]

virtual Int_t TQpSolverBase::DefStatus ( TQpDataBase data,
TQpVar vars,
TQpResidual resids,
Int_t  i,
Double_t  mu,
Int_t  level 
) [virtual]

TQpLinSolverBase* TQpSolverBase::GetLinearSystem (  )  [inline]

Definition at line 167 of file TQpSolverBase.h.

References fSys.

void TQpSolverBase::SetMuTol ( Double_t  m  )  [inline]

Definition at line 168 of file TQpSolverBase.h.

References fMutol.

Double_t TQpSolverBase::GetMuTol (  )  [inline]

Definition at line 169 of file TQpSolverBase.h.

References fMutol.

void TQpSolverBase::SetArTol ( Double_t  ar  )  [inline]

Definition at line 171 of file TQpSolverBase.h.

References fArtol.

Double_t TQpSolverBase::GetArTol (  )  [inline]

Definition at line 172 of file TQpSolverBase.h.

References fArtol.

Double_t TQpSolverBase::DataNorm (  )  [inline]

Definition at line 173 of file TQpSolverBase.h.

References fDnorm.

TQpSolverBase& TQpSolverBase::operator= ( const TQpSolverBase source  ) 


Member Data Documentation

TQpLinSolverBase* TQpSolverBase::fSys [protected]

Definition at line 89 of file TQpSolverBase.h.

Referenced by DefStart(), GetLinearSystem(), operator=(), TMehrotraSolver::Solve(), TGondzioSolver::Solve(), SteveStart(), and ~TQpSolverBase().

Double_t TQpSolverBase::fDnorm [protected]

Definition at line 91 of file TQpSolverBase.h.

Referenced by DataNorm(), TGondzioSolver::DefMonitor(), TMehrotraSolver::DefMonitor(), DefStart(), DefStatus(), DumbStart(), operator=(), TMehrotraSolver::Solve(), TGondzioSolver::Solve(), and SteveStart().

Double_t TQpSolverBase::fMutol [protected]

Definition at line 93 of file TQpSolverBase.h.

Referenced by DefStatus(), GetMuTol(), operator=(), and SetMuTol().

Double_t TQpSolverBase::fArtol [protected]

Definition at line 94 of file TQpSolverBase.h.

Referenced by DefStatus(), GetArTol(), operator=(), and SetArTol().

Double_t TQpSolverBase::fGamma_f [protected]

Definition at line 96 of file TQpSolverBase.h.

Referenced by FinalStepLength(), and operator=().

Double_t TQpSolverBase::fGamma_a [protected]

Definition at line 97 of file TQpSolverBase.h.

Referenced by FinalStepLength(), and operator=().

Double_t TQpSolverBase::fPhi [protected]

Definition at line 98 of file TQpSolverBase.h.

Referenced by DefStatus(), and operator=().

Int_t TQpSolverBase::fMaxit [protected]

Definition at line 100 of file TQpSolverBase.h.

Referenced by DefStatus(), and operator=().

Double_t* TQpSolverBase::fMu_history [protected]

Definition at line 102 of file TQpSolverBase.h.

Referenced by DefStatus(), operator=(), and ~TQpSolverBase().

Double_t* TQpSolverBase::fRnorm_history [protected]

Definition at line 103 of file TQpSolverBase.h.

Referenced by DefStatus(), operator=(), and ~TQpSolverBase().

Double_t* TQpSolverBase::fPhi_history [protected]

Definition at line 104 of file TQpSolverBase.h.

Referenced by DefStatus(), operator=(), and ~TQpSolverBase().

Double_t* TQpSolverBase::fPhi_min_history [protected]

Definition at line 106 of file TQpSolverBase.h.

Referenced by DefStatus(), operator=(), and ~TQpSolverBase().

Int_t TQpSolverBase::fIter

Definition at line 110 of file TQpSolverBase.h.

Referenced by operator=(), TMehrotraSolver::Solve(), and TGondzioSolver::Solve().

TQpLinSolverBase* TQpSolverBase::fSys [protected]

Definition at line 89 of file TQpSolverBase.h.

Double_t* TQpSolverBase::fMu_history [protected]

Definition at line 102 of file TQpSolverBase.h.

Double_t* TQpSolverBase::fRnorm_history [protected]

Definition at line 103 of file TQpSolverBase.h.

Double_t* TQpSolverBase::fPhi_history [protected]

Definition at line 104 of file TQpSolverBase.h.

Double_t* TQpSolverBase::fPhi_min_history [protected]

Definition at line 106 of file TQpSolverBase.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:45:50 2011 for ROOT_528-00b_version by  doxygen 1.5.1