3 #ifndef CONICBUNDLE_BOXDATA_HXX 4 #define CONICBUNDLE_BOXDATA_HXX 128 void clear_model(
bool discard_minorants_only=
false);
int Integer
all integer numbers in calculations and indexing are of this type
Definition: matop.hxx:40
BoxData(CH_Matrix_Classes::Real fun_factor=1., FunctionTask fun_task=ObjectiveFunction)
initializes BundleData, sets center_primal to NULL and calls clear()
CH_Matrix_Classes::Matrix boxbundle_complvalues
the aggregate values in the complement (if not empty)
Definition: BoxData.hxx:80
If in Lagrangean relaxation primal solutions are in the form of a real vector or, more generally a ma...
Definition: MatrixCBSolver.hxx:211
MinorantPointer center_minorant
the (eps-)subgradient linear minorant in the center (available if valid and center_ub_mid is the modi...
Definition: BoxData.hxx:46
CH_Matrix_Classes::Real aggr_scaleval
the aggregate with function_factor is aggr_boxvec*aggr_scaleval;
Definition: BoxData.hxx:60
double Real
all real numbers in calculations are of this type
Definition: matop.hxx:50
Interface for extending a Minorant, e.g., in Lagrangian Relaxation of cutting plane approaches...
Definition: CBSolver.hxx:490
const PrimalData * get_approximate_primal() const
return the PrimalData corresponding to the aggregate
Matrix class for integral values of type Integer
Definition: indexmat.hxx:195
const PrimalData * get_center_primal() const
return the PrimalData corresponding to the aggregate
bool outside_bundle
true if nncbundle and nncbundle_coeff are initialized from an external source, e.g by a request to sw...
Definition: BoxData.hxx:86
PrimalMatrix center_boxvec
the maximizer over the box for the current center (without function_factor)
Definition: BoxData.hxx:47
conic bundle method solver for sum of convex functions. See the ConicBundle_Manual for a quick introd...
Definition: CBSolver.hxx:22
CH_Matrix_Classes::Matrix primal_nnctapia
indicators for activity of minorants
Definition: BoxData.hxx:84
MinorantBundle nncbundle
if the boxbundle is empty, this holds the aggregate (if available) and the candidate (always); if the...
Definition: BoxData.hxx:82
implements (as a derived class of ConeModel) a standard cutting plane model for a MatrixBoxOracle ...
Definition: BoxModel.hxx:28
int init(const BundleData *bd)
if bd is of type BoxData, initialize to this data
Header declaring the classes ConicBundle::BoxOracle and ConicBundle::BoxBundleParameters (needed for ...
CH_Matrix_Classes::Matrix boxbundle_coeff
coefficients of BoxBlock determined in last BundleMethod::eval_augmodel
Definition: BoxData.hxx:76
void clear_model(bool discard_minorants_only=false)
clear the cutting model and all function evaluations
PrimalMatrix aggr_boxvec
the primal aggregate vector in the box (without function_factor) giving rise to the aggregate; not in...
Definition: BoxData.hxx:59
void clear(CH_Matrix_Classes::Integer start_modification_id=0)
reset to initial state (also used by the default constructor)
PrimalMatrix cand_boxvec
the maximizer over the box for the current candidate
Definition: BoxData.hxx:54
MinorantPointer cand_minorant
the (eps)sugradient linear minorant returned by eval_function for the candidate (available if valid a...
Definition: BoxData.hxx:53
extends BundleData for use with BoxModel by adding information on subgradients and the cutting plane ...
Definition: BoxData.hxx:29
Header declaring the class ConicBundle::BundleData (see ConicBundle::SumBlockModel) ...
CH_Matrix_Classes::Matrix coord_switching
keeps track of which coordinates where changing the most in the past
Definition: BoxData.hxx:88
Matrix class for real values of type Real
Definition: matrix.hxx:74
int synchronize_ids(CH_Matrix_Classes::Integer &new_center_ub_fid, CH_Matrix_Classes::Integer new_center_id, CH_Matrix_Classes::Integer old_center_id, CH_Matrix_Classes::Integer &new_cand_ub_fid, CH_Matrix_Classes::Integer new_cand_id, CH_Matrix_Classes::Integer old_cand_id, CH_Matrix_Classes::Integer &new_aggregate_id, CH_Matrix_Classes::Integer new_prex_id=0)
synchronize ids in any case by discarding inconsistent parts but return number of errors ...
FunctionTask
Each function represented by a FunctionModel is equipped with a function_factor (it defaults to 1...
Definition: CBSolver.hxx:221
std::vector< MinorantPointer > MinorantBundle
a bundle is a vector with MinorantPointer entries
Definition: MinorantPointer.hxx:24
MinorantBundle boxbundle
the bundle holds the minorants describing the BoxBlock part of the model for selected coordinates and...
Definition: BoxData.hxx:75
int call_primal_extender(PrimalExtender &prex, bool include_candidates=true)
see the last argument of BoxOracle::evaluate()
Header declaring the classes ConicBundle::MatrixCBSolver, ConicBundle::MatrixFunctionOracle, ConicBundle::PrimalMatrix, ConicBundle::MatrixMinorant, ConicBundle::ModifiableOracleObject.
int do_step(CH_Matrix_Classes::Integer point_id)
if the candidate information is available and consitent for point_id, copy it from cand to center and...
void clear_aggregates()
remove all aggregate minorants
In Lagrangean relaxation an approximate primal solution can be generated by supplying primal informat...
Definition: CBSolver.hxx:151
CH_Matrix_Classes::Matrix primal_boxtapia
indicators for activity of minorants
Definition: BoxData.hxx:77
Collects modifications for the unconstrained Groundset for appending, deleting or reassigning variabl...
Definition: GroundsetModification.hxx:32
Interface for extending PrimalData, e.g., in Lagrangian relaxation of column generation approaches...
Definition: CBSolver.hxx:180
CH_Matrix_Classes::Matrix nncbundle_coeff
coefficients determined in last BundleMethod::eval_augmodel
Definition: BoxData.hxx:83
base class for use with SumBlockModel for storing and managing essential data of evaluations and the ...
Definition: BundleData.hxx:77
const PrimalData * get_candidate_primal() const
return the PrimalData delivered by the last call of BoxOracle::evaluate()
CH_Matrix_Classes::Integer prex_id
counter for keeping track of PriamlExtender calls
Definition: BoxData.hxx:91
BundleData * clone() const
return a pointer to a clone of this
points to MinorantUseData that may be shared by many and allows computations with Minorants ...
Definition: MinorantPointer.hxx:34
int apply_modification(const GroundsetModification &, MinorantExtender *mex)
rearrange/extend the minorants according to the given groundset modifications
CH_Matrix_Classes::Indexmatrix boxbundle_coords
the coordinates selected to have their full box range in the model
Definition: BoxData.hxx:79