14#ifndef OR_TOOLS_SAT_CP_MODEL_CHECKER_H_
15#define OR_TOOLS_SAT_CP_MODEL_CHECKER_H_
22#include "ortools/sat/cp_model.pb.h"
23#include "ortools/sat/sat_parameters.pb.h"
40 bool after_presolve =
false);
49 const CpModelProto&
model);
58 const std::vector<int64_t>& variable_values,
59 const CpModelProto* mapping_proto =
nullptr,
60 const std::vector<int>* postsolve_mapping =
nullptr);
std::string ValidateInputCpModel(const SatParameters ¶ms, const CpModelProto &model)
std::string ValidateCpModel(const CpModelProto &model, bool after_presolve)
bool SolutionIsFeasible(const CpModelProto &model, const std::vector< int64_t > &variable_values, const CpModelProto *mapping_proto, const std::vector< int > *postsolve_mapping)
Collection of objects used to extend the Constraint Solver library.