14#ifndef OR_TOOLS_SET_COVER_SET_COVER_MIP_H_
15#define OR_TOOLS_SET_COVER_SET_COVER_MIP_H_
17#include "absl/strings/string_view.h"
18#include "absl/types/span.h"
44 use_integers_(true) {}
47 mip_solver_ = mip_solver;
52 use_integers_ = use_integers;
65 bool NextSolution(absl::Span<const SubsetIndex> focus)
final;
bool NextSolution() final
Virtual methods that must be implemented by derived classes.
SetCoverMip & UseMipSolver(SetCoverMipSolver mip_solver)
SetCoverMip(SetCoverInvariant *inv)
Simpler constructors that uses SCIP by default.
SetCoverMip & UseIntegers(bool use_integers)
SetCoverMip(SetCoverInvariant *inv, absl::string_view name)
MPSolver::ResultStatus solve_status() const
SetCoverInvariant::ConsistencyLevel consistency_level_
The consistency needed by the solution generator.
SetCoverInvariant * inv() const
std::string name() const
Returns the name of the heuristic.
SubsetListBasedSolutionGenerator(SetCoverInvariant *inv, SetCoverInvariant::ConsistencyLevel consistency_level, absl::string_view class_name, absl::string_view name)
bool NextSolution(absl::Span< const SubsetIndex > _) override
In SWIG mode, we don't want anything besides these top-level includes.