Definition at line 61 of file TQpResidual.h.
|
| TQpResidual () |
| Constructor. More...
|
|
| TQpResidual (Int_t nx, Int_t my, Int_t mz, TVectorD &ixlow, TVectorD &ixupp, TVectorD &iclow, TVectorD &icupp) |
| Constructor. More...
|
|
| TQpResidual (const TQpResidual &another) |
| Copy constructor. More...
|
|
virtual | ~TQpResidual () |
|
void | Add_r3_xz_alpha (TQpVar *vars, Double_t alpha) |
| Modify the "complementarity" component of the residuals, by adding the pairwise products of the complementary variables plus a constant alpha to this term. More...
|
|
void | CalcResids (TQpDataBase *problem, TQpVar *vars) |
| Calculate residuals, their norms, and duality complementarity gap, given a problem and variable set. More...
|
|
void | Clear_r1r2 () |
| set the noncomplementarity components of the residual (the terms arising from the linear equalities in the KKT conditions) to 0. More...
|
|
void | Clear_r3 () |
| set the complementarity component of the residuals to 0. More...
|
|
Double_t | GetDualityGap () |
|
Double_t | GetResidualNorm () |
|
TQpResidual & | operator= (const TQpResidual &source) |
| Assignment operator. More...
|
|
void | Project_r3 (Double_t rmin, Double_t rmax) |
| Perform the projection operation required by Gondzio algorithm: replace each component r3_i of the complementarity component of the residuals by r3p_i-r3_i, where r3p_i is the projection of r3_i onto the box [rmin, rmax]. More...
|
|
void | Set_r3_xz_alpha (TQpVar *vars, Double_t alpha) |
| Set the "complementarity" component of the residuals to the pairwise products of the complementary variables plus a constant alpha . More...
|
|
Bool_t | ValidNonZeroPattern () |
| Check if vector elements as selected through array indices are non-zero. More...
|
|
|
static void | GondzioProjection (TVectorD &v, Double_t rmin, Double_t rmax) |
| Replace each component r3_i of the complementarity component of the residuals by r3p_i-r3_i, where r3p_i is the projection of r3_i onto the box [rmin, rmax]. More...
|
|
#include <TQpResidual.h>
◆ TQpResidual() [1/3]
TQpResidual::TQpResidual |
( |
| ) |
|
◆ TQpResidual() [2/3]
◆ TQpResidual() [3/3]
TQpResidual::TQpResidual |
( |
const TQpResidual & |
another | ) |
|
◆ ~TQpResidual()
virtual TQpResidual::~TQpResidual |
( |
| ) |
|
|
inlinevirtual |
◆ Add_r3_xz_alpha()
void TQpResidual::Add_r3_xz_alpha |
( |
TQpVar * |
vars, |
|
|
Double_t |
alpha |
|
) |
| |
Modify the "complementarity" component of the residuals, by adding the pairwise products of the complementary variables plus a constant alpha to this term.
Definition at line 239 of file TQpResidual.cxx.
◆ CalcResids()
Calculate residuals, their norms, and duality complementarity gap, given a problem and variable set.
Definition at line 139 of file TQpResidual.cxx.
◆ Clear_r1r2()
void TQpResidual::Clear_r1r2 |
( |
| ) |
|
set the noncomplementarity components of the residual (the terms arising from the linear equalities in the KKT conditions) to 0.
Definition at line 282 of file TQpResidual.cxx.
◆ Clear_r3()
void TQpResidual::Clear_r3 |
( |
| ) |
|
set the complementarity component of the residuals to 0.
Definition at line 269 of file TQpResidual.cxx.
◆ GetDualityGap()
Double_t TQpResidual::GetDualityGap |
( |
| ) |
|
|
inline |
◆ GetResidualNorm()
Double_t TQpResidual::GetResidualNorm |
( |
| ) |
|
|
inline |
◆ GondzioProjection()
void TQpResidual::GondzioProjection |
( |
TVectorD & |
v, |
|
|
Double_t |
rmin, |
|
|
Double_t |
rmax |
|
) |
| |
|
staticprotected |
Replace each component r3_i of the complementarity component of the residuals by r3p_i-r3_i, where r3p_i is the projection of r3_i onto the box [rmin, rmax].
Then if the resulting value is less than -rmax, replace it by -rmax.
Definition at line 359 of file TQpResidual.cxx.
◆ operator=()
◆ Project_r3()
void TQpResidual::Project_r3 |
( |
Double_t |
rmin, |
|
|
Double_t |
rmax |
|
) |
| |
Perform the projection operation required by Gondzio algorithm: replace each component r3_i of the complementarity component of the residuals by r3p_i-r3_i, where r3p_i is the projection of r3_i onto the box [rmin, rmax].
Then if the resulting value is less than -rmax, replace it by -rmax.
Definition at line 301 of file TQpResidual.cxx.
◆ Set_r3_xz_alpha()
void TQpResidual::Set_r3_xz_alpha |
( |
TQpVar * |
vars, |
|
|
Double_t |
alpha |
|
) |
| |
Set the "complementarity" component of the residuals to the pairwise products of the complementary variables plus a constant alpha .
Definition at line 259 of file TQpResidual.cxx.
◆ ValidNonZeroPattern()
Bool_t TQpResidual::ValidNonZeroPattern |
( |
| ) |
|
Check if vector elements as selected through array indices are non-zero.
Definition at line 325 of file TQpResidual.cxx.
◆ fCloIndex
◆ fCupIndex
◆ fDualityGap
Double_t TQpResidual::fDualityGap |
|
protected |
◆ fMclo
Double_t TQpResidual::fMclo |
|
protected |
◆ fMcup
Double_t TQpResidual::fMcup |
|
protected |
◆ fMy
◆ fMz
◆ fNx
◆ fNxlo
Double_t TQpResidual::fNxlo |
|
protected |
◆ fNxup
Double_t TQpResidual::fNxup |
|
protected |
◆ fRA
◆ fRC
◆ fResidualNorm
Double_t TQpResidual::fResidualNorm |
|
protected |
◆ fRgamma
◆ fRlambda
◆ fRphi
◆ fRpi
◆ fRQ
◆ fRt
◆ fRu
◆ fRv
◆ fRw
◆ fRz
◆ fXloIndex
◆ fXupIndex
The documentation for this class was generated from the following files: