14#ifndef OR_TOOLS_MATH_OPT_VALIDATORS_SOLUTION_VALIDATOR_H_
15#define OR_TOOLS_MATH_OPT_VALIDATORS_SOLUTION_VALIDATOR_H_
17#include "absl/status/status.h"
19#include "ortools/math_opt/model_parameters.pb.h"
20#include "ortools/math_opt/solution.pb.h"
21#include "ortools/math_opt/sparse_containers.pb.h"
28 const ModelSummary& model_summary);
31 const SparseVectorFilterProto& filter,
32 const ModelSummary& model_summary);
39 const SparseVectorFilterProto& filter,
40 const ModelSummary& model_summary);
43 const SparseVectorFilterProto& filter,
44 const ModelSummary& model_summary);
48 const ModelSummary& model_summary);
52 const ModelSummary& model_summary);
55 const ModelSummary& model_summary,
56 bool check_dual_feasibility =
true);
absl::Status ValidateDualRay(const DualRayProto &dual_ray, const ModelSolveParametersProto ¶meters, const ModelSummary &model_summary)
absl::Status ValidateDualSolution(const DualSolutionProto &dual_solution, const ModelSolveParametersProto ¶meters, const ModelSummary &model_summary)
absl::Status ValidateSolution(const SolutionProto &solution, const ModelSolveParametersProto ¶meters, const ModelSummary &model_summary)
absl::Status ValidatePrimalSolutionVector(const SparseDoubleVectorProto &vector, const SparseVectorFilterProto &filter, const ModelSummary &model_summary)
absl::Status ValidateBasis(const BasisProto &basis, const ModelSummary &model_summary, const bool check_dual_feasibility)
absl::Status ValidatePrimalSolution(const PrimalSolutionProto &primal_solution, const SparseVectorFilterProto &filter, const ModelSummary &model_summary)
absl::Status ValidatePrimalRay(const PrimalRayProto &primal_ray, const SparseVectorFilterProto &filter, const ModelSummary &model_summary)
In SWIG mode, we don't want anything besides these top-level includes.