Limbo
|
Scaling scheme with minimum coefficient in an expression. More...
#include <MultiKnapsackLagRelax.h>
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 | |
![]() | |
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 | |
MinCoefficientScaler (value_type factor=1) | |
constructor More... | |
~MinCoefficientScaler () | |
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... | |
![]() | |
ProblemScaler () | |
constructor | |
virtual | ~ProblemScaler () |
destructor | |
Protected Attributes | |
value_type | m_scalingFactor |
constant scaling factor | |
Scaling scheme with minimum coefficient in an expression.
T | coefficient value type |
V | variable value type |
Definition at line 1108 of file MultiKnapsackLagRelax.h.
|
inline |
constructor
factor | a constant scaling factor |
Definition at line 1126 of file MultiKnapsackLagRelax.h.
|
inlinevirtual |
API to compute scaling factor for expression using L2 norm.
expr | expression |
Reimplemented from limbo::solvers::ProblemScaler< T, V >.
Definition at line 1133 of file MultiKnapsackLagRelax.h.
|
inlinevirtual |
API to compute scaling factor for constraints using L2 norm.
constr | constraint |
Reimplemented from limbo::solvers::ProblemScaler< T, V >.
Definition at line 1143 of file MultiKnapsackLagRelax.h.