Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
scalar_validator.cc File Reference
#include "ortools/math_opt/validators/scalar_validator.h"
#include <cmath>
#include <limits>
#include "absl/status/status.h"
#include "absl/strings/str_cat.h"

Go to the source code of this file.

Namespaces

namespace  operations_research
 In SWIG mode, we don't want anything besides these top-level includes.
 
namespace  operations_research::math_opt
 An object oriented wrapper for quadratic constraints in ModelStorage.
 

Functions

absl::Status operations_research::math_opt::CheckScalarNoNanNoInf (const double d)
 
absl::Status operations_research::math_opt::CheckScalar (double value, const DoubleOptions &options)
 Checks value is not NaN and satisfies the additional conditions in options.