Limbo
|
Predicate to sort variables according to their coefficient from small to large. More...
#include <MultiKnapsackLagRelax.h>
Public Member Functions | |
CompareVariableByCoefficient (coefficient_value_type const *v) | |
constructor More... | |
bool | operator() (variable_type const &v1, variable_type const &v2) const |
Public Attributes | |
coefficient_value_type const * | vObjCoef |
coefficients in objective for comparison | |
Predicate to sort variables according to their coefficient from small to large.
Definition at line 230 of file MultiKnapsackLagRelax.h.
|
inline |
constructor
v | array of coefficients in objective |
Definition at line 236 of file MultiKnapsackLagRelax.h.
|
inline |
v1 | variable |
v2 | variable |
Definition at line 244 of file MultiKnapsackLagRelax.h.