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

Public Member Functions

void Dispose ()
 
RoutingModel Model ()
 
long GetTransitValue (long from_index, long to_index, long vehicle)
 
long GetTransitValueFromClass (long from_index, long to_index, long vehicle_class)
 
IntVar CumulVar (long index)
 
IntVar TransitVar (long index)
 
IntVar FixedTransitVar (long index)
 
IntVar SlackVar (long index)
 
IntVarVector Cumuls ()
 
IntVarVector FixedTransits ()
 
IntVarVector Transits ()
 
IntVarVector Slacks ()
 
void SetSpanUpperBoundForVehicle (long upper_bound, int vehicle)
 
void SetSpanCostCoefficientForVehicle (long coefficient, int vehicle)
 
void SetSpanCostCoefficientForAllVehicles (long coefficient)
 
void SetSlackCostCoefficientForVehicle (long coefficient, int vehicle)
 
void SetSlackCostCoefficientForAllVehicles (long coefficient)
 
void SetGlobalSpanCostCoefficient (long coefficient)
 
void SetCumulVarSoftUpperBound (long index, long upper_bound, long coefficient)
 
bool HasCumulVarSoftUpperBound (long index)
 
long GetCumulVarSoftUpperBound (long index)
 
long GetCumulVarSoftUpperBoundCoefficient (long index)
 
void SetCumulVarSoftLowerBound (long index, long lower_bound, long coefficient)
 
bool HasCumulVarSoftLowerBound (long index)
 
long GetCumulVarSoftLowerBound (long index)
 
long GetCumulVarSoftLowerBoundCoefficient (long index)
 
void SetBreakIntervalsOfVehicle (IntervalVarVector breaks, int vehicle, int pre_travel_evaluator, int post_travel_evaluator)
 
void SetBreakIntervalsOfVehicle (IntervalVarVector breaks, int vehicle, long[] node_visit_transits)
 
void SetBreakDistanceDurationOfVehicle (long distance, long duration, int vehicle)
 
void InitializeBreaks ()
 
bool HasBreakConstraints ()
 
void SetBreakIntervalsOfVehicle (IntervalVarVector breaks, int vehicle, long[] node_visit_transits, LongLongToLong delays)
 
IntervalVarVector GetBreakIntervalsOfVehicle (int vehicle)
 
int GetPreTravelEvaluatorOfVehicle (int vehicle)
 
int GetPostTravelEvaluatorOfVehicle (int vehicle)
 
RoutingDimension BaseDimension ()
 
long ShortestTransitionSlack (long node)
 
string Name ()
 
void SetPickupToDeliveryLimitFunctionForPair (IntIntToLong limit_function, int pair_index)
 
bool HasPickupToDeliveryLimits ()
 
void AddNodePrecedence (long first_node, long second_node, long offset)
 
long GetSpanUpperBoundForVehicle (int vehicle)
 
long GetSpanCostCoefficientForVehicle (int vehicle)
 
long GetSlackCostCoefficientForVehicle (int vehicle)
 
long GlobalSpanCostCoefficient ()
 
long GetGlobalOptimizerOffset ()
 
long GetLocalOptimizerOffsetForVehicle (int vehicle)
 
void SetSoftSpanUpperBoundForVehicle (BoundCost bound_cost, int vehicle)
 
bool HasSoftSpanUpperBounds ()
 
BoundCost GetSoftSpanUpperBoundForVehicle (int vehicle)
 
void SetQuadraticCostSoftSpanUpperBoundForVehicle (BoundCost bound_cost, int vehicle)
 
bool HasQuadraticCostSoftSpanUpperBounds ()
 
BoundCost GetQuadraticCostSoftSpanUpperBoundForVehicle (int vehicle)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Detailed Description

Definition at line 18 of file RoutingDimension.cs.

Member Function Documentation

◆ AddNodePrecedence()

void Google.OrTools.ConstraintSolver.RoutingDimension.AddNodePrecedence ( long first_node,
long second_node,
long offset )
inline

Definition at line 272 of file RoutingDimension.cs.

◆ BaseDimension()

RoutingDimension Google.OrTools.ConstraintSolver.RoutingDimension.BaseDimension ( )
inline

Definition at line 247 of file RoutingDimension.cs.

◆ Cumuls()

IntVarVector Google.OrTools.ConstraintSolver.RoutingDimension.Cumuls ( )
inline

Definition at line 122 of file RoutingDimension.cs.

◆ CumulVar()

IntVar Google.OrTools.ConstraintSolver.RoutingDimension.CumulVar ( long index)
inline

Definition at line 98 of file RoutingDimension.cs.

◆ Dispose() [1/2]

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

Definition at line 48 of file RoutingDimension.cs.

◆ Dispose() [2/2]

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

Definition at line 53 of file RoutingDimension.cs.

◆ FixedTransits()

IntVarVector Google.OrTools.ConstraintSolver.RoutingDimension.FixedTransits ( )
inline

Definition at line 127 of file RoutingDimension.cs.

◆ FixedTransitVar()

IntVar Google.OrTools.ConstraintSolver.RoutingDimension.FixedTransitVar ( long index)
inline

Definition at line 110 of file RoutingDimension.cs.

◆ GetBreakIntervalsOfVehicle()

IntervalVarVector Google.OrTools.ConstraintSolver.RoutingDimension.GetBreakIntervalsOfVehicle ( int vehicle)
inline

Definition at line 232 of file RoutingDimension.cs.

◆ GetCumulVarSoftLowerBound()

long Google.OrTools.ConstraintSolver.RoutingDimension.GetCumulVarSoftLowerBound ( long index)
inline

Definition at line 194 of file RoutingDimension.cs.

◆ GetCumulVarSoftLowerBoundCoefficient()

long Google.OrTools.ConstraintSolver.RoutingDimension.GetCumulVarSoftLowerBoundCoefficient ( long index)
inline

Definition at line 199 of file RoutingDimension.cs.

◆ GetCumulVarSoftUpperBound()

long Google.OrTools.ConstraintSolver.RoutingDimension.GetCumulVarSoftUpperBound ( long index)
inline

Definition at line 175 of file RoutingDimension.cs.

◆ GetCumulVarSoftUpperBoundCoefficient()

long Google.OrTools.ConstraintSolver.RoutingDimension.GetCumulVarSoftUpperBoundCoefficient ( long index)
inline

Definition at line 180 of file RoutingDimension.cs.

◆ GetGlobalOptimizerOffset()

long Google.OrTools.ConstraintSolver.RoutingDimension.GetGlobalOptimizerOffset ( )
inline

Definition at line 296 of file RoutingDimension.cs.

◆ GetLocalOptimizerOffsetForVehicle()

long Google.OrTools.ConstraintSolver.RoutingDimension.GetLocalOptimizerOffsetForVehicle ( int vehicle)
inline

Definition at line 301 of file RoutingDimension.cs.

◆ GetPostTravelEvaluatorOfVehicle()

int Google.OrTools.ConstraintSolver.RoutingDimension.GetPostTravelEvaluatorOfVehicle ( int vehicle)
inline

Definition at line 242 of file RoutingDimension.cs.

◆ GetPreTravelEvaluatorOfVehicle()

int Google.OrTools.ConstraintSolver.RoutingDimension.GetPreTravelEvaluatorOfVehicle ( int vehicle)
inline

Definition at line 237 of file RoutingDimension.cs.

◆ GetQuadraticCostSoftSpanUpperBoundForVehicle()

BoundCost Google.OrTools.ConstraintSolver.RoutingDimension.GetQuadraticCostSoftSpanUpperBoundForVehicle ( int vehicle)
inline

Definition at line 331 of file RoutingDimension.cs.

◆ GetSlackCostCoefficientForVehicle()

long Google.OrTools.ConstraintSolver.RoutingDimension.GetSlackCostCoefficientForVehicle ( int vehicle)
inline

Definition at line 286 of file RoutingDimension.cs.

◆ GetSoftSpanUpperBoundForVehicle()

BoundCost Google.OrTools.ConstraintSolver.RoutingDimension.GetSoftSpanUpperBoundForVehicle ( int vehicle)
inline

Definition at line 316 of file RoutingDimension.cs.

◆ GetSpanCostCoefficientForVehicle()

long Google.OrTools.ConstraintSolver.RoutingDimension.GetSpanCostCoefficientForVehicle ( int vehicle)
inline

Definition at line 281 of file RoutingDimension.cs.

◆ GetSpanUpperBoundForVehicle()

long Google.OrTools.ConstraintSolver.RoutingDimension.GetSpanUpperBoundForVehicle ( int vehicle)
inline

Definition at line 276 of file RoutingDimension.cs.

◆ GetTransitValue()

long Google.OrTools.ConstraintSolver.RoutingDimension.GetTransitValue ( long from_index,
long to_index,
long vehicle )
inline

Definition at line 88 of file RoutingDimension.cs.

◆ GetTransitValueFromClass()

long Google.OrTools.ConstraintSolver.RoutingDimension.GetTransitValueFromClass ( long from_index,
long to_index,
long vehicle_class )
inline

Definition at line 93 of file RoutingDimension.cs.

◆ GlobalSpanCostCoefficient()

long Google.OrTools.ConstraintSolver.RoutingDimension.GlobalSpanCostCoefficient ( )
inline

Definition at line 291 of file RoutingDimension.cs.

◆ HasBreakConstraints()

bool Google.OrTools.ConstraintSolver.RoutingDimension.HasBreakConstraints ( )
inline

Definition at line 222 of file RoutingDimension.cs.

◆ HasCumulVarSoftLowerBound()

bool Google.OrTools.ConstraintSolver.RoutingDimension.HasCumulVarSoftLowerBound ( long index)
inline

Definition at line 189 of file RoutingDimension.cs.

◆ HasCumulVarSoftUpperBound()

bool Google.OrTools.ConstraintSolver.RoutingDimension.HasCumulVarSoftUpperBound ( long index)
inline

Definition at line 170 of file RoutingDimension.cs.

◆ HasPickupToDeliveryLimits()

bool Google.OrTools.ConstraintSolver.RoutingDimension.HasPickupToDeliveryLimits ( )
inline

Definition at line 267 of file RoutingDimension.cs.

◆ HasQuadraticCostSoftSpanUpperBounds()

bool Google.OrTools.ConstraintSolver.RoutingDimension.HasQuadraticCostSoftSpanUpperBounds ( )
inline

Definition at line 326 of file RoutingDimension.cs.

◆ HasSoftSpanUpperBounds()

bool Google.OrTools.ConstraintSolver.RoutingDimension.HasSoftSpanUpperBounds ( )
inline

Definition at line 311 of file RoutingDimension.cs.

◆ InitializeBreaks()

void Google.OrTools.ConstraintSolver.RoutingDimension.InitializeBreaks ( )
inline

Definition at line 218 of file RoutingDimension.cs.

◆ Model()

RoutingModel Google.OrTools.ConstraintSolver.RoutingDimension.Model ( )
inline

Definition at line 82 of file RoutingDimension.cs.

◆ Name()

string Google.OrTools.ConstraintSolver.RoutingDimension.Name ( )
inline

Definition at line 258 of file RoutingDimension.cs.

◆ SetBreakDistanceDurationOfVehicle()

void Google.OrTools.ConstraintSolver.RoutingDimension.SetBreakDistanceDurationOfVehicle ( long distance,
long duration,
int vehicle )
inline

Definition at line 214 of file RoutingDimension.cs.

◆ SetBreakIntervalsOfVehicle() [1/3]

void Google.OrTools.ConstraintSolver.RoutingDimension.SetBreakIntervalsOfVehicle ( IntervalVarVector breaks,
int vehicle,
int pre_travel_evaluator,
int post_travel_evaluator )
inline

Definition at line 204 of file RoutingDimension.cs.

◆ SetBreakIntervalsOfVehicle() [2/3]

void Google.OrTools.ConstraintSolver.RoutingDimension.SetBreakIntervalsOfVehicle ( IntervalVarVector breaks,
int vehicle,
long[] node_visit_transits )
inline

Definition at line 209 of file RoutingDimension.cs.

◆ SetBreakIntervalsOfVehicle() [3/3]

void Google.OrTools.ConstraintSolver.RoutingDimension.SetBreakIntervalsOfVehicle ( IntervalVarVector breaks,
int vehicle,
long[] node_visit_transits,
LongLongToLong delays )
inline

Definition at line 227 of file RoutingDimension.cs.

◆ SetCumulVarSoftLowerBound()

void Google.OrTools.ConstraintSolver.RoutingDimension.SetCumulVarSoftLowerBound ( long index,
long lower_bound,
long coefficient )
inline

Definition at line 185 of file RoutingDimension.cs.

◆ SetCumulVarSoftUpperBound()

void Google.OrTools.ConstraintSolver.RoutingDimension.SetCumulVarSoftUpperBound ( long index,
long upper_bound,
long coefficient )
inline

Definition at line 166 of file RoutingDimension.cs.

◆ SetGlobalSpanCostCoefficient()

void Google.OrTools.ConstraintSolver.RoutingDimension.SetGlobalSpanCostCoefficient ( long coefficient)
inline

Definition at line 162 of file RoutingDimension.cs.

◆ SetPickupToDeliveryLimitFunctionForPair()

void Google.OrTools.ConstraintSolver.RoutingDimension.SetPickupToDeliveryLimitFunctionForPair ( IntIntToLong limit_function,
int pair_index )
inline

Definition at line 263 of file RoutingDimension.cs.

◆ SetQuadraticCostSoftSpanUpperBoundForVehicle()

void Google.OrTools.ConstraintSolver.RoutingDimension.SetQuadraticCostSoftSpanUpperBoundForVehicle ( BoundCost bound_cost,
int vehicle )
inline

Definition at line 321 of file RoutingDimension.cs.

◆ SetSlackCostCoefficientForAllVehicles()

void Google.OrTools.ConstraintSolver.RoutingDimension.SetSlackCostCoefficientForAllVehicles ( long coefficient)
inline

Definition at line 158 of file RoutingDimension.cs.

◆ SetSlackCostCoefficientForVehicle()

void Google.OrTools.ConstraintSolver.RoutingDimension.SetSlackCostCoefficientForVehicle ( long coefficient,
int vehicle )
inline

Definition at line 154 of file RoutingDimension.cs.

◆ SetSoftSpanUpperBoundForVehicle()

void Google.OrTools.ConstraintSolver.RoutingDimension.SetSoftSpanUpperBoundForVehicle ( BoundCost bound_cost,
int vehicle )
inline

Definition at line 306 of file RoutingDimension.cs.

◆ SetSpanCostCoefficientForAllVehicles()

void Google.OrTools.ConstraintSolver.RoutingDimension.SetSpanCostCoefficientForAllVehicles ( long coefficient)
inline

Definition at line 150 of file RoutingDimension.cs.

◆ SetSpanCostCoefficientForVehicle()

void Google.OrTools.ConstraintSolver.RoutingDimension.SetSpanCostCoefficientForVehicle ( long coefficient,
int vehicle )
inline

Definition at line 146 of file RoutingDimension.cs.

◆ SetSpanUpperBoundForVehicle()

void Google.OrTools.ConstraintSolver.RoutingDimension.SetSpanUpperBoundForVehicle ( long upper_bound,
int vehicle )
inline

Definition at line 142 of file RoutingDimension.cs.

◆ ShortestTransitionSlack()

long Google.OrTools.ConstraintSolver.RoutingDimension.ShortestTransitionSlack ( long node)
inline

Definition at line 253 of file RoutingDimension.cs.

◆ Slacks()

IntVarVector Google.OrTools.ConstraintSolver.RoutingDimension.Slacks ( )
inline

Definition at line 137 of file RoutingDimension.cs.

◆ SlackVar()

IntVar Google.OrTools.ConstraintSolver.RoutingDimension.SlackVar ( long index)
inline

Definition at line 116 of file RoutingDimension.cs.

◆ Transits()

IntVarVector Google.OrTools.ConstraintSolver.RoutingDimension.Transits ( )
inline

Definition at line 132 of file RoutingDimension.cs.

◆ TransitVar()

IntVar Google.OrTools.ConstraintSolver.RoutingDimension.TransitVar ( long index)
inline

Definition at line 104 of file RoutingDimension.cs.

Member Data Documentation

◆ swigCMemOwn

bool Google.OrTools.ConstraintSolver.RoutingDimension.swigCMemOwn
protected

Definition at line 20 of file RoutingDimension.cs.


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