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

Scaling scheme with default L2 norm scaling. More...

#include <MultiKnapsackLagRelax.h>

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

Public Types

typedef ProblemScaler< T, V > base_type
 base type
 
typedef base_type::model_type model_type
 model type
 
typedef base_type::value_type value_type
 value type
 
typedef base_type::expression_type expression_type
 expression type
 
typedef base_type::constraint_type constraint_type
 constraint type
 
typedef base_type::term_type term_type
 term type
 
- Public Types inherited from limbo::solvers::ProblemScaler< T, V >
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

 L2NormScaler ()
 constructor
 
 ~L2NormScaler ()
 destructor
 
value_type operator() (expression_type const &expr) const
 API to compute scaling factor for expression using L2 norm. More...
 
value_type operator() (constraint_type const &constr) const
 API to compute scaling factor for constraints using L2 norm. More...
 
- Public Member Functions inherited from limbo::solvers::ProblemScaler< T, V >
 ProblemScaler ()
 constructor
 
virtual ~ProblemScaler ()
 destructor
 

Detailed Description

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

Scaling scheme with default L2 norm scaling.

Template Parameters
Tcoefficient value type
Vvariable value type

Definition at line 29 of file MultiKnapsackLagRelax.h.

Member Function Documentation

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

API to compute scaling factor for expression using L2 norm.

Parameters
exprexpression
Returns
scaling factor

Reimplemented from limbo::solvers::ProblemScaler< T, V >.

Definition at line 1180 of file MultiKnapsackLagRelax.h.

template<typename T, typename V>
value_type limbo::solvers::L2NormScaler< 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 from limbo::solvers::ProblemScaler< T, V >.

Definition at line 1190 of file MultiKnapsackLagRelax.h.


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