1#ifndef CYCLUS_SRC_CYC_LIMITS_H_
2#define CYCLUS_SRC_CYC_LIMITS_H_
25 return (
d < (-1 *
eps()));
30 return std::fabs(
d1 -
d2) <
eps();
taken directly from OsiSolverInterface.cpp on 2/17/14 from https://projects.coin-or....
static const double kModifierLimit
maximum value for a function modifier (i.e., a_i for variable x_i)
bool IsNegative(double d)
returns true if a double is less than 0 - eps()
static const double CY_NEAR_ZERO
constant near-zero value
double eps_rsrc()
an epsilon value to be used by resources
double cy_eps_rsrc
epsilon values to be used by resources
double cy_eps
generic epsilon values
double eps()
a generic epsilon value
static const int CY_LARGE_INT
maximum (+) value for an integer variable
bool AlmostEq(double d1, double d2)
returns true if two doubles are within eps() of one another
static const double float_ulp_eq
distance in ULP within which floating point numbers should be considered equal.
T OptionalQuery(InfileTree *tree, std::string query, T default_val)
a query method for optional parameters
static const double CY_LARGE_DOUBLE
maximum (+) value for a linear variable