Limbo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | List of all members
limbo::solvers::ProblemScaler< T, V > Class Template Reference

Base class for scaling scheme with default no scaling. More...

#include <MultiKnapsackLagRelax.h>

Inheritance diagram for limbo::solvers::ProblemScaler< T, V >:
limbo::solvers::L2NormScaler< T, V > limbo::solvers::MinCoefficientScaler< T, V >

Public Types

typedef LinearModel< T, V > model_type
 model type
 
typedef
model_type::coefficient_value_type 
value_type
 value type
 
typedef model_type::expression_type expression_type
 expression type
 
typedef model_type::constraint_type constraint_type
 constraint type
 
typedef model_type::term_type term_type
 term type
 

Public Member Functions

 ProblemScaler ()
 constructor
 
virtual ~ProblemScaler ()
 destructor
 
virtual value_type operator() (expression_type const &) const
 API to compute scaling factor for expression using L2 norm. More...
 
virtual value_type operator() (constraint_type const &constr) const
 API to compute scaling factor for constraints using L2 norm. More...
 

Detailed Description

template<typename T, typename V>
class limbo::solvers::ProblemScaler< T, V >

Base class for scaling scheme with default no scaling.

Template Parameters
Tcoefficient value type
Vvariable value type

Definition at line 27 of file MultiKnapsackLagRelax.h.

Member Function Documentation

template<typename T , typename V >
virtual value_type limbo::solvers::ProblemScaler< T, V >::operator() ( expression_type const &  ) const
inlinevirtual

API to compute scaling factor for expression using L2 norm.

param expr expression

Returns
scaling factor

Reimplemented in limbo::solvers::L2NormScaler< T, V >, and limbo::solvers::MinCoefficientScaler< T, V >.

Definition at line 1091 of file MultiKnapsackLagRelax.h.

template<typename T , typename V >
virtual value_type limbo::solvers::ProblemScaler< T, V >::operator() ( constraint_type const &  constr) const
inlinevirtual

API to compute scaling factor for constraints using L2 norm.

Parameters
constrconstraint
Returns
scaling factor

Reimplemented in limbo::solvers::L2NormScaler< T, V >, and limbo::solvers::MinCoefficientScaler< T, V >.

Definition at line 1098 of file MultiKnapsackLagRelax.h.


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