21constexpr double kInf = std::numeric_limits<double>::infinity();
24 const double relative_gap_limit) {
58 if (relative_gap_limit ==
kInf) {
65 const double non_negative_relative_gap_limit =
66 std::fmax(0.0, relative_gap_limit);
68 non_negative_relative_gap_limit *
An object oriented wrapper for quadratic constraints in ModelStorage.
double WorstGLPKDualBound(const bool is_maximize, const double objective_value, const double relative_gap_limit)
double objective_value
The value objective_vector^T * (solution - center_point).