MCPcopy Create free account

hub / github.com/LeonSering/rapid_solve / functions

Functions144 in github.com/LeonSering/rapid_solve

Methodnew_single_indicator
Creates a new [`Objective`] with a single [`Indicator`] as the only hierarchy level.
src/objective/mod.rs:131
Methodnew_single_indicator_per_level
Creates a new [`Objective`] with a single [`Indicator`] per hierarchy level. The most important level is the first entry of the vector.
src/objective/mod.rs:140
Methodnew_single_level
Creates a new [`Objective`] with a single [`LinearCombination`] as the only hierarchy level.
src/objective/mod.rs:126
Methodobjective_value_to_json
Converts an [`ObjectiveValue`] to a JSON object (using [`serde_json`]).
src/objective/mod.rs:92
Methodprint_difference
Prints the difference between two BaseValuesin green or red depending on the sign.
src/objective/base_value.rs:60
Methodprint_difference_in_value
(value: V, value_for_comparison: V)
src/objective/base_value.rs:82
Methodread_atsp_lines
( mut line_iter: impl Iterator<Item = String>, number_of_nodes: NodeCount, )
src/examples/tsp/tsp_instance.rs:108
Methodread_tsp_lines
( mut line_iter: impl Iterator<Item = String>, number_of_nodes: NodeCount, )
src/examples/tsp/tsp_instance.rs:77
Methodsolve
(&self, initial_solution: S)
src/heuristics/parallel_tabu_search/mod.rs:142
Methodsolve
(&self, initial_solution: S)
src/heuristics/local_search/mod.rs:95
Methodsolve
(&self, initial_solution: S)
src/heuristics/threshold_accepting/mod.rs:106
Methodsolve
(&self, initial_solution: S)
src/heuristics/simulated_annealing/mod.rs:146
Methodsolve
(&self, initial_solution: S)
src/heuristics/parallel_local_search/mod.rs:90
Methodsub
(self, rhs: Self)
src/objective/objective_value.rs:78
Methodsub
(self, other: Self)
src/objective/base_value.rs:117
Functiontest
()
src/objective/tests.rs:88
Functiontest_basic_local_search
()
src/examples/tsp/solvers/basic_local_search.rs:40
Functiontest_basic_local_search_large_instance
()
src/examples/tsp/solvers/basic_local_search.rs:58
Functiontest_basic_local_search_large_instance
()
src/examples/tsp/solvers/threshold_accepting.rs:86
Functiontest_first_local_search_52_nodes
()
src/examples/tsp/solvers/take_first_local_search.rs:88
Functiontest_new_tsp_tour
()
src/examples/tsp/tsp_tour.rs:139
Functiontest_new_tsp_tour_nearest_neighbor
()
src/examples/tsp/tsp_tour.rs:153
Functiontest_parallel_local_search
()
src/examples/tsp/solvers/parallel_local_search.rs:41
Functiontest_parallel_local_search_large_instance
()
src/examples/tsp/solvers/parallel_local_search.rs:59
Functiontest_parallel_tabu_search
()
src/examples/tsp/solvers/parallel_tabu_search.rs:126
Functiontest_parallel_tabu_search_large_instance
()
src/examples/tsp/solvers/parallel_tabu_search.rs:144
Functiontest_simulated_annealing
()
src/examples/tsp/solvers/simulated_annealing.rs:125
Functiontest_simulated_annealing_large_instance
()
src/examples/tsp/solvers/simulated_annealing.rs:142
Functiontest_tabu_search
()
src/examples/tsp/solvers/tabu_search.rs:127
Functiontest_tabu_search_large_instance
()
src/examples/tsp/solvers/tabu_search.rs:145
Functiontest_take_first_local_search
()
src/examples/tsp/solvers/take_first_local_search.rs:71
Functiontest_three_opt_swap
()
src/examples/tsp/tsp_tour.rs:167
Functiontest_threshold_accepting
()
src/examples/tsp/solvers/threshold_accepting.rs:69
Functiontsplib_atsp_file_test
()
src/examples/tsp/tsp_instance.rs:157
Functiontsplib_tsp_file_test
()
src/examples/tsp/tsp_instance.rs:146
Methodunwrap_duration
Unwraps [`BaseValue::Duration`]. Panics if other variant.
src/objective/base_value.rs:52
Methodunwrap_integer
Unwraps [`BaseValue::Integer`]. Panics if other variant.
src/objective/base_value.rs:34
Methodwith_options
( neighborhood: Arc<impl ParallelTabuNeighborhood<S, T> + 'static>, objective: Arc<Objective<S
src/heuristics/parallel_tabu_search/mod.rs:106
Methodwith_options
Creates a new [`LocalSearchSolver`] with the given [`Neighborhood`] and [`Objective`]. `local_improver` (implementing [`LocalImprover`]) specifies the
src/heuristics/local_search/mod.rs:70
Methodwith_options
( neighborhood: Arc<dyn TabuNeighborhood<S, T>>, objective: Arc<Objective<S>>, tabu_li
src/heuristics/tabu_search/mod.rs:107
Methodwith_options
Creates a new [`ThresholdAcceptingSolver`] with the given [`Neighborhood`], [`Objective`], `initial_threshold` and `threshold_factor` (value between 0
src/heuristics/threshold_accepting/mod.rs:83
Methodwith_options
( neighborhood: Arc<dyn Neighborhood<S>>, objective: Arc<Objective<S>>, initial_temper
src/heuristics/simulated_annealing/mod.rs:119
Methodwith_options
Creates a new [`ParallelLocalSearchSolver`] with the given [`ParallelNeighborhood`] and [`Objective`]. `local_improver` (implementing [`ParallelLocalI
src/heuristics/parallel_local_search/mod.rs:65
Methodzero
Returns the zero [`ObjectiveValue`] ([`BaseValue::Zero`] on each level).
src/objective/mod.rs:54
← previous101–144 of 144, ranked by callers