Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters Class Referencesealed

Specifies the behavior of a search based on ILS. More...

Detailed Description

Specifies the behavior of a search based on ILS.

Definition at line 4593 of file RoutingIls.pb.cs.

Inheritance diagram for Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters:

Public Member Functions

 IteratedLocalSearchParameters ()
 IteratedLocalSearchParameters (IteratedLocalSearchParameters other)
IteratedLocalSearchParameters Clone ()
void ClearImprovePerturbedSolution ()
 Clears the value of the "improve_perturbed_solution" field.
override bool Equals (object other)
bool Equals (IteratedLocalSearchParameters other)
override int GetHashCode ()
override string ToString ()
void WriteTo (pb::CodedOutputStream output)
int CalculateSize ()
void MergeFrom (IteratedLocalSearchParameters other)
void MergeFrom (pb::CodedInputStream input)

Static Public Attributes

const int PerturbationStrategyFieldNumber = 1
 Field number for the "perturbation_strategy" field.
const int RuinRecreateParametersFieldNumber = 2
 Field number for the "ruin_recreate_parameters" field.
const int ImprovePerturbedSolutionFieldNumber = 3
 Field number for the "improve_perturbed_solution" field.
const int ReferenceSolutionAcceptanceStrategyFieldNumber = 4
 Field number for the "reference_solution_acceptance_strategy" field.
const int BestSolutionAcceptanceStrategyFieldNumber = 5
 Field number for the "best_solution_acceptance_strategy" field.

Properties

static pb::MessageParser< IteratedLocalSearchParametersParser [get]
static pbr::MessageDescriptor Descriptor [get]
global::Google.OrTools.ConstraintSolver.PerturbationStrategy.Types.Value PerturbationStrategy [get, set]
 Determines how a reference solution S is perturbed to obtain a neighbor solution S'.
global::Google.OrTools.ConstraintSolver.RuinRecreateParameters RuinRecreateParameters [get, set]
 Parameters to customize a ruin and recreate perturbation.
bool ImprovePerturbedSolution [get, set]
 Determines whether solution S', obtained from the perturbation, should be optimized with a local search application.
bool HasImprovePerturbedSolution [get]
 Gets whether the "improve_perturbed_solution" field is set.
global::Google.OrTools.ConstraintSolver.AcceptanceStrategy ReferenceSolutionAcceptanceStrategy [get, set]
 Determines when the neighbor solution S', possibly improved if improve_perturbed_solution is true, replaces the reference solution S.
global::Google.OrTools.ConstraintSolver.AcceptanceStrategy BestSolutionAcceptanceStrategy [get, set]
 Determines when the neighbor solution S' replaces the best solution found so far.

Constructor & Destructor Documentation

◆ IteratedLocalSearchParameters() [1/2]

Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters.IteratedLocalSearchParameters ( )
inline

Definition at line 4619 of file RoutingIls.pb.cs.

◆ IteratedLocalSearchParameters() [2/2]

Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters.IteratedLocalSearchParameters ( IteratedLocalSearchParameters other)
inline

Definition at line 4627 of file RoutingIls.pb.cs.

Member Function Documentation

◆ CalculateSize()

int Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters.CalculateSize ( )
inline

Definition at line 4845 of file RoutingIls.pb.cs.

◆ ClearImprovePerturbedSolution()

void Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters.ClearImprovePerturbedSolution ( )
inline

Clears the value of the "improve_perturbed_solution" field.

Definition at line 4701 of file RoutingIls.pb.cs.

◆ Clone()

IteratedLocalSearchParameters Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters.Clone ( )
inline

Definition at line 4639 of file RoutingIls.pb.cs.

◆ Equals() [1/2]

bool Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters.Equals ( IteratedLocalSearchParameters other)
inline

Definition at line 4745 of file RoutingIls.pb.cs.

◆ Equals() [2/2]

override bool Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters.Equals ( object other)
inline

Definition at line 4739 of file RoutingIls.pb.cs.

◆ GetHashCode()

override int Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters.GetHashCode ( )
inline

Definition at line 4762 of file RoutingIls.pb.cs.

◆ MergeFrom() [1/2]

void Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters.MergeFrom ( IteratedLocalSearchParameters other)
inline

Definition at line 4870 of file RoutingIls.pb.cs.

◆ MergeFrom() [2/2]

void Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters.MergeFrom ( pb.CodedInputStream input)
inline

Definition at line 4903 of file RoutingIls.pb.cs.

◆ ToString()

override string Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters.ToString ( )
inline

Definition at line 4777 of file RoutingIls.pb.cs.

◆ WriteTo()

void Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters.WriteTo ( pb.CodedOutputStream output)
inline

Definition at line 4783 of file RoutingIls.pb.cs.

Member Data Documentation

◆ BestSolutionAcceptanceStrategyFieldNumber

const int Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters.BestSolutionAcceptanceStrategyFieldNumber = 5
static

Field number for the "best_solution_acceptance_strategy" field.

Definition at line 4722 of file RoutingIls.pb.cs.

◆ ImprovePerturbedSolutionFieldNumber

const int Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters.ImprovePerturbedSolutionFieldNumber = 3
static

Field number for the "improve_perturbed_solution" field.

Definition at line 4675 of file RoutingIls.pb.cs.

◆ PerturbationStrategyFieldNumber

const int Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters.PerturbationStrategyFieldNumber = 1
static

Field number for the "perturbation_strategy" field.

Definition at line 4644 of file RoutingIls.pb.cs.

◆ ReferenceSolutionAcceptanceStrategyFieldNumber

const int Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters.ReferenceSolutionAcceptanceStrategyFieldNumber = 4
static

Field number for the "reference_solution_acceptance_strategy" field.

Definition at line 4706 of file RoutingIls.pb.cs.

◆ RuinRecreateParametersFieldNumber

const int Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters.RuinRecreateParametersFieldNumber = 2
static

Field number for the "ruin_recreate_parameters" field.

Definition at line 4660 of file RoutingIls.pb.cs.

Property Documentation

◆ BestSolutionAcceptanceStrategy

global.Google.OrTools.ConstraintSolver.AcceptanceStrategy Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters.BestSolutionAcceptanceStrategy
getset

Determines when the neighbor solution S' replaces the best solution found so far.

Definition at line 4730 of file RoutingIls.pb.cs.

◆ Descriptor

pbr.MessageDescriptor Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters.Descriptor
staticget

Definition at line 4607 of file RoutingIls.pb.cs.

◆ HasImprovePerturbedSolution

bool Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters.HasImprovePerturbedSolution
get

Gets whether the "improve_perturbed_solution" field is set.

Definition at line 4695 of file RoutingIls.pb.cs.

◆ ImprovePerturbedSolution

bool Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters.ImprovePerturbedSolution
getset

Determines whether solution S', obtained from the perturbation, should be optimized with a local search application.

Definition at line 4685 of file RoutingIls.pb.cs.

◆ Parser

pb.MessageParser<IteratedLocalSearchParameters> Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters.Parser
staticget

Definition at line 4603 of file RoutingIls.pb.cs.

◆ PerturbationStrategy

global.Google.OrTools.ConstraintSolver.PerturbationStrategy.Types.Value Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters.PerturbationStrategy
getset

Determines how a reference solution S is perturbed to obtain a neighbor solution S'.

Definition at line 4652 of file RoutingIls.pb.cs.

◆ ReferenceSolutionAcceptanceStrategy

global.Google.OrTools.ConstraintSolver.AcceptanceStrategy Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters.ReferenceSolutionAcceptanceStrategy
getset

Determines when the neighbor solution S', possibly improved if improve_perturbed_solution is true, replaces the reference solution S.

Definition at line 4714 of file RoutingIls.pb.cs.

◆ RuinRecreateParameters

global.Google.OrTools.ConstraintSolver.RuinRecreateParameters Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters.RuinRecreateParameters
getset

Parameters to customize a ruin and recreate perturbation.

Definition at line 4667 of file RoutingIls.pb.cs.


The documentation for this class was generated from the following file: