Column rounding component. Rounds a column if its value satisfies a fixed condition. The column is rounded to a value defined by a fixed function. More...
#include <ir_components.hpp>
Public Member Functions | |
round_condition_to_fun (Cond c=Cond(), F f=F()) | |
Constructor. Takes the rounding condition and the rounding function. | |
template<typename Problem , typename LP > | |
boost::optional< double > | operator() (Problem &, const LP &lp, lp::col_id col) |
Rounds a column if its value satisfies a fixed condition. | |
Column rounding component. Rounds a column if its value satisfies a fixed condition. The column is rounded to a value defined by a fixed function.
Definition at line 136 of file ir_components.hpp.