Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
Google.OrTools.ConstraintSolver.RoutingModel Class Reference
Inheritance diagram for Google.OrTools.ConstraintSolver.RoutingModel:

Classes

class  NodeNeighborsByCostClass
 
class  PickupDeliveryPosition
 
class  ResourceGroup
 
class  RouteDimensionTravelInfo
 
class  SecondaryOptimizer
 
class  VariableValuePair
 
class  VehicleTypeContainer
 

Public Member Functions

void Dispose ()
 
 RoutingModel (RoutingIndexManager index_manager)
 
 RoutingModel (RoutingIndexManager index_manager, Google.OrTools.ConstraintSolver.RoutingModelParameters parameters)
 
int RegisterUnaryTransitVector (long[] values)
 
int RegisterUnaryTransitCallback (LongToLong callback, int sign)
 
int RegisterUnaryTransitCallback (LongToLong callback)
 
int RegisterTransitMatrix (long[][] values)
 
int RegisterTransitCallback (LongLongToLong callback, int sign)
 
int RegisterTransitCallback (LongLongToLong callback)
 
bool AddDimension (int evaluator_index, long slack_max, long capacity, bool fix_start_cumul_to_zero, string name)
 
bool AddDimensionWithVehicleTransits (int[] evaluator_indices, long slack_max, long capacity, bool fix_start_cumul_to_zero, string name)
 
bool AddDimensionWithVehicleCapacity (int evaluator_index, long slack_max, long[] vehicle_capacities, bool fix_start_cumul_to_zero, string name)
 
bool AddDimensionWithVehicleTransitAndCapacity (int[] evaluator_indices, long slack_max, long[] vehicle_capacities, bool fix_start_cumul_to_zero, string name)
 
IntBoolPair AddConstantDimensionWithSlack (long value, long capacity, long slack_max, bool fix_start_cumul_to_zero, string name)
 
IntBoolPair AddConstantDimension (long value, long capacity, bool fix_start_cumul_to_zero, string name)
 
IntBoolPair AddVectorDimension (long[] values, long capacity, bool fix_start_cumul_to_zero, string name)
 
IntBoolPair AddMatrixDimension (long[][] values, long capacity, bool fix_start_cumul_to_zero, string name)
 
SWIGTYPE_p_std__vectorT_operations_research__RoutingDimension_p_t GetUnaryDimensions ()
 
SWIGTYPE_p_std__vectorT_operations_research__RoutingDimension_const_p_t GetDimensionsWithGlobalCumulOptimizers ()
 
SWIGTYPE_p_std__vectorT_operations_research__RoutingDimension_const_p_t GetDimensionsWithLocalCumulOptimizers ()
 
bool HasGlobalCumulOptimizer (RoutingDimension dimension)
 
bool HasLocalCumulOptimizer (RoutingDimension dimension)
 
SWIGTYPE_p_operations_research__GlobalDimensionCumulOptimizer GetMutableGlobalCumulLPOptimizer (RoutingDimension dimension)
 
SWIGTYPE_p_operations_research__GlobalDimensionCumulOptimizer GetMutableGlobalCumulMPOptimizer (RoutingDimension dimension)
 
SWIGTYPE_p_operations_research__LocalDimensionCumulOptimizer GetMutableLocalCumulLPOptimizer (RoutingDimension dimension)
 
bool HasDimension (string dimension_name)
 
RoutingDimension GetDimensionOrDie (string dimension_name)
 
RoutingDimension GetMutableDimension (string dimension_name)
 
void SetPrimaryConstrainedDimension (string dimension_name)
 
string GetPrimaryConstrainedDimension ()
 
RoutingModel.ResourceGroup AddResourceGroup ()
 
SWIGTYPE_p_std__vectorT_std__unique_ptrT_operations_research__RoutingModel__ResourceGroup_t_t GetResourceGroups ()
 
RoutingModel.ResourceGroup GetResourceGroup (int rg_index)
 
int[] GetDimensionResourceGroupIndices (RoutingDimension dimension)
 
int GetDimensionResourceGroupIndex (RoutingDimension dimension)
 
int AddDisjunction (long[] indices, long penalty, long max_cardinality)
 
int AddDisjunction (long[] indices, long penalty)
 
int AddDisjunction (long[] indices)
 
int[] GetDisjunctionIndices (long index)
 
long[] GetDisjunctionNodeIndices (int index)
 
long GetDisjunctionPenalty (int index)
 
long GetDisjunctionMaxCardinality (int index)
 
int GetNumberOfDisjunctions ()
 
bool HasMandatoryDisjunctions ()
 
bool HasMaxCardinalityConstrainedDisjunctions ()
 
void IgnoreDisjunctionsAlreadyForcedToZero ()
 
void AddSoftSameVehicleConstraint (long[] indices, long cost)
 
void SetAllowedVehiclesForIndex (int[] vehicles, long index)
 
bool IsVehicleAllowedForIndex (int vehicle, long index)
 
void AddPickupAndDelivery (long pickup, long delivery)
 
void AddPickupAndDeliverySets (int pickup_disjunction, int delivery_disjunction)
 
SWIGTYPE_p_std__vectorT_operations_research__RoutingModel__PickupDeliveryPosition_t GetPickupPositions (long node_index)
 
SWIGTYPE_p_std__vectorT_operations_research__RoutingModel__PickupDeliveryPosition_t GetDeliveryPositions (long node_index)
 
bool IsPickup (long node_index)
 
bool IsDelivery (long node_index)
 
void SetPickupAndDeliveryPolicyOfAllVehicles (int policy)
 
void SetPickupAndDeliveryPolicyOfVehicle (int policy, int vehicle)
 
int GetPickupAndDeliveryPolicyOfVehicle (int vehicle)
 
int GetNumOfSingletonNodes ()
 
void SetVisitType (long index, int type, int type_policy)
 
int GetVisitType (long index)
 
int[] GetSingleNodesOfType (int type)
 
int[] GetPairIndicesOfType (int type)
 
int GetVisitTypePolicy (long index)
 
void CloseVisitTypes ()
 
int GetNumberOfVisitTypes ()
 
void AddHardTypeIncompatibility (int type1, int type2)
 
void AddTemporalTypeIncompatibility (int type1, int type2)
 
SWIGTYPE_p_absl__flat_hash_setT_int_t GetTemporalTypeIncompatibilitiesOfType (int type)
 
bool HasHardTypeIncompatibilities ()
 
bool HasTemporalTypeIncompatibilities ()
 
void AddRequiredTypeAlternativesWhenAddingType (int dependent_type, SWIGTYPE_p_absl__flat_hash_setT_int_t required_type_alternatives)
 
void AddRequiredTypeAlternativesWhenRemovingType (int dependent_type, SWIGTYPE_p_absl__flat_hash_setT_int_t required_type_alternatives)
 
SWIGTYPE_p_std__vectorT_absl__flat_hash_setT_int_t_t GetSameVehicleRequiredTypeAlternativesOfType (int type)
 
SWIGTYPE_p_std__vectorT_absl__flat_hash_setT_int_t_t GetRequiredTypeAlternativesWhenAddingType (int type)
 
SWIGTYPE_p_std__vectorT_absl__flat_hash_setT_int_t_t GetRequiredTypeAlternativesWhenRemovingType (int type)
 
bool HasSameVehicleTypeRequirements ()
 
bool HasTemporalTypeRequirements ()
 
long UnperformedPenalty (long var_index)
 
long UnperformedPenaltyOrValue (long default_value, long var_index)
 
long GetDepot ()
 
void SetMaximumNumberOfActiveVehicles (int max_active_vehicles)
 
int GetMaximumNumberOfActiveVehicles ()
 
void SetArcCostEvaluatorOfAllVehicles (int evaluator_index)
 
void SetArcCostEvaluatorOfVehicle (int evaluator_index, int vehicle)
 
void SetFixedCostOfAllVehicles (long cost)
 
void SetFixedCostOfVehicle (long cost, int vehicle)
 
long GetFixedCostOfVehicle (int vehicle)
 
void SetPathEnergyCostOfVehicle (string force, string distance, long unit_cost, int vehicle)
 
void SetAmortizedCostFactorsOfAllVehicles (long linear_cost_factor, long quadratic_cost_factor)
 
void SetAmortizedCostFactorsOfVehicle (long linear_cost_factor, long quadratic_cost_factor, int vehicle)
 
long[] GetAmortizedLinearCostFactorOfVehicles ()
 
long[] GetAmortizedQuadraticCostFactorOfVehicles ()
 
void SetVehicleUsedWhenEmpty (bool is_used, int vehicle)
 
bool IsVehicleUsedWhenEmpty (int vehicle)
 
void SetFirstSolutionEvaluator (LongLongToLong evaluator)
 
void AddLocalSearchOperator (LocalSearchOperator ls_operator)
 
void AddSearchMonitor (SearchMonitor monitor)
 
void AddAtSolutionCallback (VoidToVoid callback, bool track_unchecked_neighbors)
 
void AddAtSolutionCallback (VoidToVoid callback)
 
void AddVariableMinimizedByFinalizer (IntVar var)
 
void AddVariableMaximizedByFinalizer (IntVar var)
 
void AddWeightedVariableMinimizedByFinalizer (IntVar var, long cost)
 
void AddWeightedVariableMaximizedByFinalizer (IntVar var, long cost)
 
void AddVariableTargetToFinalizer (IntVar var, long target)
 
void AddWeightedVariableTargetToFinalizer (IntVar var, long target, long cost)
 
void CloseModel ()
 
void CloseModelWithParameters (Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters)
 
Assignment Solve (Assignment assignment)
 
Assignment Solve ()
 
Assignment SolveWithParameters (Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters)
 
Assignment SolveFromAssignmentWithParameters (Assignment assignment, Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters)
 
Assignment FastSolveFromAssignmentWithParameters (Assignment assignment, Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters, bool check_solution_in_cp, SWIGTYPE_p_absl__flat_hash_setT_operations_research__IntVar_p_t touched)
 
Assignment FastSolveFromAssignmentWithParameters (Assignment assignment, Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters, bool check_solution_in_cp)
 
Assignment SolveFromAssignmentsWithParameters (SWIGTYPE_p_std__vectorT_operations_research__Assignment_const_p_t assignments, Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters, SWIGTYPE_p_std__vectorT_operations_research__Assignment_const_p_t solutions)
 
Assignment SolveFromAssignmentsWithParameters (SWIGTYPE_p_std__vectorT_operations_research__Assignment_const_p_t assignments, Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters)
 
Assignment SolveWithIteratedLocalSearch (Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters)
 
void SetAssignmentFromOtherModelAssignment (Assignment target_assignment, RoutingModel source_model, Assignment source_assignment)
 
long ComputeLowerBound ()
 
long ObjectiveLowerBound ()
 
int GetStatus ()
 
bool EnableDeepSerialization ()
 
IntVar ApplyLocks (long[] locks)
 
bool ApplyLocksToAllVehicles (long[][] locks, bool close_routes)
 
Assignment PreAssignment ()
 
Assignment MutablePreAssignment ()
 
bool WriteAssignment (string file_name)
 
Assignment ReadAssignment (string file_name)
 
Assignment RestoreAssignment (Assignment solution)
 
Assignment ReadAssignmentFromRoutes (long[][] routes, bool ignore_inactive_indices)
 
bool RoutesToAssignment (long[][] routes, bool ignore_inactive_indices, bool close_routes, Assignment assignment)
 
void AssignmentToRoutes (Assignment assignment, long[][] routes)
 
Assignment CompactAssignment (Assignment assignment)
 
Assignment CompactAndCheckAssignment (Assignment assignment)
 
void AddToAssignment (IntVar var)
 
void AddIntervalToAssignment (IntervalVar interval)
 
RoutingModel.NodeNeighborsByCostClass GetOrCreateNodeNeighborsByCostClass (double neighbors_ratio, long min_neighbors, SWIGTYPE_p_double neighbors_ratio_used, bool add_vehicle_starts_to_neighbors)
 
RoutingModel.NodeNeighborsByCostClass GetOrCreateNodeNeighborsByCostClass (double neighbors_ratio, long min_neighbors, SWIGTYPE_p_double neighbors_ratio_used)
 
RoutingModel.NodeNeighborsByCostClass GetOrCreateNodeNeighborsByCostClass (int num_neighbors, bool add_vehicle_starts_to_neighbors)
 
RoutingModel.NodeNeighborsByCostClass GetOrCreateNodeNeighborsByCostClass (int num_neighbors)
 
void AddLocalSearchFilter (LocalSearchFilter filter)
 
long Start (int vehicle)
 
long End (int vehicle)
 
bool IsStart (long index)
 
bool IsEnd (long index)
 
int VehicleIndex (long index)
 
long Next (Assignment assignment, long index)
 
bool IsVehicleUsed (Assignment assignment, int vehicle)
 
IntVarVector Nexts ()
 
IntVarVector VehicleVars ()
 
IntVarVector ResourceVars (int resource_group)
 
IntVar NextVar (long index)
 
IntVar ActiveVar (long index)
 
IntVar ActiveVehicleVar (int vehicle)
 
IntVar VehicleRouteConsideredVar (int vehicle)
 
IntVar VehicleVar (long index)
 
IntVar ResourceVar (int vehicle, int resource_group)
 
IntVar CostVar ()
 
long GetArcCostForVehicle (long from_index, long to_index, long vehicle)
 
bool CostsAreHomogeneousAcrossVehicles ()
 
long GetHomogeneousCost (long from_index, long to_index)
 
long GetArcCostForFirstSolution (long from_index, long to_index)
 
long GetArcCostForClass (long from_index, long to_index, long cost_class_index)
 
int GetCostClassIndexOfVehicle (long vehicle)
 
bool HasVehicleWithCostClassIndex (int cost_class_index)
 
int GetCostClassesCount ()
 
int GetNonZeroCostClassesCount ()
 
int GetVehicleClassIndexOfVehicle (long vehicle)
 
int GetVehicleOfClass (int vehicle_class)
 
int GetVehicleClassesCount ()
 
int[] GetSameVehicleIndicesOfIndex (int node)
 
RoutingModel.VehicleTypeContainer GetVehicleTypeContainer ()
 
bool ArcIsMoreConstrainedThanArc (long from, long to1, long to2)
 
string DebugOutputAssignment (Assignment solution_assignment, string dimension_to_print)
 
bool CheckIfAssignmentIsFeasible (Assignment assignment, bool call_at_solution_monitors)
 
Solver solver ()
 
bool CheckLimit (SWIGTYPE_p_absl__Duration offset)
 
bool CheckLimit ()
 
void UpdateTimeLimit (SWIGTYPE_p_absl__Duration time_limit)
 
SWIGTYPE_p_absl__Duration TimeBuffer ()
 
SWIGTYPE_p_std__atomicT_bool_t GetMutableCPSatInterrupt ()
 
SWIGTYPE_p_std__atomicT_bool_t GetMutableCPInterrupt ()
 
void CancelSearch ()
 
int Nodes ()
 
int Vehicles ()
 
long Size ()
 
long GetNumberOfDecisionsInFirstSolution (Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters)
 
long GetNumberOfRejectsInFirstSolution (Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters)
 
bool IsMatchingModel ()
 
bool AreRoutesInterdependent (SWIGTYPE_p_operations_research__RoutingSearchParameters parameters)
 
DecisionBuilder MakeGuidedSlackFinalizer (RoutingDimension dimension, LongToLong initializer)
 
DecisionBuilder MakeSelfDependentDimensionFinalizer (RoutingDimension dimension)
 
PathsMetadata GetPathsMetadata ()
 

Static Public Attributes

static readonly int ROUTING_NOT_SOLVED = operations_research_constraint_solverPINVOKE.RoutingModel_ROUTING_NOT_SOLVED_get()
 Status.
 
static readonly int ROUTING_SUCCESS = operations_research_constraint_solverPINVOKE.RoutingModel_ROUTING_SUCCESS_get()
 
static readonly int ROUTING_PARTIAL_SUCCESS_LOCAL_OPTIMUM_NOT_REACHED = operations_research_constraint_solverPINVOKE.RoutingModel_ROUTING_PARTIAL_SUCCESS_LOCAL_OPTIMUM_NOT_REACHED_get()
 
static readonly int ROUTING_FAIL = operations_research_constraint_solverPINVOKE.RoutingModel_ROUTING_FAIL_get()
 
static readonly int ROUTING_FAIL_TIMEOUT = operations_research_constraint_solverPINVOKE.RoutingModel_ROUTING_FAIL_TIMEOUT_get()
 
static readonly int ROUTING_INVALID = operations_research_constraint_solverPINVOKE.RoutingModel_ROUTING_INVALID_get()
 
static readonly int ROUTING_INFEASIBLE = operations_research_constraint_solverPINVOKE.RoutingModel_ROUTING_INFEASIBLE_get()
 
static readonly int ROUTING_OPTIMAL = operations_research_constraint_solverPINVOKE.RoutingModel_ROUTING_OPTIMAL_get()
 
static readonly int PICKUP_AND_DELIVERY_NO_ORDER = operations_research_constraint_solverPINVOKE.RoutingModel_PICKUP_AND_DELIVERY_NO_ORDER_get()
 PickupAndDeliveryPolicy.
 
static readonly int PICKUP_AND_DELIVERY_LIFO = operations_research_constraint_solverPINVOKE.RoutingModel_PICKUP_AND_DELIVERY_LIFO_get()
 
static readonly int PICKUP_AND_DELIVERY_FIFO = operations_research_constraint_solverPINVOKE.RoutingModel_PICKUP_AND_DELIVERY_FIFO_get()
 
static readonly int kTransitEvaluatorSignUnknown = operations_research_constraint_solverPINVOKE.RoutingModel_kTransitEvaluatorSignUnknown_get()
 TransitEvaluatorSign.
 
static readonly int kTransitEvaluatorSignPositiveOrZero = operations_research_constraint_solverPINVOKE.RoutingModel_kTransitEvaluatorSignPositiveOrZero_get()
 
static readonly int kTransitEvaluatorSignNegativeOrZero = operations_research_constraint_solverPINVOKE.RoutingModel_kTransitEvaluatorSignNegativeOrZero_get()
 
static readonly int TYPE_ADDED_TO_VEHICLE = operations_research_constraint_solverPINVOKE.RoutingModel_TYPE_ADDED_TO_VEHICLE_get()
 VisitTypePolicy.
 
static readonly int ADDED_TYPE_REMOVED_FROM_VEHICLE = operations_research_constraint_solverPINVOKE.RoutingModel_ADDED_TYPE_REMOVED_FROM_VEHICLE_get()
 
static readonly int TYPE_ON_VEHICLE_UP_TO_VISIT = operations_research_constraint_solverPINVOKE.RoutingModel_TYPE_ON_VEHICLE_UP_TO_VISIT_get()
 
static readonly int TYPE_SIMULTANEOUSLY_ADDED_AND_REMOVED = operations_research_constraint_solverPINVOKE.RoutingModel_TYPE_SIMULTANEOUSLY_ADDED_AND_REMOVED_get()
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Properties

static long kNoPenalty [get]
 
static int kNoDisjunction [get]
 
static int kNoDimension [get]
 

Detailed Description

Definition at line 18 of file RoutingModel.cs.

Constructor & Destructor Documentation

◆ RoutingModel() [1/2]

Google.OrTools.ConstraintSolver.RoutingModel.RoutingModel ( RoutingIndexManager index_manager)
inline

Definition at line 673 of file RoutingModel.cs.

◆ RoutingModel() [2/2]

Google.OrTools.ConstraintSolver.RoutingModel.RoutingModel ( RoutingIndexManager index_manager,
Google.OrTools.ConstraintSolver.RoutingModelParameters parameters )
inline

Definition at line 677 of file RoutingModel.cs.

Member Function Documentation

◆ ActiveVar()

IntVar Google.OrTools.ConstraintSolver.RoutingModel.ActiveVar ( long index)
inline

Definition at line 1952 of file RoutingModel.cs.

◆ ActiveVehicleVar()

IntVar Google.OrTools.ConstraintSolver.RoutingModel.ActiveVehicleVar ( int vehicle)
inline

Definition at line 1958 of file RoutingModel.cs.

◆ AddAtSolutionCallback() [1/2]

void Google.OrTools.ConstraintSolver.RoutingModel.AddAtSolutionCallback ( VoidToVoid callback)
inline

Definition at line 1286 of file RoutingModel.cs.

◆ AddAtSolutionCallback() [2/2]

void Google.OrTools.ConstraintSolver.RoutingModel.AddAtSolutionCallback ( VoidToVoid callback,
bool track_unchecked_neighbors )
inline

Definition at line 1282 of file RoutingModel.cs.

◆ AddConstantDimension()

IntBoolPair Google.OrTools.ConstraintSolver.RoutingModel.AddConstantDimension ( long value,
long capacity,
bool fix_start_cumul_to_zero,
string name )
inline

Definition at line 745 of file RoutingModel.cs.

◆ AddConstantDimensionWithSlack()

IntBoolPair Google.OrTools.ConstraintSolver.RoutingModel.AddConstantDimensionWithSlack ( long value,
long capacity,
long slack_max,
bool fix_start_cumul_to_zero,
string name )
inline

Definition at line 739 of file RoutingModel.cs.

◆ AddDimension()

bool Google.OrTools.ConstraintSolver.RoutingModel.AddDimension ( int evaluator_index,
long slack_max,
long capacity,
bool fix_start_cumul_to_zero,
string name )
inline

Definition at line 715 of file RoutingModel.cs.

◆ AddDimensionWithVehicleCapacity()

bool Google.OrTools.ConstraintSolver.RoutingModel.AddDimensionWithVehicleCapacity ( int evaluator_index,
long slack_max,
long[] vehicle_capacities,
bool fix_start_cumul_to_zero,
string name )
inline

Definition at line 727 of file RoutingModel.cs.

◆ AddDimensionWithVehicleTransitAndCapacity()

bool Google.OrTools.ConstraintSolver.RoutingModel.AddDimensionWithVehicleTransitAndCapacity ( int[] evaluator_indices,
long slack_max,
long[] vehicle_capacities,
bool fix_start_cumul_to_zero,
string name )
inline

Definition at line 733 of file RoutingModel.cs.

◆ AddDimensionWithVehicleTransits()

bool Google.OrTools.ConstraintSolver.RoutingModel.AddDimensionWithVehicleTransits ( int[] evaluator_indices,
long slack_max,
long capacity,
bool fix_start_cumul_to_zero,
string name )
inline

Definition at line 721 of file RoutingModel.cs.

◆ AddDisjunction() [1/3]

int Google.OrTools.ConstraintSolver.RoutingModel.AddDisjunction ( long[] indices)
inline

Definition at line 886 of file RoutingModel.cs.

◆ AddDisjunction() [2/3]

int Google.OrTools.ConstraintSolver.RoutingModel.AddDisjunction ( long[] indices,
long penalty )
inline

Definition at line 882 of file RoutingModel.cs.

◆ AddDisjunction() [3/3]

int Google.OrTools.ConstraintSolver.RoutingModel.AddDisjunction ( long[] indices,
long penalty,
long max_cardinality )
inline

Definition at line 878 of file RoutingModel.cs.

◆ AddHardTypeIncompatibility()

void Google.OrTools.ConstraintSolver.RoutingModel.AddHardTypeIncompatibility ( int type1,
int type2 )
inline

Definition at line 1121 of file RoutingModel.cs.

◆ AddIntervalToAssignment()

void Google.OrTools.ConstraintSolver.RoutingModel.AddIntervalToAssignment ( IntervalVar interval)
inline

Definition at line 1495 of file RoutingModel.cs.

◆ AddLocalSearchFilter()

void Google.OrTools.ConstraintSolver.RoutingModel.AddLocalSearchFilter ( LocalSearchFilter filter)
inline

Definition at line 1890 of file RoutingModel.cs.

◆ AddLocalSearchOperator()

void Google.OrTools.ConstraintSolver.RoutingModel.AddLocalSearchOperator ( LocalSearchOperator ls_operator)
inline

Definition at line 1274 of file RoutingModel.cs.

◆ AddMatrixDimension()

IntBoolPair Google.OrTools.ConstraintSolver.RoutingModel.AddMatrixDimension ( long values[][],
long capacity,
bool fix_start_cumul_to_zero,
string name )
inline

Definition at line 757 of file RoutingModel.cs.

◆ AddPickupAndDelivery()

void Google.OrTools.ConstraintSolver.RoutingModel.AddPickupAndDelivery ( long pickup,
long delivery )
inline

Definition at line 956 of file RoutingModel.cs.

◆ AddPickupAndDeliverySets()

void Google.OrTools.ConstraintSolver.RoutingModel.AddPickupAndDeliverySets ( int pickup_disjunction,
int delivery_disjunction )
inline

Definition at line 960 of file RoutingModel.cs.

◆ AddRequiredTypeAlternativesWhenAddingType()

void Google.OrTools.ConstraintSolver.RoutingModel.AddRequiredTypeAlternativesWhenAddingType ( int dependent_type,
SWIGTYPE_p_absl__flat_hash_setT_int_t required_type_alternatives )
inline

Definition at line 1144 of file RoutingModel.cs.

◆ AddRequiredTypeAlternativesWhenRemovingType()

void Google.OrTools.ConstraintSolver.RoutingModel.AddRequiredTypeAlternativesWhenRemovingType ( int dependent_type,
SWIGTYPE_p_absl__flat_hash_setT_int_t required_type_alternatives )
inline

Definition at line 1149 of file RoutingModel.cs.

◆ AddResourceGroup()

RoutingModel.ResourceGroup Google.OrTools.ConstraintSolver.RoutingModel.AddResourceGroup ( )
inline

Definition at line 844 of file RoutingModel.cs.

◆ AddSearchMonitor()

void Google.OrTools.ConstraintSolver.RoutingModel.AddSearchMonitor ( SearchMonitor monitor)
inline

Definition at line 1278 of file RoutingModel.cs.

◆ AddSoftSameVehicleConstraint()

void Google.OrTools.ConstraintSolver.RoutingModel.AddSoftSameVehicleConstraint ( long[] indices,
long cost )
inline

Definition at line 943 of file RoutingModel.cs.

◆ AddTemporalTypeIncompatibility()

void Google.OrTools.ConstraintSolver.RoutingModel.AddTemporalTypeIncompatibility ( int type1,
int type2 )
inline

Definition at line 1125 of file RoutingModel.cs.

◆ AddToAssignment()

void Google.OrTools.ConstraintSolver.RoutingModel.AddToAssignment ( IntVar var)
inline

Definition at line 1491 of file RoutingModel.cs.

◆ AddVariableMaximizedByFinalizer()

void Google.OrTools.ConstraintSolver.RoutingModel.AddVariableMaximizedByFinalizer ( IntVar var)
inline

Definition at line 1294 of file RoutingModel.cs.

◆ AddVariableMinimizedByFinalizer()

void Google.OrTools.ConstraintSolver.RoutingModel.AddVariableMinimizedByFinalizer ( IntVar var)
inline

Definition at line 1290 of file RoutingModel.cs.

◆ AddVariableTargetToFinalizer()

void Google.OrTools.ConstraintSolver.RoutingModel.AddVariableTargetToFinalizer ( IntVar var,
long target )
inline

Definition at line 1306 of file RoutingModel.cs.

◆ AddVectorDimension()

IntBoolPair Google.OrTools.ConstraintSolver.RoutingModel.AddVectorDimension ( long[] values,
long capacity,
bool fix_start_cumul_to_zero,
string name )
inline

Definition at line 751 of file RoutingModel.cs.

◆ AddWeightedVariableMaximizedByFinalizer()

void Google.OrTools.ConstraintSolver.RoutingModel.AddWeightedVariableMaximizedByFinalizer ( IntVar var,
long cost )
inline

Definition at line 1302 of file RoutingModel.cs.

◆ AddWeightedVariableMinimizedByFinalizer()

void Google.OrTools.ConstraintSolver.RoutingModel.AddWeightedVariableMinimizedByFinalizer ( IntVar var,
long cost )
inline

Definition at line 1298 of file RoutingModel.cs.

◆ AddWeightedVariableTargetToFinalizer()

void Google.OrTools.ConstraintSolver.RoutingModel.AddWeightedVariableTargetToFinalizer ( IntVar var,
long target,
long cost )
inline

Definition at line 1310 of file RoutingModel.cs.

◆ ApplyLocks()

IntVar Google.OrTools.ConstraintSolver.RoutingModel.ApplyLocks ( long[] locks)
inline

Definition at line 1402 of file RoutingModel.cs.

◆ ApplyLocksToAllVehicles()

bool Google.OrTools.ConstraintSolver.RoutingModel.ApplyLocksToAllVehicles ( long locks[][],
bool close_routes )
inline

Definition at line 1408 of file RoutingModel.cs.

◆ ArcIsMoreConstrainedThanArc()

bool Google.OrTools.ConstraintSolver.RoutingModel.ArcIsMoreConstrainedThanArc ( long from,
long to1,
long to2 )
inline

Definition at line 2063 of file RoutingModel.cs.

◆ AreRoutesInterdependent()

bool Google.OrTools.ConstraintSolver.RoutingModel.AreRoutesInterdependent ( SWIGTYPE_p_operations_research__RoutingSearchParameters parameters)
inline

Definition at line 2153 of file RoutingModel.cs.

◆ AssignmentToRoutes()

void Google.OrTools.ConstraintSolver.RoutingModel.AssignmentToRoutes ( Assignment assignment,
long routes[][] )
inline

Definition at line 1468 of file RoutingModel.cs.

◆ CancelSearch()

void Google.OrTools.ConstraintSolver.RoutingModel.CancelSearch ( )
inline

Definition at line 2119 of file RoutingModel.cs.

◆ CheckIfAssignmentIsFeasible()

bool Google.OrTools.ConstraintSolver.RoutingModel.CheckIfAssignmentIsFeasible ( Assignment assignment,
bool call_at_solution_monitors )
inline

Definition at line 2074 of file RoutingModel.cs.

◆ CheckLimit() [1/2]

bool Google.OrTools.ConstraintSolver.RoutingModel.CheckLimit ( )
inline

Definition at line 2092 of file RoutingModel.cs.

◆ CheckLimit() [2/2]

bool Google.OrTools.ConstraintSolver.RoutingModel.CheckLimit ( SWIGTYPE_p_absl__Duration offset)
inline

Definition at line 2086 of file RoutingModel.cs.

◆ CloseModel()

void Google.OrTools.ConstraintSolver.RoutingModel.CloseModel ( )
inline

Definition at line 1314 of file RoutingModel.cs.

◆ CloseModelWithParameters()

void Google.OrTools.ConstraintSolver.RoutingModel.CloseModelWithParameters ( Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters)
inline

Definition at line 1318 of file RoutingModel.cs.

◆ CloseVisitTypes()

void Google.OrTools.ConstraintSolver.RoutingModel.CloseVisitTypes ( )
inline

Definition at line 1112 of file RoutingModel.cs.

◆ CompactAndCheckAssignment()

Assignment Google.OrTools.ConstraintSolver.RoutingModel.CompactAndCheckAssignment ( Assignment assignment)
inline

Definition at line 1484 of file RoutingModel.cs.

◆ CompactAssignment()

Assignment Google.OrTools.ConstraintSolver.RoutingModel.CompactAssignment ( Assignment assignment)
inline

Definition at line 1477 of file RoutingModel.cs.

◆ ComputeLowerBound()

long Google.OrTools.ConstraintSolver.RoutingModel.ComputeLowerBound ( )
inline

Definition at line 1382 of file RoutingModel.cs.

◆ CostsAreHomogeneousAcrossVehicles()

bool Google.OrTools.ConstraintSolver.RoutingModel.CostsAreHomogeneousAcrossVehicles ( )
inline

Definition at line 1993 of file RoutingModel.cs.

◆ CostVar()

IntVar Google.OrTools.ConstraintSolver.RoutingModel.CostVar ( )
inline

Definition at line 1982 of file RoutingModel.cs.

◆ DebugOutputAssignment()

string Google.OrTools.ConstraintSolver.RoutingModel.DebugOutputAssignment ( Assignment solution_assignment,
string dimension_to_print )
inline

Definition at line 2068 of file RoutingModel.cs.

◆ Dispose() [1/2]

void Google.OrTools.ConstraintSolver.RoutingModel.Dispose ( )
inline

Definition at line 48 of file RoutingModel.cs.

◆ Dispose() [2/2]

virtual void Google.OrTools.ConstraintSolver.RoutingModel.Dispose ( bool disposing)
inlineprotectedvirtual

Definition at line 53 of file RoutingModel.cs.

◆ EnableDeepSerialization()

bool Google.OrTools.ConstraintSolver.RoutingModel.EnableDeepSerialization ( )
inline

Definition at line 1397 of file RoutingModel.cs.

◆ End()

long Google.OrTools.ConstraintSolver.RoutingModel.End ( int vehicle)
inline

Definition at line 1899 of file RoutingModel.cs.

◆ FastSolveFromAssignmentWithParameters() [1/2]

Assignment Google.OrTools.ConstraintSolver.RoutingModel.FastSolveFromAssignmentWithParameters ( Assignment assignment,
Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters,
bool check_solution_in_cp )
inline

Definition at line 1352 of file RoutingModel.cs.

◆ FastSolveFromAssignmentWithParameters() [2/2]

Assignment Google.OrTools.ConstraintSolver.RoutingModel.FastSolveFromAssignmentWithParameters ( Assignment assignment,
Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters,
bool check_solution_in_cp,
SWIGTYPE_p_absl__flat_hash_setT_operations_research__IntVar_p_t touched )
inline

Definition at line 1346 of file RoutingModel.cs.

◆ GetAmortizedLinearCostFactorOfVehicles()

long[] Google.OrTools.ConstraintSolver.RoutingModel.GetAmortizedLinearCostFactorOfVehicles ( )
inline

Definition at line 1237 of file RoutingModel.cs.

◆ GetAmortizedQuadraticCostFactorOfVehicles()

long[] Google.OrTools.ConstraintSolver.RoutingModel.GetAmortizedQuadraticCostFactorOfVehicles ( )
inline

Definition at line 1249 of file RoutingModel.cs.

◆ GetArcCostForClass()

long Google.OrTools.ConstraintSolver.RoutingModel.GetArcCostForClass ( long from_index,
long to_index,
long cost_class_index )
inline

Definition at line 2008 of file RoutingModel.cs.

◆ GetArcCostForFirstSolution()

long Google.OrTools.ConstraintSolver.RoutingModel.GetArcCostForFirstSolution ( long from_index,
long to_index )
inline

Definition at line 2003 of file RoutingModel.cs.

◆ GetArcCostForVehicle()

long Google.OrTools.ConstraintSolver.RoutingModel.GetArcCostForVehicle ( long from_index,
long to_index,
long vehicle )
inline

Definition at line 1988 of file RoutingModel.cs.

◆ GetCostClassesCount()

int Google.OrTools.ConstraintSolver.RoutingModel.GetCostClassesCount ( )
inline

Definition at line 2022 of file RoutingModel.cs.

◆ GetCostClassIndexOfVehicle()

int Google.OrTools.ConstraintSolver.RoutingModel.GetCostClassIndexOfVehicle ( long vehicle)
inline

Definition at line 2013 of file RoutingModel.cs.

◆ GetDeliveryPositions()

SWIGTYPE_p_std__vectorT_operations_research__RoutingModel__PickupDeliveryPosition_t Google.OrTools.ConstraintSolver.RoutingModel.GetDeliveryPositions ( long node_index)
inline

Definition at line 1041 of file RoutingModel.cs.

◆ GetDepot()

long Google.OrTools.ConstraintSolver.RoutingModel.GetDepot ( )
inline

Definition at line 1189 of file RoutingModel.cs.

◆ GetDimensionOrDie()

RoutingDimension Google.OrTools.ConstraintSolver.RoutingModel.GetDimensionOrDie ( string dimension_name)
inline

Definition at line 821 of file RoutingModel.cs.

◆ GetDimensionResourceGroupIndex()

int Google.OrTools.ConstraintSolver.RoutingModel.GetDimensionResourceGroupIndex ( RoutingDimension dimension)
inline

Definition at line 873 of file RoutingModel.cs.

◆ GetDimensionResourceGroupIndices()

int[] Google.OrTools.ConstraintSolver.RoutingModel.GetDimensionResourceGroupIndices ( RoutingDimension dimension)
inline

Definition at line 861 of file RoutingModel.cs.

◆ GetDimensionsWithGlobalCumulOptimizers()

SWIGTYPE_p_std__vectorT_operations_research__RoutingDimension_const_p_t Google.OrTools.ConstraintSolver.RoutingModel.GetDimensionsWithGlobalCumulOptimizers ( )
inline

Definition at line 772 of file RoutingModel.cs.

◆ GetDimensionsWithLocalCumulOptimizers()

SWIGTYPE_p_std__vectorT_operations_research__RoutingDimension_const_p_t Google.OrTools.ConstraintSolver.RoutingModel.GetDimensionsWithLocalCumulOptimizers ( )
inline

Definition at line 777 of file RoutingModel.cs.

◆ GetDisjunctionIndices()

int[] Google.OrTools.ConstraintSolver.RoutingModel.GetDisjunctionIndices ( long index)
inline

Definition at line 890 of file RoutingModel.cs.

◆ GetDisjunctionMaxCardinality()

long Google.OrTools.ConstraintSolver.RoutingModel.GetDisjunctionMaxCardinality ( int index)
inline

Definition at line 919 of file RoutingModel.cs.

◆ GetDisjunctionNodeIndices()

long[] Google.OrTools.ConstraintSolver.RoutingModel.GetDisjunctionNodeIndices ( int index)
inline

Definition at line 902 of file RoutingModel.cs.

◆ GetDisjunctionPenalty()

long Google.OrTools.ConstraintSolver.RoutingModel.GetDisjunctionPenalty ( int index)
inline

Definition at line 914 of file RoutingModel.cs.

◆ GetFixedCostOfVehicle()

long Google.OrTools.ConstraintSolver.RoutingModel.GetFixedCostOfVehicle ( int vehicle)
inline

Definition at line 1219 of file RoutingModel.cs.

◆ GetHomogeneousCost()

long Google.OrTools.ConstraintSolver.RoutingModel.GetHomogeneousCost ( long from_index,
long to_index )
inline

Definition at line 1998 of file RoutingModel.cs.

◆ GetMaximumNumberOfActiveVehicles()

int Google.OrTools.ConstraintSolver.RoutingModel.GetMaximumNumberOfActiveVehicles ( )
inline

Definition at line 1198 of file RoutingModel.cs.

◆ GetMutableCPInterrupt()

SWIGTYPE_p_std__atomicT_bool_t Google.OrTools.ConstraintSolver.RoutingModel.GetMutableCPInterrupt ( )
inline

Definition at line 2113 of file RoutingModel.cs.

◆ GetMutableCPSatInterrupt()

SWIGTYPE_p_std__atomicT_bool_t Google.OrTools.ConstraintSolver.RoutingModel.GetMutableCPSatInterrupt ( )
inline

Definition at line 2107 of file RoutingModel.cs.

◆ GetMutableDimension()

RoutingDimension Google.OrTools.ConstraintSolver.RoutingModel.GetMutableDimension ( string dimension_name)
inline

Definition at line 827 of file RoutingModel.cs.

◆ GetMutableGlobalCumulLPOptimizer()

SWIGTYPE_p_operations_research__GlobalDimensionCumulOptimizer Google.OrTools.ConstraintSolver.RoutingModel.GetMutableGlobalCumulLPOptimizer ( RoutingDimension dimension)
inline

Definition at line 794 of file RoutingModel.cs.

◆ GetMutableGlobalCumulMPOptimizer()

SWIGTYPE_p_operations_research__GlobalDimensionCumulOptimizer Google.OrTools.ConstraintSolver.RoutingModel.GetMutableGlobalCumulMPOptimizer ( RoutingDimension dimension)
inline

Definition at line 801 of file RoutingModel.cs.

◆ GetMutableLocalCumulLPOptimizer()

SWIGTYPE_p_operations_research__LocalDimensionCumulOptimizer Google.OrTools.ConstraintSolver.RoutingModel.GetMutableLocalCumulLPOptimizer ( RoutingDimension dimension)
inline

Definition at line 808 of file RoutingModel.cs.

◆ GetNonZeroCostClassesCount()

int Google.OrTools.ConstraintSolver.RoutingModel.GetNonZeroCostClassesCount ( )
inline

Definition at line 2027 of file RoutingModel.cs.

◆ GetNumberOfDecisionsInFirstSolution()

long Google.OrTools.ConstraintSolver.RoutingModel.GetNumberOfDecisionsInFirstSolution ( Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters)
inline

Definition at line 2138 of file RoutingModel.cs.

◆ GetNumberOfDisjunctions()

int Google.OrTools.ConstraintSolver.RoutingModel.GetNumberOfDisjunctions ( )
inline

Definition at line 924 of file RoutingModel.cs.

◆ GetNumberOfRejectsInFirstSolution()

long Google.OrTools.ConstraintSolver.RoutingModel.GetNumberOfRejectsInFirstSolution ( Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters)
inline

Definition at line 2143 of file RoutingModel.cs.

◆ GetNumberOfVisitTypes()

int Google.OrTools.ConstraintSolver.RoutingModel.GetNumberOfVisitTypes ( )
inline

Definition at line 1116 of file RoutingModel.cs.

◆ GetNumOfSingletonNodes()

int Google.OrTools.ConstraintSolver.RoutingModel.GetNumOfSingletonNodes ( )
inline

Definition at line 1069 of file RoutingModel.cs.

◆ GetOrCreateNodeNeighborsByCostClass() [1/4]

RoutingModel.NodeNeighborsByCostClass Google.OrTools.ConstraintSolver.RoutingModel.GetOrCreateNodeNeighborsByCostClass ( double neighbors_ratio,
long min_neighbors,
SWIGTYPE_p_double neighbors_ratio_used )
inline

Definition at line 1871 of file RoutingModel.cs.

◆ GetOrCreateNodeNeighborsByCostClass() [2/4]

RoutingModel.NodeNeighborsByCostClass Google.OrTools.ConstraintSolver.RoutingModel.GetOrCreateNodeNeighborsByCostClass ( double neighbors_ratio,
long min_neighbors,
SWIGTYPE_p_double neighbors_ratio_used,
bool add_vehicle_starts_to_neighbors )
inline

Definition at line 1864 of file RoutingModel.cs.

◆ GetOrCreateNodeNeighborsByCostClass() [3/4]

RoutingModel.NodeNeighborsByCostClass Google.OrTools.ConstraintSolver.RoutingModel.GetOrCreateNodeNeighborsByCostClass ( int num_neighbors)
inline

Definition at line 1884 of file RoutingModel.cs.

◆ GetOrCreateNodeNeighborsByCostClass() [4/4]

RoutingModel.NodeNeighborsByCostClass Google.OrTools.ConstraintSolver.RoutingModel.GetOrCreateNodeNeighborsByCostClass ( int num_neighbors,
bool add_vehicle_starts_to_neighbors )
inline

Definition at line 1878 of file RoutingModel.cs.

◆ GetPairIndicesOfType()

int[] Google.OrTools.ConstraintSolver.RoutingModel.GetPairIndicesOfType ( int type)
inline

Definition at line 1095 of file RoutingModel.cs.

◆ GetPathsMetadata()

PathsMetadata Google.OrTools.ConstraintSolver.RoutingModel.GetPathsMetadata ( )
inline

Definition at line 2171 of file RoutingModel.cs.

◆ GetPickupAndDeliveryPolicyOfVehicle()

int Google.OrTools.ConstraintSolver.RoutingModel.GetPickupAndDeliveryPolicyOfVehicle ( int vehicle)
inline

Definition at line 1064 of file RoutingModel.cs.

◆ GetPickupPositions()

SWIGTYPE_p_std__vectorT_operations_research__RoutingModel__PickupDeliveryPosition_t Google.OrTools.ConstraintSolver.RoutingModel.GetPickupPositions ( long node_index)
inline

Definition at line 1036 of file RoutingModel.cs.

◆ GetPrimaryConstrainedDimension()

string Google.OrTools.ConstraintSolver.RoutingModel.GetPrimaryConstrainedDimension ( )
inline

Definition at line 839 of file RoutingModel.cs.

◆ GetRequiredTypeAlternativesWhenAddingType()

SWIGTYPE_p_std__vectorT_absl__flat_hash_setT_int_t_t Google.OrTools.ConstraintSolver.RoutingModel.GetRequiredTypeAlternativesWhenAddingType ( int type)
inline

Definition at line 1159 of file RoutingModel.cs.

◆ GetRequiredTypeAlternativesWhenRemovingType()

SWIGTYPE_p_std__vectorT_absl__flat_hash_setT_int_t_t Google.OrTools.ConstraintSolver.RoutingModel.GetRequiredTypeAlternativesWhenRemovingType ( int type)
inline

Definition at line 1164 of file RoutingModel.cs.

◆ GetResourceGroup()

RoutingModel.ResourceGroup Google.OrTools.ConstraintSolver.RoutingModel.GetResourceGroup ( int rg_index)
inline

Definition at line 855 of file RoutingModel.cs.

◆ GetResourceGroups()

SWIGTYPE_p_std__vectorT_std__unique_ptrT_operations_research__RoutingModel__ResourceGroup_t_t Google.OrTools.ConstraintSolver.RoutingModel.GetResourceGroups ( )
inline

Definition at line 850 of file RoutingModel.cs.

◆ GetSameVehicleIndicesOfIndex()

int[] Google.OrTools.ConstraintSolver.RoutingModel.GetSameVehicleIndicesOfIndex ( int node)
inline

Definition at line 2046 of file RoutingModel.cs.

◆ GetSameVehicleRequiredTypeAlternativesOfType()

SWIGTYPE_p_std__vectorT_absl__flat_hash_setT_int_t_t Google.OrTools.ConstraintSolver.RoutingModel.GetSameVehicleRequiredTypeAlternativesOfType ( int type)
inline

Definition at line 1154 of file RoutingModel.cs.

◆ GetSingleNodesOfType()

int[] Google.OrTools.ConstraintSolver.RoutingModel.GetSingleNodesOfType ( int type)
inline

Definition at line 1083 of file RoutingModel.cs.

◆ GetStatus()

int Google.OrTools.ConstraintSolver.RoutingModel.GetStatus ( )
inline

Definition at line 1392 of file RoutingModel.cs.

◆ GetTemporalTypeIncompatibilitiesOfType()

SWIGTYPE_p_absl__flat_hash_setT_int_t Google.OrTools.ConstraintSolver.RoutingModel.GetTemporalTypeIncompatibilitiesOfType ( int type)
inline

Definition at line 1129 of file RoutingModel.cs.

◆ GetUnaryDimensions()

SWIGTYPE_p_std__vectorT_operations_research__RoutingDimension_p_t Google.OrTools.ConstraintSolver.RoutingModel.GetUnaryDimensions ( )
inline

Definition at line 767 of file RoutingModel.cs.

◆ GetVehicleClassesCount()

int Google.OrTools.ConstraintSolver.RoutingModel.GetVehicleClassesCount ( )
inline

Definition at line 2041 of file RoutingModel.cs.

◆ GetVehicleClassIndexOfVehicle()

int Google.OrTools.ConstraintSolver.RoutingModel.GetVehicleClassIndexOfVehicle ( long vehicle)
inline

Definition at line 2032 of file RoutingModel.cs.

◆ GetVehicleOfClass()

int Google.OrTools.ConstraintSolver.RoutingModel.GetVehicleOfClass ( int vehicle_class)
inline

Definition at line 2036 of file RoutingModel.cs.

◆ GetVehicleTypeContainer()

RoutingModel.VehicleTypeContainer Google.OrTools.ConstraintSolver.RoutingModel.GetVehicleTypeContainer ( )
inline

Definition at line 2058 of file RoutingModel.cs.

◆ GetVisitType()

int Google.OrTools.ConstraintSolver.RoutingModel.GetVisitType ( long index)
inline

Definition at line 1078 of file RoutingModel.cs.

◆ GetVisitTypePolicy()

int Google.OrTools.ConstraintSolver.RoutingModel.GetVisitTypePolicy ( long index)
inline

Definition at line 1107 of file RoutingModel.cs.

◆ HasDimension()

bool Google.OrTools.ConstraintSolver.RoutingModel.HasDimension ( string dimension_name)
inline

Definition at line 815 of file RoutingModel.cs.

◆ HasGlobalCumulOptimizer()

bool Google.OrTools.ConstraintSolver.RoutingModel.HasGlobalCumulOptimizer ( RoutingDimension dimension)
inline

Definition at line 782 of file RoutingModel.cs.

◆ HasHardTypeIncompatibilities()

bool Google.OrTools.ConstraintSolver.RoutingModel.HasHardTypeIncompatibilities ( )
inline

Definition at line 1134 of file RoutingModel.cs.

◆ HasLocalCumulOptimizer()

bool Google.OrTools.ConstraintSolver.RoutingModel.HasLocalCumulOptimizer ( RoutingDimension dimension)
inline

Definition at line 788 of file RoutingModel.cs.

◆ HasMandatoryDisjunctions()

bool Google.OrTools.ConstraintSolver.RoutingModel.HasMandatoryDisjunctions ( )
inline

Definition at line 929 of file RoutingModel.cs.

◆ HasMaxCardinalityConstrainedDisjunctions()

bool Google.OrTools.ConstraintSolver.RoutingModel.HasMaxCardinalityConstrainedDisjunctions ( )
inline

Definition at line 934 of file RoutingModel.cs.

◆ HasSameVehicleTypeRequirements()

bool Google.OrTools.ConstraintSolver.RoutingModel.HasSameVehicleTypeRequirements ( )
inline

Definition at line 1169 of file RoutingModel.cs.

◆ HasTemporalTypeIncompatibilities()

bool Google.OrTools.ConstraintSolver.RoutingModel.HasTemporalTypeIncompatibilities ( )
inline

Definition at line 1139 of file RoutingModel.cs.

◆ HasTemporalTypeRequirements()

bool Google.OrTools.ConstraintSolver.RoutingModel.HasTemporalTypeRequirements ( )
inline

Definition at line 1174 of file RoutingModel.cs.

◆ HasVehicleWithCostClassIndex()

bool Google.OrTools.ConstraintSolver.RoutingModel.HasVehicleWithCostClassIndex ( int cost_class_index)
inline

Definition at line 2017 of file RoutingModel.cs.

◆ IgnoreDisjunctionsAlreadyForcedToZero()

void Google.OrTools.ConstraintSolver.RoutingModel.IgnoreDisjunctionsAlreadyForcedToZero ( )
inline

Definition at line 939 of file RoutingModel.cs.

◆ IsDelivery()

bool Google.OrTools.ConstraintSolver.RoutingModel.IsDelivery ( long node_index)
inline

Definition at line 1051 of file RoutingModel.cs.

◆ IsEnd()

bool Google.OrTools.ConstraintSolver.RoutingModel.IsEnd ( long index)
inline

Definition at line 1909 of file RoutingModel.cs.

◆ IsMatchingModel()

bool Google.OrTools.ConstraintSolver.RoutingModel.IsMatchingModel ( )
inline

Definition at line 2148 of file RoutingModel.cs.

◆ IsPickup()

bool Google.OrTools.ConstraintSolver.RoutingModel.IsPickup ( long node_index)
inline

Definition at line 1046 of file RoutingModel.cs.

◆ IsStart()

bool Google.OrTools.ConstraintSolver.RoutingModel.IsStart ( long index)
inline

Definition at line 1904 of file RoutingModel.cs.

◆ IsVehicleAllowedForIndex()

bool Google.OrTools.ConstraintSolver.RoutingModel.IsVehicleAllowedForIndex ( int vehicle,
long index )
inline

Definition at line 951 of file RoutingModel.cs.

◆ IsVehicleUsed()

bool Google.OrTools.ConstraintSolver.RoutingModel.IsVehicleUsed ( Assignment assignment,
int vehicle )
inline

Definition at line 1925 of file RoutingModel.cs.

◆ IsVehicleUsedWhenEmpty()

bool Google.OrTools.ConstraintSolver.RoutingModel.IsVehicleUsedWhenEmpty ( int vehicle)
inline

Definition at line 1265 of file RoutingModel.cs.

◆ MakeGuidedSlackFinalizer()

DecisionBuilder Google.OrTools.ConstraintSolver.RoutingModel.MakeGuidedSlackFinalizer ( RoutingDimension dimension,
LongToLong initializer )
inline

Definition at line 2159 of file RoutingModel.cs.

◆ MakeSelfDependentDimensionFinalizer()

DecisionBuilder Google.OrTools.ConstraintSolver.RoutingModel.MakeSelfDependentDimensionFinalizer ( RoutingDimension dimension)
inline

Definition at line 2165 of file RoutingModel.cs.

◆ MutablePreAssignment()

Assignment Google.OrTools.ConstraintSolver.RoutingModel.MutablePreAssignment ( )
inline

Definition at line 1423 of file RoutingModel.cs.

◆ Next()

long Google.OrTools.ConstraintSolver.RoutingModel.Next ( Assignment assignment,
long index )
inline

Definition at line 1919 of file RoutingModel.cs.

◆ Nexts()

IntVarVector Google.OrTools.ConstraintSolver.RoutingModel.Nexts ( )
inline

Definition at line 1931 of file RoutingModel.cs.

◆ NextVar()

IntVar Google.OrTools.ConstraintSolver.RoutingModel.NextVar ( long index)
inline

Definition at line 1946 of file RoutingModel.cs.

◆ Nodes()

int Google.OrTools.ConstraintSolver.RoutingModel.Nodes ( )
inline

Definition at line 2123 of file RoutingModel.cs.

◆ ObjectiveLowerBound()

long Google.OrTools.ConstraintSolver.RoutingModel.ObjectiveLowerBound ( )
inline

Definition at line 1387 of file RoutingModel.cs.

◆ PreAssignment()

Assignment Google.OrTools.ConstraintSolver.RoutingModel.PreAssignment ( )
inline

Definition at line 1417 of file RoutingModel.cs.

◆ ReadAssignment()

Assignment Google.OrTools.ConstraintSolver.RoutingModel.ReadAssignment ( string file_name)
inline

Definition at line 1435 of file RoutingModel.cs.

◆ ReadAssignmentFromRoutes()

Assignment Google.OrTools.ConstraintSolver.RoutingModel.ReadAssignmentFromRoutes ( long routes[][],
bool ignore_inactive_indices )
inline

Definition at line 1449 of file RoutingModel.cs.

◆ RegisterTransitCallback() [1/2]

int Google.OrTools.ConstraintSolver.RoutingModel.RegisterTransitCallback ( LongLongToLong callback)
inline

Definition at line 710 of file RoutingModel.cs.

◆ RegisterTransitCallback() [2/2]

int Google.OrTools.ConstraintSolver.RoutingModel.RegisterTransitCallback ( LongLongToLong callback,
int sign )
inline

Definition at line 705 of file RoutingModel.cs.

◆ RegisterTransitMatrix()

int Google.OrTools.ConstraintSolver.RoutingModel.RegisterTransitMatrix ( long values[][])
inline

Definition at line 696 of file RoutingModel.cs.

◆ RegisterUnaryTransitCallback() [1/2]

int Google.OrTools.ConstraintSolver.RoutingModel.RegisterUnaryTransitCallback ( LongToLong callback)
inline

Definition at line 691 of file RoutingModel.cs.

◆ RegisterUnaryTransitCallback() [2/2]

int Google.OrTools.ConstraintSolver.RoutingModel.RegisterUnaryTransitCallback ( LongToLong callback,
int sign )
inline

Definition at line 686 of file RoutingModel.cs.

◆ RegisterUnaryTransitVector()

int Google.OrTools.ConstraintSolver.RoutingModel.RegisterUnaryTransitVector ( long[] values)
inline

Definition at line 681 of file RoutingModel.cs.

◆ ResourceVar()

IntVar Google.OrTools.ConstraintSolver.RoutingModel.ResourceVar ( int vehicle,
int resource_group )
inline

Definition at line 1976 of file RoutingModel.cs.

◆ ResourceVars()

IntVarVector Google.OrTools.ConstraintSolver.RoutingModel.ResourceVars ( int resource_group)
inline

Definition at line 1941 of file RoutingModel.cs.

◆ RestoreAssignment()

Assignment Google.OrTools.ConstraintSolver.RoutingModel.RestoreAssignment ( Assignment solution)
inline

Definition at line 1442 of file RoutingModel.cs.

◆ RoutesToAssignment()

bool Google.OrTools.ConstraintSolver.RoutingModel.RoutesToAssignment ( long routes[][],
bool ignore_inactive_indices,
bool close_routes,
Assignment assignment )
inline

Definition at line 1459 of file RoutingModel.cs.

◆ SetAllowedVehiclesForIndex()

void Google.OrTools.ConstraintSolver.RoutingModel.SetAllowedVehiclesForIndex ( int[] vehicles,
long index )
inline

Definition at line 947 of file RoutingModel.cs.

◆ SetAmortizedCostFactorsOfAllVehicles()

void Google.OrTools.ConstraintSolver.RoutingModel.SetAmortizedCostFactorsOfAllVehicles ( long linear_cost_factor,
long quadratic_cost_factor )
inline

Definition at line 1229 of file RoutingModel.cs.

◆ SetAmortizedCostFactorsOfVehicle()

void Google.OrTools.ConstraintSolver.RoutingModel.SetAmortizedCostFactorsOfVehicle ( long linear_cost_factor,
long quadratic_cost_factor,
int vehicle )
inline

Definition at line 1233 of file RoutingModel.cs.

◆ SetArcCostEvaluatorOfAllVehicles()

void Google.OrTools.ConstraintSolver.RoutingModel.SetArcCostEvaluatorOfAllVehicles ( int evaluator_index)
inline

Definition at line 1203 of file RoutingModel.cs.

◆ SetArcCostEvaluatorOfVehicle()

void Google.OrTools.ConstraintSolver.RoutingModel.SetArcCostEvaluatorOfVehicle ( int evaluator_index,
int vehicle )
inline

Definition at line 1207 of file RoutingModel.cs.

◆ SetAssignmentFromOtherModelAssignment()

void Google.OrTools.ConstraintSolver.RoutingModel.SetAssignmentFromOtherModelAssignment ( Assignment target_assignment,
RoutingModel source_model,
Assignment source_assignment )
inline

Definition at line 1378 of file RoutingModel.cs.

◆ SetFirstSolutionEvaluator()

void Google.OrTools.ConstraintSolver.RoutingModel.SetFirstSolutionEvaluator ( LongLongToLong evaluator)
inline

Definition at line 1270 of file RoutingModel.cs.

◆ SetFixedCostOfAllVehicles()

void Google.OrTools.ConstraintSolver.RoutingModel.SetFixedCostOfAllVehicles ( long cost)
inline

Definition at line 1211 of file RoutingModel.cs.

◆ SetFixedCostOfVehicle()

void Google.OrTools.ConstraintSolver.RoutingModel.SetFixedCostOfVehicle ( long cost,
int vehicle )
inline

Definition at line 1215 of file RoutingModel.cs.

◆ SetMaximumNumberOfActiveVehicles()

void Google.OrTools.ConstraintSolver.RoutingModel.SetMaximumNumberOfActiveVehicles ( int max_active_vehicles)
inline

Definition at line 1194 of file RoutingModel.cs.

◆ SetPathEnergyCostOfVehicle()

void Google.OrTools.ConstraintSolver.RoutingModel.SetPathEnergyCostOfVehicle ( string force,
string distance,
long unit_cost,
int vehicle )
inline

Definition at line 1224 of file RoutingModel.cs.

◆ SetPickupAndDeliveryPolicyOfAllVehicles()

void Google.OrTools.ConstraintSolver.RoutingModel.SetPickupAndDeliveryPolicyOfAllVehicles ( int policy)
inline

Definition at line 1056 of file RoutingModel.cs.

◆ SetPickupAndDeliveryPolicyOfVehicle()

void Google.OrTools.ConstraintSolver.RoutingModel.SetPickupAndDeliveryPolicyOfVehicle ( int policy,
int vehicle )
inline

Definition at line 1060 of file RoutingModel.cs.

◆ SetPrimaryConstrainedDimension()

void Google.OrTools.ConstraintSolver.RoutingModel.SetPrimaryConstrainedDimension ( string dimension_name)
inline

Definition at line 834 of file RoutingModel.cs.

◆ SetVehicleUsedWhenEmpty()

void Google.OrTools.ConstraintSolver.RoutingModel.SetVehicleUsedWhenEmpty ( bool is_used,
int vehicle )
inline

Definition at line 1261 of file RoutingModel.cs.

◆ SetVisitType()

void Google.OrTools.ConstraintSolver.RoutingModel.SetVisitType ( long index,
int type,
int type_policy )
inline

Definition at line 1074 of file RoutingModel.cs.

◆ Size()

long Google.OrTools.ConstraintSolver.RoutingModel.Size ( )
inline

Definition at line 2133 of file RoutingModel.cs.

◆ Solve() [1/2]

Assignment Google.OrTools.ConstraintSolver.RoutingModel.Solve ( )
inline

Definition at line 1328 of file RoutingModel.cs.

◆ Solve() [2/2]

Assignment Google.OrTools.ConstraintSolver.RoutingModel.Solve ( Assignment assignment)
inline

Definition at line 1322 of file RoutingModel.cs.

◆ SolveFromAssignmentsWithParameters() [1/2]

Assignment Google.OrTools.ConstraintSolver.RoutingModel.SolveFromAssignmentsWithParameters ( SWIGTYPE_p_std__vectorT_operations_research__Assignment_const_p_t assignments,
Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters )
inline

Definition at line 1365 of file RoutingModel.cs.

◆ SolveFromAssignmentsWithParameters() [2/2]

Assignment Google.OrTools.ConstraintSolver.RoutingModel.SolveFromAssignmentsWithParameters ( SWIGTYPE_p_std__vectorT_operations_research__Assignment_const_p_t assignments,
Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters,
SWIGTYPE_p_std__vectorT_operations_research__Assignment_const_p_t solutions )
inline

Definition at line 1358 of file RoutingModel.cs.

◆ SolveFromAssignmentWithParameters()

Assignment Google.OrTools.ConstraintSolver.RoutingModel.SolveFromAssignmentWithParameters ( Assignment assignment,
Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters )
inline

Definition at line 1340 of file RoutingModel.cs.

◆ solver()

Solver Google.OrTools.ConstraintSolver.RoutingModel.solver ( )
inline

Definition at line 2080 of file RoutingModel.cs.

◆ SolveWithIteratedLocalSearch()

Assignment Google.OrTools.ConstraintSolver.RoutingModel.SolveWithIteratedLocalSearch ( Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters)
inline

Definition at line 1372 of file RoutingModel.cs.

◆ SolveWithParameters()

Assignment Google.OrTools.ConstraintSolver.RoutingModel.SolveWithParameters ( Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters)
inline

Definition at line 1334 of file RoutingModel.cs.

◆ Start()

long Google.OrTools.ConstraintSolver.RoutingModel.Start ( int vehicle)
inline

Definition at line 1894 of file RoutingModel.cs.

◆ TimeBuffer()

SWIGTYPE_p_absl__Duration Google.OrTools.ConstraintSolver.RoutingModel.TimeBuffer ( )
inline

Definition at line 2102 of file RoutingModel.cs.

◆ UnperformedPenalty()

long Google.OrTools.ConstraintSolver.RoutingModel.UnperformedPenalty ( long var_index)
inline

Definition at line 1179 of file RoutingModel.cs.

◆ UnperformedPenaltyOrValue()

long Google.OrTools.ConstraintSolver.RoutingModel.UnperformedPenaltyOrValue ( long default_value,
long var_index )
inline

Definition at line 1184 of file RoutingModel.cs.

◆ UpdateTimeLimit()

void Google.OrTools.ConstraintSolver.RoutingModel.UpdateTimeLimit ( SWIGTYPE_p_absl__Duration time_limit)
inline

Definition at line 2097 of file RoutingModel.cs.

◆ VehicleIndex()

int Google.OrTools.ConstraintSolver.RoutingModel.VehicleIndex ( long index)
inline

Definition at line 1914 of file RoutingModel.cs.

◆ VehicleRouteConsideredVar()

IntVar Google.OrTools.ConstraintSolver.RoutingModel.VehicleRouteConsideredVar ( int vehicle)
inline

Definition at line 1964 of file RoutingModel.cs.

◆ Vehicles()

int Google.OrTools.ConstraintSolver.RoutingModel.Vehicles ( )
inline

Definition at line 2128 of file RoutingModel.cs.

◆ VehicleVar()

IntVar Google.OrTools.ConstraintSolver.RoutingModel.VehicleVar ( long index)
inline

Definition at line 1970 of file RoutingModel.cs.

◆ VehicleVars()

IntVarVector Google.OrTools.ConstraintSolver.RoutingModel.VehicleVars ( )
inline

Definition at line 1936 of file RoutingModel.cs.

◆ WriteAssignment()

bool Google.OrTools.ConstraintSolver.RoutingModel.WriteAssignment ( string file_name)
inline

Definition at line 1429 of file RoutingModel.cs.

Member Data Documentation

◆ ADDED_TYPE_REMOVED_FROM_VEHICLE

readonly int Google.OrTools.ConstraintSolver.RoutingModel.ADDED_TYPE_REMOVED_FROM_VEHICLE = operations_research_constraint_solverPINVOKE.RoutingModel_ADDED_TYPE_REMOVED_FROM_VEHICLE_get()
static

Definition at line 2198 of file RoutingModel.cs.

◆ kTransitEvaluatorSignNegativeOrZero

readonly int Google.OrTools.ConstraintSolver.RoutingModel.kTransitEvaluatorSignNegativeOrZero = operations_research_constraint_solverPINVOKE.RoutingModel_kTransitEvaluatorSignNegativeOrZero_get()
static

Definition at line 2194 of file RoutingModel.cs.

◆ kTransitEvaluatorSignPositiveOrZero

readonly int Google.OrTools.ConstraintSolver.RoutingModel.kTransitEvaluatorSignPositiveOrZero = operations_research_constraint_solverPINVOKE.RoutingModel_kTransitEvaluatorSignPositiveOrZero_get()
static

Definition at line 2193 of file RoutingModel.cs.

◆ kTransitEvaluatorSignUnknown

readonly int Google.OrTools.ConstraintSolver.RoutingModel.kTransitEvaluatorSignUnknown = operations_research_constraint_solverPINVOKE.RoutingModel_kTransitEvaluatorSignUnknown_get()
static

TransitEvaluatorSign.

Definition at line 2192 of file RoutingModel.cs.

◆ PICKUP_AND_DELIVERY_FIFO

readonly int Google.OrTools.ConstraintSolver.RoutingModel.PICKUP_AND_DELIVERY_FIFO = operations_research_constraint_solverPINVOKE.RoutingModel_PICKUP_AND_DELIVERY_FIFO_get()
static

Definition at line 2189 of file RoutingModel.cs.

◆ PICKUP_AND_DELIVERY_LIFO

readonly int Google.OrTools.ConstraintSolver.RoutingModel.PICKUP_AND_DELIVERY_LIFO = operations_research_constraint_solverPINVOKE.RoutingModel_PICKUP_AND_DELIVERY_LIFO_get()
static

Definition at line 2188 of file RoutingModel.cs.

◆ PICKUP_AND_DELIVERY_NO_ORDER

readonly int Google.OrTools.ConstraintSolver.RoutingModel.PICKUP_AND_DELIVERY_NO_ORDER = operations_research_constraint_solverPINVOKE.RoutingModel_PICKUP_AND_DELIVERY_NO_ORDER_get()
static

PickupAndDeliveryPolicy.

Definition at line 2187 of file RoutingModel.cs.

◆ ROUTING_FAIL

readonly int Google.OrTools.ConstraintSolver.RoutingModel.ROUTING_FAIL = operations_research_constraint_solverPINVOKE.RoutingModel_ROUTING_FAIL_get()
static

Definition at line 2180 of file RoutingModel.cs.

◆ ROUTING_FAIL_TIMEOUT

readonly int Google.OrTools.ConstraintSolver.RoutingModel.ROUTING_FAIL_TIMEOUT = operations_research_constraint_solverPINVOKE.RoutingModel_ROUTING_FAIL_TIMEOUT_get()
static

Definition at line 2181 of file RoutingModel.cs.

◆ ROUTING_INFEASIBLE

readonly int Google.OrTools.ConstraintSolver.RoutingModel.ROUTING_INFEASIBLE = operations_research_constraint_solverPINVOKE.RoutingModel_ROUTING_INFEASIBLE_get()
static

Definition at line 2183 of file RoutingModel.cs.

◆ ROUTING_INVALID

readonly int Google.OrTools.ConstraintSolver.RoutingModel.ROUTING_INVALID = operations_research_constraint_solverPINVOKE.RoutingModel_ROUTING_INVALID_get()
static

Definition at line 2182 of file RoutingModel.cs.

◆ ROUTING_NOT_SOLVED

readonly int Google.OrTools.ConstraintSolver.RoutingModel.ROUTING_NOT_SOLVED = operations_research_constraint_solverPINVOKE.RoutingModel_ROUTING_NOT_SOLVED_get()
static

Status.

Definition at line 2177 of file RoutingModel.cs.

◆ ROUTING_OPTIMAL

readonly int Google.OrTools.ConstraintSolver.RoutingModel.ROUTING_OPTIMAL = operations_research_constraint_solverPINVOKE.RoutingModel_ROUTING_OPTIMAL_get()
static

Definition at line 2184 of file RoutingModel.cs.

◆ ROUTING_PARTIAL_SUCCESS_LOCAL_OPTIMUM_NOT_REACHED

readonly int Google.OrTools.ConstraintSolver.RoutingModel.ROUTING_PARTIAL_SUCCESS_LOCAL_OPTIMUM_NOT_REACHED = operations_research_constraint_solverPINVOKE.RoutingModel_ROUTING_PARTIAL_SUCCESS_LOCAL_OPTIMUM_NOT_REACHED_get()
static

Definition at line 2179 of file RoutingModel.cs.

◆ ROUTING_SUCCESS

readonly int Google.OrTools.ConstraintSolver.RoutingModel.ROUTING_SUCCESS = operations_research_constraint_solverPINVOKE.RoutingModel_ROUTING_SUCCESS_get()
static

Definition at line 2178 of file RoutingModel.cs.

◆ swigCMemOwn

bool Google.OrTools.ConstraintSolver.RoutingModel.swigCMemOwn
protected

Definition at line 20 of file RoutingModel.cs.

◆ TYPE_ADDED_TO_VEHICLE

readonly int Google.OrTools.ConstraintSolver.RoutingModel.TYPE_ADDED_TO_VEHICLE = operations_research_constraint_solverPINVOKE.RoutingModel_TYPE_ADDED_TO_VEHICLE_get()
static

VisitTypePolicy.

Definition at line 2197 of file RoutingModel.cs.

◆ TYPE_ON_VEHICLE_UP_TO_VISIT

readonly int Google.OrTools.ConstraintSolver.RoutingModel.TYPE_ON_VEHICLE_UP_TO_VISIT = operations_research_constraint_solverPINVOKE.RoutingModel_TYPE_ON_VEHICLE_UP_TO_VISIT_get()
static

Definition at line 2199 of file RoutingModel.cs.

◆ TYPE_SIMULTANEOUSLY_ADDED_AND_REMOVED

readonly int Google.OrTools.ConstraintSolver.RoutingModel.TYPE_SIMULTANEOUSLY_ADDED_AND_REMOVED = operations_research_constraint_solverPINVOKE.RoutingModel_TYPE_SIMULTANEOUSLY_ADDED_AND_REMOVED_get()
static

Definition at line 2200 of file RoutingModel.cs.

Property Documentation

◆ kNoDimension

int Google.OrTools.ConstraintSolver.RoutingModel.kNoDimension
staticget

Definition at line 666 of file RoutingModel.cs.

◆ kNoDisjunction

int Google.OrTools.ConstraintSolver.RoutingModel.kNoDisjunction
staticget

Definition at line 659 of file RoutingModel.cs.

◆ kNoPenalty

long Google.OrTools.ConstraintSolver.RoutingModel.kNoPenalty
staticget

Definition at line 652 of file RoutingModel.cs.


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