3 #ifndef CONICBUNDLE_NNCDATA_HXX 4 #define CONICBUNDLE_NNCDATA_HXX 113 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
double Real
all real numbers in calculations are of this type
Definition: matop.hxx:50
MinorantBundle bundle
the bundle holds the minorants describing the model
Definition: NNCData.hxx:72
Interface for extending a Minorant, e.g., in Lagrangian Relaxation of cutting plane approaches...
Definition: CBSolver.hxx:490
int call_primal_extender(PrimalExtender &prex, bool include_candidates=true)
see the last argument of FunctionOracle::evaluate()
BundleData * clone() const
return a pointer to a clone of this
implements (as a derived class of SumBlockModel) a standard cutting plane model for a MatrixFunctionO...
Definition: NNCModel.hxx:28
CH_Matrix_Classes::Matrix primal_tapia
indicators for activity of minorants
Definition: NNCData.hxx:69
virtual int get_model_data(MinorantBundle &model_minorants, CH_Matrix_Classes::Matrix &model_coeff) const
the minorants currently used in the model; the list may be empty or max contain other minorants than ...
Definition: NNCData.hxx:134
conic bundle method solver for sum of convex functions. See the ConicBundle_Manual for a quick introd...
Definition: CBSolver.hxx:22
int init(const BundleData *bd)
if bd is of type NNCData, initialize to this data
int apply_modification(const GroundsetModification &, MinorantExtender *mex)
rearrange/extend the minorants according to the given groundset modifications
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 ...
void clear(CH_Matrix_Classes::Integer start_modification_id=0)
reset to initial state (also used by the default constructor)
NNCData(CH_Matrix_Classes::Real fun_factor=1., FunctionTask fun_task=ObjectiveFunction)
initializes BundleData, sets center_primal to NULL and calls clear()
void clear_aggregates()
remove all aggregate minorants
extends BundleData for use with FunctionModel by adding information on subgradients and the cutting p...
Definition: NNCData.hxx:27
const PrimalData * get_center_primal() const
return the PrimalData corresponding to the aggregate
Header declaring the class ConicBundle::BundleData (see ConicBundle::SumBlockModel) ...
Matrix class for real values of type Real
Definition: matrix.hxx:74
CH_Matrix_Classes::Matrix bundlecoeff
coefficients determined in last BundleMethod::eval_augmodel
Definition: NNCData.hxx:68
FunctionTask
Each function represented by a FunctionModel is equipped with a function_factor (it defaults to 1...
Definition: CBSolver.hxx:221
MinorantPointer center_minorant
the (eps-)subgradient linear minorant in the center (available if center_ub_mid is the modification i...
Definition: NNCData.hxx:42
std::vector< MinorantPointer > MinorantBundle
a bundle is a vector with MinorantPointer entries
Definition: MinorantPointer.hxx:24
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...
const PrimalData * get_candidate_primal() const
return the PrimalData delivered by the last call of FunctionOracle::evaluate()
MinorantPointer cand_minorant
the "best" (eps)sugradient linear minorant returned by eval_function (available if valid and cand_ub_...
Definition: NNCData.hxx:49
const PrimalData * get_approximate_primal() const
return the PrimalData corresponding to the aggregate
In Lagrangean relaxation an approximate primal solution can be generated by supplying primal informat...
Definition: CBSolver.hxx:151
Collects modifications for the unconstrained Groundset for appending, deleting or reassigning variabl...
Definition: GroundsetModification.hxx:32
void clear_model(bool discard_minorants_only=false)
clear the cutting model and all function evaluations
Interface for extending PrimalData, e.g., in Lagrangian relaxation of column generation approaches...
Definition: CBSolver.hxx:180
base class for use with SumBlockModel for storing and managing essential data of evaluations and the ...
Definition: BundleData.hxx:77
MinorantBundle cand_minorants
the (eps)sugradient linear minorants returned by eval_function for the candidate (available if cand_u...
Definition: NNCData.hxx:50
points to MinorantUseData that may be shared by many and allows computations with Minorants ...
Definition: MinorantPointer.hxx:34
bool outside_bundle
true if bundle and bundlecoeff are initialized from an external source, e.g by a request to switch fr...
Definition: NNCData.hxx:74