Go to the source code of this file.
|
| std::string | ValidateCpModel (const CpModelProto &model, bool after_presolve) |
| |
| std::string | ValidateInputCpModel (const SatParameters ¶ms, const CpModelProto &model) |
| |
| bool | SolutionIsFeasible (const CpModelProto &model, const std::vector< int64_t > &variable_values, const CpModelProto *mapping_proto, const std::vector< int > *postsolve_mapping) |
| |
◆ RETURN_IF_NOT_EMPTY
| #define RETURN_IF_NOT_EMPTY |
( |
|
statement | ) |
|
Value: do { \
const std::string error_message = statement; \
if (!error_message.empty()) return error_message; \
} while (false)
Definition at line 47 of file cp_model_checker.cc.