ConicBundle
Public Member Functions | Protected Attributes | List of all members
ConicBundle::BundleParameters Class Reference

Serves for specifying parameters regarding the construction of cutting models. More...

#include <CBSolver.hxx>

Inheritance diagram for ConicBundle::BundleParameters:
ConicBundle::BoxModelParametersObject ConicBundle::NNCModelParametersObject ConicBundle::PSCBundleParameters ConicBundle::PSCModelParametersObject ConicBundle::SOCBundleParameters ConicBundle::SOCModelParametersObject ConicBundle::SumBundleParametersObject ConicBundle::SumModelParametersObject

Public Member Functions

virtual int init (const BundleParameters &bp)
 initialize to given values
 
virtual int get_max_model_size () const
 returns the value of the variable
 
virtual int get_max_bundle_size () const
 returns the value of the variable
 
virtual int get_update_rule () const
 returns the value of the variable
 
virtual int set_max_model_size (int mms)
 sets the value of the variable
 
virtual int set_max_bundle_size (int mbs)
 sets the value of the variable
 
virtual int set_update_rule (int ur)
 sets the value of the variable
 
 BundleParameters (const BundleParameters &bp)
 often works well: small model of size 2 and some history in bundle size for use in scaling
 
 BundleParameters (int modelsize=-1, int bundlesize=-1, int updaterule=-1)
 often works well for fast initial progress: small model of size 2 and some history in bundle size for use in scaling; default values give no preference at all
 
virtual ~BundleParameters ()
 virtual destructor
 
virtual BundleParametersclone_BundleParameters () const
 return a new clone object of this on the heap (caller needs to delete the result)
 

Protected Attributes

int max_model_size
 maximum number of minorants to be selected for the cutting model (numbers<=1 for no limit, numbers >=2 impose a strict limit)
 
int max_bundle_size
 suggested maximum number of latest minorants stored for use in a model, for constructing variable metric information etc. (negative numbers give no preference; the size may be increased internally in case of confliciting requirements, eg. in n_model_size or by variable metric routines)
 
int update_rule
 in case several update rules are available
 

Detailed Description

Serves for specifying parameters regarding the construction of cutting models.


The documentation for this class was generated from the following file: