14#ifndef OR_TOOLS_MATH_OPT_VALIDATORS_MODEL_VALIDATOR_H_
15#define OR_TOOLS_MATH_OPT_VALIDATORS_MODEL_VALIDATOR_H_
17#include "absl/status/status.h"
18#include "absl/status/statusor.h"
20#include "ortools/math_opt/model.pb.h"
21#include "ortools/math_opt/model_update.pb.h"
29 bool check_names =
true);
40 ModelSummary& model_summary);
absl::Status ValidateModelUpdate(const ModelUpdateProto &model_update, ModelSummary &model_summary)
absl::StatusOr< ModelSummary > ValidateModel(const ModelProto &model, const bool check_names)
In SWIG mode, we don't want anything besides these top-level includes.