Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include "ortools/glop/parameters_validation.h"
#include <cmath>
#include <string>
#include "absl/strings/str_cat.h"
#include "ortools/glop/parameters.pb.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::glop |
Macros | |
#define | TEST_FINITE_AND_NON_NEGATIVE(name) |
#define | TEST_INTEGER_NON_NEGATIVE(name) |
#define | TEST_NON_NEGATIVE(name) |
#define | TEST_NOT_NAN(name) |
Functions | |
std::string | operations_research::glop::ValidateParameters (const GlopParameters ¶ms) |
#define TEST_FINITE_AND_NON_NEGATIVE | ( | name | ) |
Definition at line 24 of file parameters_validation.cc.
#define TEST_INTEGER_NON_NEGATIVE | ( | name | ) |
We need an integer version of the test as std::isnan can fail to compile on windows platforms when passed integer values.
Definition at line 34 of file parameters_validation.cc.
#define TEST_NON_NEGATIVE | ( | name | ) |
Definition at line 39 of file parameters_validation.cc.
#define TEST_NOT_NAN | ( | name | ) |
Definition at line 47 of file parameters_validation.cc.