ortools.algorithms.python.set_cover
debug_string(self: ortools.algorithms.python.set_cover.SetCoverModelStats) -> str
SubsetRange(self: ortools.algorithms.python.set_cover.SetCoverModel) -> Iterator[int]
ElementRange(self: ortools.algorithms.python.set_cover.SetCoverModel) -> Iterator[int]
add_empty_subset(self: ortools.algorithms.python.set_cover.SetCoverModel, cost: float) -> None
add_element_to_last_subset(self: ortools.algorithms.python.set_cover.SetCoverModel, element: int) -> None
set_subset_cost(self: ortools.algorithms.python.set_cover.SetCoverModel, subset: int, cost: float) -> None
add_element_to_subset(self: ortools.algorithms.python.set_cover.SetCoverModel, subset: int, cost: int) -> None
create_sparse_row_view(self: ortools.algorithms.python.set_cover.SetCoverModel) -> None
sort_elements_in_subsets(self: ortools.algorithms.python.set_cover.SetCoverModel) -> None
compute_feasibility(self: ortools.algorithms.python.set_cover.SetCoverModel) -> bool
reserve_num_subsets(self: ortools.algorithms.python.set_cover.SetCoverModel, num_subsets: int) -> None
reserve_num_elements_in_subset(self: ortools.algorithms.python.set_cover.SetCoverModel, num_elements: int, subset: int) -> None
export_model_as_proto(self: ortools.algorithms.python.set_cover.SetCoverModel) -> operations_research::SetCoverProto
import_model_from_proto(self: ortools.algorithms.python.set_cover.SetCoverModel, arg0: operations_research::SetCoverProto) -> None
compute_cost_stats(self: ortools.algorithms.python.set_cover.SetCoverModel) -> ortools.algorithms.python.set_cover.SetCoverModelStats
compute_row_stats(self: ortools.algorithms.python.set_cover.SetCoverModel) -> ortools.algorithms.python.set_cover.SetCoverModelStats
compute_column_stats(self: ortools.algorithms.python.set_cover.SetCoverModel) -> ortools.algorithms.python.set_cover.SetCoverModelStats
compute_row_deciles(self: ortools.algorithms.python.set_cover.SetCoverModel) -> list[int]
compute_column_deciles(self: ortools.algorithms.python.set_cover.SetCoverModel) -> list[int]
__init__(args, *kwargs) Overloaded function.
__init__(self: ortools.algorithms.python.set_cover.SetCoverDecision) -> None
__init__(self: ortools.algorithms.python.set_cover.SetCoverDecision, subset: int, value: bool) -> None
Members:
COST_AND_COVERAGE
FREE_AND_UNCOVERED
REDUNDANCY
__init__(self: ortools.algorithms.python.set_cover.consistency_level, value: int) -> None
__init__(self: ortools.algorithms.python.set_cover.SetCoverInvariant, arg0: ortools.algorithms.python.set_cover.SetCoverModel) -> None
initialize(self: ortools.algorithms.python.set_cover.SetCoverInvariant) -> None
num_uncovered_elements(self: ortools.algorithms.python.set_cover.SetCoverInvariant) -> int
is_selected(self: ortools.algorithms.python.set_cover.SetCoverInvariant) -> list[bool]
num_free_elements(self: ortools.algorithms.python.set_cover.SetCoverInvariant) -> list[int]
num_coverage_le_1_elements(self: ortools.algorithms.python.set_cover.SetCoverInvariant) -> list[int]
coverage(self: ortools.algorithms.python.set_cover.SetCoverInvariant) -> list[int]
compute_coverage_in_focus(self: ortools.algorithms.python.set_cover.SetCoverInvariant, focus: list[int]) -> list[int]
is_redundant(self: ortools.algorithms.python.set_cover.SetCoverInvariant) -> list[bool]
clear_trace(self: ortools.algorithms.python.set_cover.SetCoverInvariant) -> None
clear_removability_information(self: ortools.algorithms.python.set_cover.SetCoverInvariant) -> None
newly_removable_subsets(self: ortools.algorithms.python.set_cover.SetCoverInvariant) -> list[util_intops::StrongInt
newly_non_removable_subsets(self: ortools.algorithms.python.set_cover.SetCoverInvariant) -> list[util_intops::StrongInt
compress_trace(self: ortools.algorithms.python.set_cover.SetCoverInvariant) -> None
load_solution(self: ortools.algorithms.python.set_cover.SetCoverInvariant, arg0: list[bool]) -> None
check_consistency(self: ortools.algorithms.python.set_cover.SetCoverInvariant, arg0: ortools.algorithms.python.set_cover.consistency_level) -> bool
compute_is_redundant(self: ortools.algorithms.python.set_cover.SetCoverInvariant, subset: int) -> bool
recompute(self: ortools.algorithms.python.set_cover.SetCoverInvariant, arg0: ortools.algorithms.python.set_cover.consistency_level) -> None
flip(self: ortools.algorithms.python.set_cover.SetCoverInvariant, subset: int, consistency: ortools.algorithms.python.set_cover.consistency_level) -> None
select(self: ortools.algorithms.python.set_cover.SetCoverInvariant, subset: int, consistency: ortools.algorithms.python.set_cover.consistency_level) -> None
deselect(self: ortools.algorithms.python.set_cover.SetCoverInvariant, subset: int, consistency: ortools.algorithms.python.set_cover.consistency_level) -> None
export_solution_as_proto(self: ortools.algorithms.python.set_cover.SetCoverInvariant) -> operations_research::SetCoverSolutionResponse
import_solution_from_proto(self: ortools.algorithms.python.set_cover.SetCoverInvariant, arg0: operations_research::SetCoverSolutionResponse) -> None
__init__(self: ortools.algorithms.python.set_cover.TrivialSolutionGenerator, arg0: ortools.algorithms.python.set_cover.SetCoverInvariant) -> None
next_solution(args, *kwargs) Overloaded function.
next_solution(self: ortools.algorithms.python.set_cover.TrivialSolutionGenerator) -> bool
next_solution(self: ortools.algorithms.python.set_cover.TrivialSolutionGenerator, arg0: absl::lts_20240722::Span
) -> bool
__init__(self: ortools.algorithms.python.set_cover.RandomSolutionGenerator, arg0: ortools.algorithms.python.set_cover.SetCoverInvariant) -> None
next_solution(args, *kwargs) Overloaded function.
next_solution(self: ortools.algorithms.python.set_cover.RandomSolutionGenerator) -> bool
next_solution(self: ortools.algorithms.python.set_cover.RandomSolutionGenerator, arg0: absl::lts_20240722::Span
) -> bool
__init__(self: ortools.algorithms.python.set_cover.GreedySolutionGenerator, arg0: ortools.algorithms.python.set_cover.SetCoverInvariant) -> None
next_solution(args, *kwargs) Overloaded function.
next_solution(self: ortools.algorithms.python.set_cover.GreedySolutionGenerator) -> bool
next_solution(self: ortools.algorithms.python.set_cover.GreedySolutionGenerator, arg0: absl::lts_20240722::Span
) -> bool next_solution(self: ortools.algorithms.python.set_cover.GreedySolutionGenerator, arg0: absl::lts_20240722::Span
, arg1: absl::lts_20240722::Span ) -> bool
__init__(self: ortools.algorithms.python.set_cover.ElementDegreeSolutionGenerator, arg0: ortools.algorithms.python.set_cover.SetCoverInvariant) -> None
next_solution(args, *kwargs) Overloaded function.
next_solution(self: ortools.algorithms.python.set_cover.ElementDegreeSolutionGenerator) -> bool
next_solution(self: ortools.algorithms.python.set_cover.ElementDegreeSolutionGenerator, arg0: absl::lts_20240722::Span
) -> bool next_solution(self: ortools.algorithms.python.set_cover.ElementDegreeSolutionGenerator, arg0: list[int], arg1: list[float]) -> bool
__init__(self: ortools.algorithms.python.set_cover.LazyElementDegreeSolutionGenerator, arg0: ortools.algorithms.python.set_cover.SetCoverInvariant) -> None
next_solution(args, *kwargs) Overloaded function.
next_solution(self: ortools.algorithms.python.set_cover.LazyElementDegreeSolutionGenerator) -> bool
next_solution(self: ortools.algorithms.python.set_cover.LazyElementDegreeSolutionGenerator, arg0: list[int]) -> bool
next_solution(self: ortools.algorithms.python.set_cover.LazyElementDegreeSolutionGenerator, arg0: absl::lts_20240722::Span
, arg1: absl::lts_20240722::Span ) -> bool
__init__(self: ortools.algorithms.python.set_cover.SteepestSearch, arg0: ortools.algorithms.python.set_cover.SetCoverInvariant) -> None
next_solution(args, *kwargs) Overloaded function.
next_solution(self: ortools.algorithms.python.set_cover.SteepestSearch, arg0: int) -> bool
next_solution(self: ortools.algorithms.python.set_cover.SteepestSearch, arg0: list[int], arg1: int) -> bool
next_solution(self: ortools.algorithms.python.set_cover.SteepestSearch, arg0: list[int], arg1: list[float], arg2: int) -> bool
__init__(self: ortools.algorithms.python.set_cover.GuidedLocalSearch, arg0: ortools.algorithms.python.set_cover.SetCoverInvariant) -> None
initialize(self: ortools.algorithms.python.set_cover.GuidedLocalSearch) -> None
next_solution(args, *kwargs) Overloaded function.
next_solution(self: ortools.algorithms.python.set_cover.GuidedLocalSearch, arg0: int) -> bool
next_solution(self: ortools.algorithms.python.set_cover.GuidedLocalSearch, arg0: absl::lts_20240722::Span
, arg1: int) -> bool
__init__(self: ortools.algorithms.python.set_cover.GuidedTabuSearch, arg0: ortools.algorithms.python.set_cover.SetCoverInvariant) -> None
initialize(self: ortools.algorithms.python.set_cover.GuidedTabuSearch) -> None
next_solution(args, *kwargs) Overloaded function.
next_solution(self: ortools.algorithms.python.set_cover.GuidedTabuSearch, arg0: int) -> bool
next_solution(self: ortools.algorithms.python.set_cover.GuidedTabuSearch, arg0: list[int], arg1: int) -> bool
get_lagrangian_factor(self: ortools.algorithms.python.set_cover.GuidedTabuSearch, factor: float) -> None
set_lagrangian_factor(self: ortools.algorithms.python.set_cover.GuidedTabuSearch) -> float
set_epsilon(self: ortools.algorithms.python.set_cover.GuidedTabuSearch, r: float) -> None
get_epsilon(self: ortools.algorithms.python.set_cover.GuidedTabuSearch) -> float
set_penalty_factor(self: ortools.algorithms.python.set_cover.GuidedTabuSearch, factor: float) -> None
get_penalty_factor(self: ortools.algorithms.python.set_cover.GuidedTabuSearch) -> float
set_tabu_list_size(self: ortools.algorithms.python.set_cover.GuidedTabuSearch, size: int) -> None
get_tabu_list_size(self: ortools.algorithms.python.set_cover.GuidedTabuSearch) -> int
clear_random_subsets(args, *kwargs) Overloaded function.
clear_random_subsets(arg0: int, arg1: ortools.algorithms.python.set_cover.SetCoverInvariant) -> list[int]
clear_random_subsets(arg0: list[int], arg1: int, arg2: ortools.algorithms.python.set_cover.SetCoverInvariant) -> list[int]
clear_most_covered_elements(args, *kwargs) Overloaded function.
clear_most_covered_elements(arg0: int, arg1: ortools.algorithms.python.set_cover.SetCoverInvariant) -> list[int]
clear_most_covered_elements(arg0: absl::lts_20240722::Span
, arg1: int, arg2: ortools.algorithms.python.set_cover.SetCoverInvariant) -> list[int]
read_orlib_scp(arg0: str) -> ortools.algorithms.python.set_cover.SetCoverModel
read_orlib_rail(arg0: str) -> ortools.algorithms.python.set_cover.SetCoverModel
read_fimi_dat(arg0: str) -> ortools.algorithms.python.set_cover.SetCoverModel
read_set_cover_proto(arg0: str, arg1: bool) -> ortools.algorithms.python.set_cover.SetCoverModel
write_orlib_scp(arg0: ortools.algorithms.python.set_cover.SetCoverModel, arg1: str) -> None
write_orlib_rail(arg0: ortools.algorithms.python.set_cover.SetCoverModel, arg1: str) -> None
write_set_cover_proto(arg0: ortools.algorithms.python.set_cover.SetCoverModel, arg1: str, arg2: bool) -> None
write_set_cover_solution_text(arg0: ortools.algorithms.python.set_cover.SetCoverModel, arg1: util_intops::StrongVector
write_set_cover_solution_proto(arg0: ortools.algorithms.python.set_cover.SetCoverModel, arg1: util_intops::StrongVector
read_set_cover_solution_text(arg0: str) -> util_intops::StrongVector
read_set_cover_solution_proto(arg0: str, arg1: bool) -> util_intops::StrongVector