|
ConicBundle
|
for the "C" interface this maps c oracles to the standard function oracle with matrix classes More...
#include <CFunction.hxx>
Public Member Functions | |
| CFunction (void *fk, cb_functionp fp, cb_subgextp se=0, int prdim=0) | |
| constructor | |
| ~CFunction () | |
| destructor | |
| void | set_max_new (CH_Matrix_Classes::Integer mn) |
| set the maximum number of new subgardients per evaluations | |
| int | evaluate (const CH_Matrix_Classes::Matrix ¤t_point, double relprec, double &objective_value, std::vector< Minorant *> &minorants, PrimalExtender *&) |
| see MatrixFunctionOracle::evaluate() for explanations | |
| int | apply_modification (const OracleModification &oracle_modification, const CH_Matrix_Classes::Matrix *new_center, const CH_Matrix_Classes::Matrix *old_center, bool &discard_objective_in_center, bool &discard_model, bool &discard_aggregates, MinorantExtender *&minorant_extender) |
| see MatrixFunctionOracle::apply_modfication() for explanations | |
Public Member Functions inherited from ConicBundle::CBout | |
| virtual void | set_out (std::ostream *out=0, int print_level=1) |
| Specifies the output level (out==NULL: no output at all, out!=NULL and level=0: errors and warnings, level>0 increasingly detailed information) More... | |
| virtual void | set_cbout (const CBout *cb, int incr=-1) |
| Specifies the output level relative to the given CBout class. More... | |
| void | clear_cbout () |
| reset to default settings (out=0,print_level=1) | |
| CBout (const CBout *cb=0, int incr=-1) | |
| calls set_cbout | |
| CBout (std::ostream *outp, int pl=1) | |
| initialize correspondingly | |
| CBout (const CBout &cb, int incr=0) | |
| copy constructor | |
| virtual bool | cb_out (int pl=-1) const |
| Returns true if out!=0 and (pl<print_level), pl<0 should be used for WARNINGS and ERRORS only, pl==0 for usual output. | |
| std::ostream & | get_out () const |
| If cb_out() returned true, this returns the output stream, but it will abort if called with out==0. | |
| std::ostream * | get_out_ptr () const |
| returns the pointer to the output stream | |
| int | get_print_level () const |
| returns the print_level | |
| virtual int | mfile_data (std::ostream &out) const |
| writes problem data to the given outstream | |
Public Member Functions inherited from ConicBundle::MatrixFunctionOracle | |
| virtual bool | check_correctness () const |
| switch on/off some correctnes checks on the oracle | |
Public Member Functions inherited from ConicBundle::ModifiableOracleObject | |
| virtual | ~ModifiableOracleObject () |
| virtual destructor | |
Private Attributes | |
| void * | function_key |
| identifier for c-code | |
| cb_functionp | oracle |
| c-function for evaluate | |
| cb_subgextp | subgext |
| c-function for subgradient extension | |
| CH_Matrix_Classes::Integer | primaldim |
| length of primal vectors; uses PrimalMatrix | |
| CH_Matrix_Classes::Integer | max_new |
| maximum number of new vectors per call | |
for the "C" interface this maps c oracles to the standard function oracle with matrix classes
1.8.13