Default column rounding condition component. More...
#include <ir_components.hpp>
Public Member Functions | |
default_round_condition (double epsilon=utils::compare< double >::default_epsilon()) | |
constructor takes epsilon used in double comparison. | |
template<typename Problem , typename LP > | |
boost::optional< double > | operator() (Problem &, const LP &lp, lp::col_id col) |
Rounds the column if its value is integral. | |
Protected Attributes | |
const utils::compare< double > | m_compare |
Double comparison object. | |
Default column rounding condition component.
Definition at line 39 of file ir_components.hpp.