3 #ifndef CONICBUNDLE_AFFINEFUNCTIONTRANSFORMATION_HXX 4 #define CONICBUNDLE_AFFINEFUNCTIONTRANSFORMATION_HXX 90 bool model_calls_delete=
true);
98 bool in_model_calls_delete=
true,
99 CBout* cbo=0,
int incr=-1):
100 CBout(cbo,incr),linear_cost(0),arg_offset(0),arg_trafo(0)
101 {
init(in_fun_coeff,in_fun_offset,in_linear_cost,in_arg_offset,in_arg_trafo,in_model_calls_delete);}
114 {
if ((arg_offset!=0)||(arg_trafo!=0))
return true;
return false;}
168 if (linear_cost)
return (*linear_cost)(i);
181 return arg_trafo->
coldim();
183 return linear_cost->
rowdim();
185 return arg_offset->
rowdim();
193 return arg_trafo->
rowdim();
195 return arg_offset->
rowdim();
197 return linear_cost->
rowdim();
248 {
return offset+fun_coeff*function_value;}
267 bool add_trafo_minorant=
false,
int Integer
all integer numbers in calculations and indexing are of this type
Definition: matop.hxx:40
Integer rowdim() const
returns the row dimension
Definition: matrix.hxx:215
double Real
all real numbers in calculations are of this type
Definition: matop.hxx:50
Matrix class for integral values of type Integer
Definition: indexmat.hxx:195
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
Header declaring the classes ConicBundle::CBSolver, ConicBundle::FunctionOracle and ConicBundle::Prim...
Header declaring the output class CBout.
Header declaring the class ConicBundle::AFTModification.
collects modifications for an AffineFunctionTransformation for the scaling and offset constants as we...
Definition: AFTModification.hxx:31
Matrix class for real values of type Real
Definition: matrix.hxx:74
Header declaring the class ConicBundle::GroundsetModification.
std::ostream * out
not output at all if out==0, otherwise use this output stream
Definition: CBout.hxx:33
Matrix class of sparse matrices with real values of type Real
Definition: sparsmat.hxx:74
std::vector< MinorantPointer > MinorantBundle
a bundle is a vector with MinorantPointer entries
Definition: MinorantPointer.hxx:24
const Indexmatrix & get_rowinfo() const
returns information on nonzero rows, k by 3, listing: index, %nonzeros, first index in rowindex/rowva...
Definition: sparsmat.hxx:272
Integer rowdim() const
returns the row dimension
Definition: indexmat.hxx:321
basic function object (abstract class). It serves for using the same interface on distinct oracle typ...
Definition: CBSolver.hxx:236
Collects modifications for the unconstrained Groundset for appending, deleting or reassigning variabl...
Definition: GroundsetModification.hxx:32
Header declaring the class ConicBundle::MinorantPointer.
Integer coldim() const
returns the column dimension
Definition: sparsmat.hxx:202
Integer rowdim() const
returns the row dimension
Definition: sparsmat.hxx:199
points to MinorantUseData that may be shared by many and allows computations with Minorants ...
Definition: MinorantPointer.hxx:34