#include <HuberVars.h>
Inheritance diagram for HuberVars:
Public Methods | |
HuberVars (int nobservations_in, int npredictors_in) | |
HuberVars (int nobservations_in, int npredictors_in, double *beta, double *t, double *lambda1, double *lambda2, double *gamma1, double *gamma2) | |
virtual | ~HuberVars () |
virtual void | saxpy (Variables *b, double alpha) |
virtual void | negate () |
virtual double | mu () |
virtual double | mustep (Variables *step, double alpha) |
virtual double | stepbound (Variables *b) |
virtual double | findBlocking (Variables *step, double &primalValue, double &primalStep, double &dualValue, double &dualStep, int &firstOrSecond) |
virtual void | interiorPoint (double alpha, double beta) |
virtual void | print () |
virtual void | printBeta () |
virtual void | copy (Variables *b) |
virtual void | shiftBoundVariables (double alpha, double beta) |
virtual double | violation () |
virtual double | onenorm () |
virtual double | infnorm () |
Public Attributes | |
int | nobservations |
int | npredictors |
SimpleVectorHandle | beta |
SimpleVectorHandle | t |
SimpleVectorHandle | gamma1 |
SimpleVectorHandle | gamma2 |
SimpleVectorHandle | lambda1 |
SimpleVectorHandle | lambda2 |
|
constructor to make a Huber variables object of specified dimensions |
|
constructor to make a Huber variables object of specified dimensions for which storage has already been allocated for the five individual vector components |
|
destructor for Huber variables object |
|
copy the variables Implements Variables. |
|
Performs the same function as stepbound, and supplies additional information about which component of the nonnegative variables is responsible for restricting alpha. In terms of the abstract formulation, the components have the following meanings.
Implements Variables. |
|
compute the inf-norm of the variables Implements Variables. |
|
In the abstract QP formulation, sets s to alpha, z to beta and the other variable components to zero. Implements Variables. |
|
compute complementarity gap, obtained by taking the inner product of the complementary vectors and dividing by the total number of components Implements Variables. |
|
compute the complementarity gap resulting from a step of length "alpha" along direction "step" Implements Variables. |
|
negate the value of all the variables in this structure Implements Variables. |
|
compute the 1-norm of the variables Implements Variables. |
|
print all variables in the Svm variables structure Reimplemented from Variables. |
|
print only the interesting variables; namely, the coefficients of the predictor variables |
|
given variables b, compute a <- a + alpha b, where a are the variables in this class Implements Variables. |
|
In the standard QP formulation, sets s += alpha, z += beta Implements Variables. |
|
calculate the largest alpha in (0,1] such that the nonnegative variables stay nonnegative in the given search direction. In the abstract problem formulation, this is the largest value of alpha such that (s,z) + alpha * (b->s,b->z) >= 0.
Implements Variables. |
|
The amount by which the current variables violate the non-negativity constraints. Implements Variables. |
|
vectors that make up the Huber variables; see the paper by E. M. Gertz and S. J. Wright for details of the formulation |
|
vectors that make up the Huber variables; see the paper by E. M. Gertz and S. J. Wright for details of the formulation |
|
vectors that make up the Huber variables; see the paper by E. M. Gertz and S. J. Wright for details of the formulation |
|
vectors that make up the Huber variables; see the paper by E. M. Gertz and S. J. Wright for details of the formulation |
|
vectors that make up the Huber variables; see the paper by E. M. Gertz and S. J. Wright for details of the formulation |
|
number of observations |
|
number of predictor variables |
|
vectors that make up the Huber variables; see the paper by E. M. Gertz and S. J. Wright for details of the formulation |