14#ifndef ORTOOLS_SAT_COMBINE_SOLUTIONS_H_
15#define ORTOOLS_SAT_COMBINE_SOLUTIONS_H_
23#include "absl/strings/string_view.h"
24#include "absl/types/span.h"
36 const CpModelProto& model, absl::Span<const int64_t> new_solution,
37 absl::Span<const int64_t> base_solution,
44 std::shared_ptr<const SharedSolutionRepository<int64_t>::Solution>
47 std::shared_ptr<const SharedSolutionRepository<int64_t>::Solution>
52 absl::Span<const int64_t> new_solution, absl::string_view solution_info,
PushedSolutionPointers PushAndMaybeCombineSolution(SharedResponseManager *response_manager, const CpModelProto &model_proto, absl::Span< const int64_t > new_solution, absl::string_view solution_info, std::shared_ptr< const SharedSolutionRepository< int64_t >::Solution > base_solution)
std::optional< std::vector< int64_t > > FindCombinedSolution(const CpModelProto &model, absl::Span< const int64_t > new_solution, absl::Span< const int64_t > base_solution, const SharedResponseManager *response_manager, std::string *solution_info)
std::shared_ptr< const SharedSolutionRepository< int64_t >::Solution > improved_solution
std::shared_ptr< const SharedSolutionRepository< int64_t >::Solution > pushed_solution