ConicBundle
SOCModelParameters.hxx
Go to the documentation of this file.
1 
2 
3 #ifndef CONICBUNDLE_SOCMODELPARAMETERS_HXX
4 #define CONICBUNDLE_SOCMODELPARAMETERS_HXX
5 
6 
16 
17 namespace ConicBundle {
18 
23 
24 
32 {
33 private:
34 
35 public:
37  SOCModelParameters(const CBout* cb=0,int incr=-1):
39  {}
40 
42  SOCModelParameters(int modelsize,int bundlesize=10,int updaterule=0,const CBout* cb=0,int incr=-1):
43  SOCModelParametersObject(BundleParameters(modelsize,bundlesize,updaterule),cb,incr)
44  {}
45 
47  SOCModelParameters(const BundleParameters& bp,const CBout* cb=0,int incr=-1):
48  SOCModelParametersObject(bp,cb,incr)
49  {}
50 
54  {}
55 
57  virtual ~SOCModelParameters();
58 
61  { return new SOCModelParameters(*this); }
62 
63 
122  virtual int select_model(CH_Matrix_Classes::Matrix& modelvecs,
123  const CH_Matrix_Classes::Matrix& aggrvec,
124  CH_Matrix_Classes::Real cand_SOCval,
125  const CH_Matrix_Classes::Matrix& cand_SOCvec,
126  CH_Matrix_Classes::Real center_SOCval,
127  const CH_Matrix_Classes::Matrix& center_SOCvec,
128  const CH_Matrix_Classes::Matrix& SOCvecs,
129  SOCOracle* oracle,
130  FunctionTask function_task,
131  CH_Matrix_Classes::Real function_factor,
132  BundleModel::ModelUpdate model_update,
133  CH_Matrix_Classes::Integer center_id,
134  const CH_Matrix_Classes::Matrix& center_y,
136  const CH_Matrix_Classes::Matrix& cand_y,
137  CH_Matrix_Classes::Real model_maxviol,
138  BundleProxObject& H);
139 
140 
141 };
142 
144 
145 }
146 
147 #endif
148 
int Integer
all integer numbers in calculations and indexing are of this type
Definition: matop.hxx:40
abstract interface for SOCModel for the model selection routine select_model()
Definition: SOCModelParametersObject.hxx:49
abstract interface that allows to use different -norms with a positive definite matrix in the proxi...
Definition: BundleProxObject.hxx:88
SOCModelParameters(const SOCModelParameters &sms)
copy constructor
Definition: SOCModelParameters.hxx:52
double Real
all real numbers in calculations are of this type
Definition: matop.hxx:50
Oracle interface for minimization of the support function over the seoncd order cone with for an aff...
Definition: SOCOracle.hxx:186
conic bundle method solver for sum of convex functions. See the ConicBundle_Manual for a quick introd...
Definition: CBSolver.hxx:22
base class for uniform use of WARNINGS and ERRORS (at some point in time)
Definition: CBout.hxx:30
ModelUpdate
for informing update_model() at what stage it is called to update the bundle so that the amount of in...
Definition: BundleModel.hxx:149
SOCModelParameters(const BundleParameters &bp, const CBout *cb=0, int incr=-1)
copy constructor for BundleParameters
Definition: SOCModelParameters.hxx:47
Serves for specifying parameters regarding the construction of cutting models.
Definition: CBSolver.hxx:891
virtual int select_model(CH_Matrix_Classes::Matrix &modelvecs, const CH_Matrix_Classes::Matrix &aggrvec, CH_Matrix_Classes::Real cand_SOCval, const CH_Matrix_Classes::Matrix &cand_SOCvec, CH_Matrix_Classes::Real center_SOCval, const CH_Matrix_Classes::Matrix &center_SOCvec, const CH_Matrix_Classes::Matrix &SOCvecs, SOCOracle *oracle, FunctionTask function_task, CH_Matrix_Classes::Real function_factor, BundleModel::ModelUpdate model_update, CH_Matrix_Classes::Integer center_id, const CH_Matrix_Classes::Matrix &center_y, CH_Matrix_Classes::Integer cand_id, const CH_Matrix_Classes::Matrix &cand_y, CH_Matrix_Classes::Real model_maxviol, BundleProxObject &H)
SOCModel calls this for selecting the next minorants for a polyhedral model.
Matrix class for real values of type Real
Definition: matrix.hxx:74
SOCModelParameters(const CBout *cb=0, int incr=-1)
default constructor with the possibility to set the output
Definition: SOCModelParameters.hxx:37
default model selection routine for SOCModel
Definition: SOCModelParameters.hxx:31
Header declaring the class ConicBundle::SOCModelParametersObject.
FunctionTask
Each function represented by a FunctionModel is equipped with a function_factor (it defaults to 1...
Definition: CBSolver.hxx:221
BundleParameters * clone_BundleParameters() const
clone
Definition: SOCModelParameters.hxx:60
virtual ~SOCModelParameters()
destructor
SOCModelParameters(int modelsize, int bundlesize=10, int updaterule=0, const CBout *cb=0, int incr=-1)
constructor for size parameters
Definition: SOCModelParameters.hxx:42