DotNet Reference
.Net Reference
RoutingModel.cs
Go to the documentation of this file.
26 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
45 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
84 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VehicleTypeContainer obj) {
85 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
102 operations_research_constraint_solverPINVOKE.delete_RoutingModel_VehicleTypeContainer(swigCPtr);
104 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
118 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VehicleClassEntry obj) {
119 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
136 operations_research_constraint_solverPINVOKE.delete_RoutingModel_VehicleTypeContainer_VehicleClassEntry(swigCPtr);
138 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
145 operations_research_constraint_solverPINVOKE.RoutingModel_VehicleTypeContainer_VehicleClassEntry_vehicle_class_set(swigCPtr, value);
148 int ret = operations_research_constraint_solverPINVOKE.RoutingModel_VehicleTypeContainer_VehicleClassEntry_vehicle_class_get(swigCPtr);
155 operations_research_constraint_solverPINVOKE.RoutingModel_VehicleTypeContainer_VehicleClassEntry_fixed_cost_set(swigCPtr, value);
158 long ret = operations_research_constraint_solverPINVOKE.RoutingModel_VehicleTypeContainer_VehicleClassEntry_fixed_cost_get(swigCPtr);
163 public VehicleClassEntry() : this(operations_research_constraint_solverPINVOKE.new_RoutingModel_VehicleTypeContainer_VehicleClassEntry(), true) {
169 int ret = operations_research_constraint_solverPINVOKE.RoutingModel_VehicleTypeContainer_NumTypes(swigCPtr);
174 int ret = operations_research_constraint_solverPINVOKE.RoutingModel_VehicleTypeContainer_Type(swigCPtr, vehicle);
180 operations_research_constraint_solverPINVOKE.RoutingModel_VehicleTypeContainer_type_index_of_vehicle_set(swigCPtr, IntVector.getCPtr(value));
183 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_VehicleTypeContainer_type_index_of_vehicle_get(swigCPtr);
189 public SWIGTYPE_p_std__vectorT_std__setT_operations_research__RoutingModel__VehicleTypeContainer__VehicleClassEntry_t_t sorted_vehicle_classes_per_type {
191 operations_research_constraint_solverPINVOKE.RoutingModel_VehicleTypeContainer_sorted_vehicle_classes_per_type_set(swigCPtr, SWIGTYPE_p_std__vectorT_std__setT_operations_research__RoutingModel__VehicleTypeContainer__VehicleClassEntry_t_t.getCPtr(value));
194 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_VehicleTypeContainer_sorted_vehicle_classes_per_type_get(swigCPtr);
195 SWIGTYPE_p_std__vectorT_std__setT_operations_research__RoutingModel__VehicleTypeContainer__VehicleClassEntry_t_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_std__vectorT_std__setT_operations_research__RoutingModel__VehicleTypeContainer__VehicleClassEntry_t_t(cPtr, false);
202 operations_research_constraint_solverPINVOKE.RoutingModel_VehicleTypeContainer_vehicles_per_vehicle_class_set(swigCPtr, SWIGTYPE_p_std__vectorT_std__dequeT_int_t_t.getCPtr(value));
205 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_VehicleTypeContainer_vehicles_per_vehicle_class_get(swigCPtr);
206 SWIGTYPE_p_std__vectorT_std__dequeT_int_t_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_std__vectorT_std__dequeT_int_t_t(cPtr, false);
211 public VehicleTypeContainer() : this(operations_research_constraint_solverPINVOKE.new_RoutingModel_VehicleTypeContainer(), true) {
226 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
245 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
260 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
277 operations_research_constraint_solverPINVOKE.delete_RoutingModel_ResourceGroup_Attributes(swigCPtr);
279 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
284 public Attributes() : this(operations_research_constraint_solverPINVOKE.new_RoutingModel_ResourceGroup_Attributes__SWIG_0(), true) {
287 public Attributes(Domain start_domain, Domain end_domain) : this(operations_research_constraint_solverPINVOKE.new_RoutingModel_ResourceGroup_Attributes__SWIG_1(Domain.getCPtr(start_domain), Domain.getCPtr(end_domain)), true) {
288 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
292 Domain ret = new Domain(operations_research_constraint_solverPINVOKE.RoutingModel_ResourceGroup_Attributes_StartDomain(swigCPtr), false);
297 Domain ret = new Domain(operations_research_constraint_solverPINVOKE.RoutingModel_ResourceGroup_Attributes_EndDomain(swigCPtr), false);
313 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
330 operations_research_constraint_solverPINVOKE.delete_RoutingModel_ResourceGroup_Resource(swigCPtr);
332 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
337 public RoutingModel.ResourceGroup.Attributes GetDimensionAttributes(RoutingDimension dimension) {
338 RoutingModel.ResourceGroup.Attributes ret = new RoutingModel.ResourceGroup.Attributes(operations_research_constraint_solverPINVOKE.RoutingModel_ResourceGroup_Resource_GetDimensionAttributes(swigCPtr, RoutingDimension.getCPtr(dimension)), false);
344 public ResourceGroup(RoutingModel model) : this(operations_research_constraint_solverPINVOKE.new_RoutingModel_ResourceGroup(RoutingModel.getCPtr(model)), true) {
347 public int AddResource(RoutingModel.ResourceGroup.Attributes attributes, RoutingDimension dimension) {
348 int ret = operations_research_constraint_solverPINVOKE.RoutingModel_ResourceGroup_AddResource(swigCPtr, RoutingModel.ResourceGroup.Attributes.getCPtr(attributes), RoutingDimension.getCPtr(dimension));
349 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
354 operations_research_constraint_solverPINVOKE.RoutingModel_ResourceGroup_NotifyVehicleRequiresAResource(swigCPtr, vehicle);
358 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_ResourceGroup_GetVehiclesRequiringAResource(swigCPtr);
370 bool ret = operations_research_constraint_solverPINVOKE.RoutingModel_ResourceGroup_VehicleRequiresAResource(swigCPtr, vehicle);
374 public SWIGTYPE_p_std__vectorT_operations_research__RoutingModel__ResourceGroup__Resource_t GetResources() {
375 SWIGTYPE_p_std__vectorT_operations_research__RoutingModel__ResourceGroup__Resource_t ret = new SWIGTYPE_p_std__vectorT_operations_research__RoutingModel__ResourceGroup__Resource_t(operations_research_constraint_solverPINVOKE.RoutingModel_ResourceGroup_GetResources(swigCPtr), false);
380 RoutingModel.ResourceGroup.Resource ret = new RoutingModel.ResourceGroup.Resource(operations_research_constraint_solverPINVOKE.RoutingModel_ResourceGroup_GetResource(swigCPtr, resource_index), false);
384 public SWIGTYPE_p_absl__flat_hash_setT_operations_research__RoutingModel__DimensionIndex_t GetAffectedDimensionIndices() {
385 SWIGTYPE_p_absl__flat_hash_setT_operations_research__RoutingModel__DimensionIndex_t ret = new SWIGTYPE_p_absl__flat_hash_setT_operations_research__RoutingModel__DimensionIndex_t(operations_research_constraint_solverPINVOKE.RoutingModel_ResourceGroup_GetAffectedDimensionIndices(swigCPtr), false);
390 int ret = operations_research_constraint_solverPINVOKE.RoutingModel_ResourceGroup_Size(swigCPtr);
417 public RoutingModel(RoutingIndexManager index_manager) : this(operations_research_constraint_solverPINVOKE.new_RoutingModel__SWIG_0(RoutingIndexManager.getCPtr(index_manager)), true) {
418 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
421 public RoutingModel(RoutingIndexManager index_manager, Google.OrTools.ConstraintSolver.RoutingModelParameters parameters) : this(operations_research_constraint_solverPINVOKE.new_RoutingModel__SWIG_1(RoutingIndexManager.getCPtr(index_manager), parameters.CalculateSize(), ProtoHelper.ProtoToByteArray(parameters)), true) {
422 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
426 int ret = operations_research_constraint_solverPINVOKE.RoutingModel_RegisterUnaryTransitVector(swigCPtr, values.Length, values );
431 int ret = operations_research_constraint_solverPINVOKE.RoutingModel_RegisterUnaryTransitCallback(swigCPtr, StoreLongToLong(callback) );
436 int ret = operations_research_constraint_solverPINVOKE.RoutingModel_RegisterPositiveUnaryTransitCallback(swigCPtr, StoreLongToLong(callback) );
441 int ret = operations_research_constraint_solverPINVOKE.RoutingModel_RegisterTransitMatrix(swigCPtr,
450 int ret = operations_research_constraint_solverPINVOKE.RoutingModel_RegisterTransitCallback(swigCPtr, StoreLongLongToLong(callback) );
455 int ret = operations_research_constraint_solverPINVOKE.RoutingModel_RegisterPositiveTransitCallback(swigCPtr, StoreLongLongToLong(callback) );
459 public bool AddDimension(int evaluator_index, long slack_max, long capacity, bool fix_start_cumul_to_zero, string name) {
460 bool ret = operations_research_constraint_solverPINVOKE.RoutingModel_AddDimension(swigCPtr, evaluator_index, slack_max, capacity, fix_start_cumul_to_zero, name);
461 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
465 public bool AddDimensionWithVehicleTransits( int[] evaluator_indices, long slack_max, long capacity, bool fix_start_cumul_to_zero, string name) {
466 bool ret = operations_research_constraint_solverPINVOKE.RoutingModel_AddDimensionWithVehicleTransits(swigCPtr, evaluator_indices.Length, evaluator_indices , slack_max, capacity, fix_start_cumul_to_zero, name);
467 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
471 public bool AddDimensionWithVehicleCapacity(int evaluator_index, long slack_max, long[] vehicle_capacities, bool fix_start_cumul_to_zero, string name) {
472 bool ret = operations_research_constraint_solverPINVOKE.RoutingModel_AddDimensionWithVehicleCapacity(swigCPtr, evaluator_index, slack_max, vehicle_capacities.Length, vehicle_capacities , fix_start_cumul_to_zero, name);
473 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
477 public bool AddDimensionWithVehicleTransitAndCapacity( int[] evaluator_indices, long slack_max, long[] vehicle_capacities, bool fix_start_cumul_to_zero, string name) {
478 bool ret = operations_research_constraint_solverPINVOKE.RoutingModel_AddDimensionWithVehicleTransitAndCapacity(swigCPtr, evaluator_indices.Length, evaluator_indices , slack_max, vehicle_capacities.Length, vehicle_capacities , fix_start_cumul_to_zero, name);
479 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
483 public IntBoolPair AddConstantDimensionWithSlack(long value, long capacity, long slack_max, bool fix_start_cumul_to_zero, string name) {
484 IntBoolPair ret = new IntBoolPair(operations_research_constraint_solverPINVOKE.RoutingModel_AddConstantDimensionWithSlack(swigCPtr, value, capacity, slack_max, fix_start_cumul_to_zero, name), true);
485 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
489 public IntBoolPair AddConstantDimension(long value, long capacity, bool fix_start_cumul_to_zero, string name) {
490 IntBoolPair ret = new IntBoolPair(operations_research_constraint_solverPINVOKE.RoutingModel_AddConstantDimension(swigCPtr, value, capacity, fix_start_cumul_to_zero, name), true);
491 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
495 public IntBoolPair AddVectorDimension( long[] values, long capacity, bool fix_start_cumul_to_zero, string name) {
496 IntBoolPair ret = new IntBoolPair(operations_research_constraint_solverPINVOKE.RoutingModel_AddVectorDimension(swigCPtr, values.Length, values , capacity, fix_start_cumul_to_zero, name), true);
497 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
501 public IntBoolPair AddMatrixDimension( long[][] values, long capacity, bool fix_start_cumul_to_zero, string name) {
502 IntBoolPair ret = new IntBoolPair(operations_research_constraint_solverPINVOKE.RoutingModel_AddMatrixDimension(swigCPtr,
507 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
511 public Constraint MakePathSpansAndTotalSlacks(RoutingDimension dimension, IntVarVector spans, IntVarVector total_slacks) {
512 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_MakePathSpansAndTotalSlacks(swigCPtr, RoutingDimension.getCPtr(dimension), IntVarVector.getCPtr(spans), IntVarVector.getCPtr(total_slacks));
514 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
518 public SWIGTYPE_p_std__vectorT_std__unique_ptrT_operations_research__GlobalDimensionCumulOptimizer_t_t GetGlobalDimensionCumulMPOptimizers() {
519 SWIGTYPE_p_std__vectorT_std__unique_ptrT_operations_research__GlobalDimensionCumulOptimizer_t_t ret = new SWIGTYPE_p_std__vectorT_std__unique_ptrT_operations_research__GlobalDimensionCumulOptimizer_t_t(operations_research_constraint_solverPINVOKE.RoutingModel_GetGlobalDimensionCumulMPOptimizers(swigCPtr), false);
523 public SWIGTYPE_p_operations_research__GlobalDimensionCumulOptimizer GetMutableGlobalCumulMPOptimizer(RoutingDimension dimension) {
524 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_GetMutableGlobalCumulMPOptimizer(swigCPtr, RoutingDimension.getCPtr(dimension));
525 SWIGTYPE_p_operations_research__GlobalDimensionCumulOptimizer ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_operations_research__GlobalDimensionCumulOptimizer(cPtr, false);
526 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
531 bool ret = operations_research_constraint_solverPINVOKE.RoutingModel_HasDimension(swigCPtr, dimension_name);
532 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
537 RoutingDimension ret = new RoutingDimension(operations_research_constraint_solverPINVOKE.RoutingModel_GetDimensionOrDie(swigCPtr, dimension_name), false);
538 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
543 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_GetMutableDimension(swigCPtr, dimension_name);
544 RoutingDimension ret = (cPtr == global::System.IntPtr.Zero) ? null : new RoutingDimension(cPtr, false);
545 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
550 operations_research_constraint_solverPINVOKE.RoutingModel_SetPrimaryConstrainedDimension(swigCPtr, dimension_name);
551 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
555 string ret = operations_research_constraint_solverPINVOKE.RoutingModel_GetPrimaryConstrainedDimension(swigCPtr);
564 public SWIGTYPE_p_std__vectorT_std__unique_ptrT_operations_research__RoutingModel__ResourceGroup_t_t GetResourceGroups() {
565 SWIGTYPE_p_std__vectorT_std__unique_ptrT_operations_research__RoutingModel__ResourceGroup_t_t ret = new SWIGTYPE_p_std__vectorT_std__unique_ptrT_operations_research__RoutingModel__ResourceGroup_t_t(operations_research_constraint_solverPINVOKE.RoutingModel_GetResourceGroups(swigCPtr), false);
570 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_GetResourceGroup(swigCPtr, rg_index);
571 RoutingModel.ResourceGroup ret = (cPtr == global::System.IntPtr.Zero) ? null : new RoutingModel.ResourceGroup(cPtr, false);
576 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_GetDimensionResourceGroupIndices(swigCPtr, RoutingDimension.getCPtr(dimension));
588 int ret = operations_research_constraint_solverPINVOKE.RoutingModel_GetDimensionResourceGroupIndex(swigCPtr, RoutingDimension.getCPtr(dimension));
593 return operations_research_constraint_solverPINVOKE.RoutingModel_AddDisjunction__SWIG_0(swigCPtr, indices.Length, indices , penalty, max_cardinality);
597 return operations_research_constraint_solverPINVOKE.RoutingModel_AddDisjunction__SWIG_1(swigCPtr, indices.Length, indices , penalty);
601 return operations_research_constraint_solverPINVOKE.RoutingModel_AddDisjunction__SWIG_2(swigCPtr, indices.Length, indices );
605 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_GetDisjunctionIndices(swigCPtr, index);
617 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_GetDisjunctionNodeIndices(swigCPtr, index);
629 long ret = operations_research_constraint_solverPINVOKE.RoutingModel_GetDisjunctionPenalty(swigCPtr, index);
634 long ret = operations_research_constraint_solverPINVOKE.RoutingModel_GetDisjunctionMaxCardinality(swigCPtr, index);
639 int ret = operations_research_constraint_solverPINVOKE.RoutingModel_GetNumberOfDisjunctions(swigCPtr);
644 bool ret = operations_research_constraint_solverPINVOKE.RoutingModel_HasMandatoryDisjunctions(swigCPtr);
649 bool ret = operations_research_constraint_solverPINVOKE.RoutingModel_HasMaxCardinalityConstrainedDisjunctions(swigCPtr);
654 operations_research_constraint_solverPINVOKE.RoutingModel_IgnoreDisjunctionsAlreadyForcedToZero(swigCPtr);
658 operations_research_constraint_solverPINVOKE.RoutingModel_AddSoftSameVehicleConstraint(swigCPtr, indices.Length, indices , cost);
662 operations_research_constraint_solverPINVOKE.RoutingModel_SetAllowedVehiclesForIndex(swigCPtr, vehicles.Length, vehicles , index);
666 bool ret = operations_research_constraint_solverPINVOKE.RoutingModel_IsVehicleAllowedForIndex(swigCPtr, vehicle, index);
671 operations_research_constraint_solverPINVOKE.RoutingModel_AddPickupAndDelivery(swigCPtr, pickup, delivery);
675 operations_research_constraint_solverPINVOKE.RoutingModel_AddPickupAndDeliverySets(swigCPtr, pickup_disjunction, delivery_disjunction);
679 operations_research_constraint_solverPINVOKE.RoutingModel_SetPickupAndDeliveryPolicyOfAllVehicles(swigCPtr, policy);
683 operations_research_constraint_solverPINVOKE.RoutingModel_SetPickupAndDeliveryPolicyOfVehicle(swigCPtr, policy, vehicle);
687 int ret = operations_research_constraint_solverPINVOKE.RoutingModel_GetPickupAndDeliveryPolicyOfVehicle(swigCPtr, vehicle);
692 int ret = operations_research_constraint_solverPINVOKE.RoutingModel_GetNumOfSingletonNodes(swigCPtr);
697 operations_research_constraint_solverPINVOKE.RoutingModel_SetVisitType(swigCPtr, index, type, type_policy);
701 int ret = operations_research_constraint_solverPINVOKE.RoutingModel_GetVisitType(swigCPtr, index);
706 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_GetSingleNodesOfType(swigCPtr, type);
718 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_GetPairIndicesOfType(swigCPtr, type);
730 int ret = operations_research_constraint_solverPINVOKE.RoutingModel_GetVisitTypePolicy(swigCPtr, index);
739 int ret = operations_research_constraint_solverPINVOKE.RoutingModel_GetNumberOfVisitTypes(swigCPtr);
744 operations_research_constraint_solverPINVOKE.RoutingModel_AddHardTypeIncompatibility(swigCPtr, type1, type2);
748 operations_research_constraint_solverPINVOKE.RoutingModel_AddTemporalTypeIncompatibility(swigCPtr, type1, type2);
752 SWIGTYPE_p_absl__flat_hash_setT_int_t ret = new SWIGTYPE_p_absl__flat_hash_setT_int_t(operations_research_constraint_solverPINVOKE.RoutingModel_GetTemporalTypeIncompatibilitiesOfType(swigCPtr, type), false);
757 bool ret = operations_research_constraint_solverPINVOKE.RoutingModel_HasHardTypeIncompatibilities(swigCPtr);
762 bool ret = operations_research_constraint_solverPINVOKE.RoutingModel_HasTemporalTypeIncompatibilities(swigCPtr);
766 public void AddRequiredTypeAlternativesWhenAddingType(int dependent_type, SWIGTYPE_p_absl__flat_hash_setT_int_t required_type_alternatives) {
767 operations_research_constraint_solverPINVOKE.RoutingModel_AddRequiredTypeAlternativesWhenAddingType(swigCPtr, dependent_type, SWIGTYPE_p_absl__flat_hash_setT_int_t.getCPtr(required_type_alternatives));
768 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
771 public void AddRequiredTypeAlternativesWhenRemovingType(int dependent_type, SWIGTYPE_p_absl__flat_hash_setT_int_t required_type_alternatives) {
772 operations_research_constraint_solverPINVOKE.RoutingModel_AddRequiredTypeAlternativesWhenRemovingType(swigCPtr, dependent_type, SWIGTYPE_p_absl__flat_hash_setT_int_t.getCPtr(required_type_alternatives));
773 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
776 public SWIGTYPE_p_std__vectorT_absl__flat_hash_setT_int_t_t GetSameVehicleRequiredTypeAlternativesOfType(int type) {
777 SWIGTYPE_p_std__vectorT_absl__flat_hash_setT_int_t_t ret = new SWIGTYPE_p_std__vectorT_absl__flat_hash_setT_int_t_t(operations_research_constraint_solverPINVOKE.RoutingModel_GetSameVehicleRequiredTypeAlternativesOfType(swigCPtr, type), false);
781 public SWIGTYPE_p_std__vectorT_absl__flat_hash_setT_int_t_t GetRequiredTypeAlternativesWhenAddingType(int type) {
782 SWIGTYPE_p_std__vectorT_absl__flat_hash_setT_int_t_t ret = new SWIGTYPE_p_std__vectorT_absl__flat_hash_setT_int_t_t(operations_research_constraint_solverPINVOKE.RoutingModel_GetRequiredTypeAlternativesWhenAddingType(swigCPtr, type), false);
786 public SWIGTYPE_p_std__vectorT_absl__flat_hash_setT_int_t_t GetRequiredTypeAlternativesWhenRemovingType(int type) {
787 SWIGTYPE_p_std__vectorT_absl__flat_hash_setT_int_t_t ret = new SWIGTYPE_p_std__vectorT_absl__flat_hash_setT_int_t_t(operations_research_constraint_solverPINVOKE.RoutingModel_GetRequiredTypeAlternativesWhenRemovingType(swigCPtr, type), false);
792 bool ret = operations_research_constraint_solverPINVOKE.RoutingModel_HasSameVehicleTypeRequirements(swigCPtr);
797 bool ret = operations_research_constraint_solverPINVOKE.RoutingModel_HasTemporalTypeRequirements(swigCPtr);
802 long ret = operations_research_constraint_solverPINVOKE.RoutingModel_UnperformedPenalty(swigCPtr, var_index);
807 long ret = operations_research_constraint_solverPINVOKE.RoutingModel_UnperformedPenaltyOrValue(swigCPtr, default_value, var_index);
817 operations_research_constraint_solverPINVOKE.RoutingModel_SetMaximumNumberOfActiveVehicles(swigCPtr, max_active_vehicles);
821 int ret = operations_research_constraint_solverPINVOKE.RoutingModel_GetMaximumNumberOfActiveVehicles(swigCPtr);
826 operations_research_constraint_solverPINVOKE.RoutingModel_SetArcCostEvaluatorOfAllVehicles(swigCPtr, evaluator_index);
830 operations_research_constraint_solverPINVOKE.RoutingModel_SetArcCostEvaluatorOfVehicle(swigCPtr, evaluator_index, vehicle);
834 operations_research_constraint_solverPINVOKE.RoutingModel_SetFixedCostOfAllVehicles(swigCPtr, cost);
838 operations_research_constraint_solverPINVOKE.RoutingModel_SetFixedCostOfVehicle(swigCPtr, cost, vehicle);
842 long ret = operations_research_constraint_solverPINVOKE.RoutingModel_GetFixedCostOfVehicle(swigCPtr, vehicle);
846 public void SetAmortizedCostFactorsOfAllVehicles(long linear_cost_factor, long quadratic_cost_factor) {
847 operations_research_constraint_solverPINVOKE.RoutingModel_SetAmortizedCostFactorsOfAllVehicles(swigCPtr, linear_cost_factor, quadratic_cost_factor);
850 public void SetAmortizedCostFactorsOfVehicle(long linear_cost_factor, long quadratic_cost_factor, int vehicle) {
851 operations_research_constraint_solverPINVOKE.RoutingModel_SetAmortizedCostFactorsOfVehicle(swigCPtr, linear_cost_factor, quadratic_cost_factor, vehicle);
855 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_GetAmortizedLinearCostFactorOfVehicles(swigCPtr);
867 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_GetAmortizedQuadraticCostFactorOfVehicles(swigCPtr);
879 operations_research_constraint_solverPINVOKE.RoutingModel_SetVehicleUsedWhenEmpty(swigCPtr, is_used, vehicle);
883 bool ret = operations_research_constraint_solverPINVOKE.RoutingModel_IsVehicleUsedWhenEmpty(swigCPtr, vehicle);
888 operations_research_constraint_solverPINVOKE.RoutingModel_SetFirstSolutionEvaluator(swigCPtr, StoreLongLongToLong(evaluator) );
892 operations_research_constraint_solverPINVOKE.RoutingModel_AddLocalSearchOperator(swigCPtr, LocalSearchOperator.getCPtr(ls_operator));
896 operations_research_constraint_solverPINVOKE.RoutingModel_AddSearchMonitor(swigCPtr, SearchMonitor.getCPtr(monitor));
900 operations_research_constraint_solverPINVOKE.RoutingModel_AddAtSolutionCallback(swigCPtr, StoreVoidToVoid(callback) );
904 operations_research_constraint_solverPINVOKE.RoutingModel_AddVariableMinimizedByFinalizer(swigCPtr, IntVar.getCPtr(var));
908 operations_research_constraint_solverPINVOKE.RoutingModel_AddVariableMaximizedByFinalizer(swigCPtr, IntVar.getCPtr(var));
912 operations_research_constraint_solverPINVOKE.RoutingModel_AddWeightedVariableMinimizedByFinalizer(swigCPtr, IntVar.getCPtr(var), cost);
916 operations_research_constraint_solverPINVOKE.RoutingModel_AddVariableTargetToFinalizer(swigCPtr, IntVar.getCPtr(var), target);
923 public void CloseModelWithParameters(Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters) {
924 operations_research_constraint_solverPINVOKE.RoutingModel_CloseModelWithParameters(swigCPtr, search_parameters.CalculateSize(), ProtoHelper.ProtoToByteArray(search_parameters));
928 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_Solve__SWIG_0(swigCPtr, Assignment.getCPtr(assignment));
934 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_Solve__SWIG_1(swigCPtr);
939 public Assignment SolveWithParameters(Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters) {
940 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_SolveWithParameters(swigCPtr, search_parameters.CalculateSize(), ProtoHelper.ProtoToByteArray(search_parameters));
945 public Assignment SolveFromAssignmentWithParameters(Assignment assignment, Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters) {
946 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_SolveFromAssignmentWithParameters(swigCPtr, Assignment.getCPtr(assignment), search_parameters.CalculateSize(), ProtoHelper.ProtoToByteArray(search_parameters));
951 public 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) {
952 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_SolveFromAssignmentsWithParameters__SWIG_0(swigCPtr, SWIGTYPE_p_std__vectorT_operations_research__Assignment_const_p_t.getCPtr(assignments), search_parameters.CalculateSize(), ProtoHelper.ProtoToByteArray(search_parameters), SWIGTYPE_p_std__vectorT_operations_research__Assignment_const_p_t.getCPtr(solutions));
954 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
958 public Assignment SolveFromAssignmentsWithParameters(SWIGTYPE_p_std__vectorT_operations_research__Assignment_const_p_t assignments, Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters) {
959 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_SolveFromAssignmentsWithParameters__SWIG_1(swigCPtr, SWIGTYPE_p_std__vectorT_operations_research__Assignment_const_p_t.getCPtr(assignments), search_parameters.CalculateSize(), ProtoHelper.ProtoToByteArray(search_parameters));
961 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
965 public void SetAssignmentFromOtherModelAssignment(Assignment target_assignment, RoutingModel source_model, Assignment source_assignment) {
966 operations_research_constraint_solverPINVOKE.RoutingModel_SetAssignmentFromOtherModelAssignment(swigCPtr, Assignment.getCPtr(target_assignment), RoutingModel.getCPtr(source_model), Assignment.getCPtr(source_assignment));
970 long ret = operations_research_constraint_solverPINVOKE.RoutingModel_ComputeLowerBound(swigCPtr);
980 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_ApplyLocks(swigCPtr, locks.Length, locks );
986 bool ret = operations_research_constraint_solverPINVOKE.RoutingModel_ApplyLocksToAllVehicles(swigCPtr,
995 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_PreAssignment(swigCPtr);
1001 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_MutablePreAssignment(swigCPtr);
1007 bool ret = operations_research_constraint_solverPINVOKE.RoutingModel_WriteAssignment(swigCPtr, file_name);
1008 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
1013 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_ReadAssignment(swigCPtr, file_name);
1015 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
1020 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_RestoreAssignment(swigCPtr, Assignment.getCPtr(solution));
1022 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
1027 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_ReadAssignmentFromRoutes(swigCPtr,
1036 public bool RoutesToAssignment( long[][] routes, bool ignore_inactive_indices, bool close_routes, Assignment assignment) {
1037 bool ret = operations_research_constraint_solverPINVOKE.RoutingModel_RoutesToAssignment(swigCPtr,
1046 operations_research_constraint_solverPINVOKE.RoutingModel_AssignmentToRoutes(swigCPtr, Assignment.getCPtr(assignment),
1051 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
1055 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_CompactAssignment(swigCPtr, Assignment.getCPtr(assignment));
1057 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
1062 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_CompactAndCheckAssignment(swigCPtr, Assignment.getCPtr(assignment));
1064 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
1069 operations_research_constraint_solverPINVOKE.RoutingModel_AddToAssignment(swigCPtr, IntVar.getCPtr(var));
1073 operations_research_constraint_solverPINVOKE.RoutingModel_AddIntervalToAssignment(swigCPtr, IntervalVar.getCPtr(interval));
1077 operations_research_constraint_solverPINVOKE.RoutingModel_AddLocalSearchFilter(swigCPtr, LocalSearchFilter.getCPtr(filter));
1101 int ret = operations_research_constraint_solverPINVOKE.RoutingModel_VehicleIndex(swigCPtr, index);
1106 long ret = operations_research_constraint_solverPINVOKE.RoutingModel_Next(swigCPtr, Assignment.getCPtr(assignment), index);
1107 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
1112 bool ret = operations_research_constraint_solverPINVOKE.RoutingModel_IsVehicleUsed(swigCPtr, Assignment.getCPtr(assignment), vehicle);
1113 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
1118 IntVarVector ret = new IntVarVector(operations_research_constraint_solverPINVOKE.RoutingModel_Nexts(swigCPtr), false);
1123 IntVarVector ret = new IntVarVector(operations_research_constraint_solverPINVOKE.RoutingModel_VehicleVars(swigCPtr), false);
1128 IntVarVector ret = new IntVarVector(operations_research_constraint_solverPINVOKE.RoutingModel_ResourceVars(swigCPtr, resource_group), false);
1133 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_NextVar(swigCPtr, index);
1139 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_ActiveVar(swigCPtr, index);
1145 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_ActiveVehicleVar(swigCPtr, vehicle);
1151 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_VehicleRouteConsideredVar(swigCPtr, vehicle);
1157 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_VehicleVar(swigCPtr, index);
1163 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_ResourceVar(swigCPtr, vehicle, resource_group);
1169 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_CostVar(swigCPtr);
1175 long ret = operations_research_constraint_solverPINVOKE.RoutingModel_GetArcCostForVehicle(swigCPtr, from_index, to_index, vehicle);
1180 bool ret = operations_research_constraint_solverPINVOKE.RoutingModel_CostsAreHomogeneousAcrossVehicles(swigCPtr);
1185 long ret = operations_research_constraint_solverPINVOKE.RoutingModel_GetHomogeneousCost(swigCPtr, from_index, to_index);
1190 long ret = operations_research_constraint_solverPINVOKE.RoutingModel_GetArcCostForFirstSolution(swigCPtr, from_index, to_index);
1195 long ret = operations_research_constraint_solverPINVOKE.RoutingModel_GetArcCostForClass(swigCPtr, from_index, to_index, cost_class_index);
1200 return operations_research_constraint_solverPINVOKE.RoutingModel_GetCostClassIndexOfVehicle(swigCPtr, vehicle);
1204 bool ret = operations_research_constraint_solverPINVOKE.RoutingModel_HasVehicleWithCostClassIndex(swigCPtr, cost_class_index);
1209 int ret = operations_research_constraint_solverPINVOKE.RoutingModel_GetCostClassesCount(swigCPtr);
1214 int ret = operations_research_constraint_solverPINVOKE.RoutingModel_GetNonZeroCostClassesCount(swigCPtr);
1219 return operations_research_constraint_solverPINVOKE.RoutingModel_GetVehicleClassIndexOfVehicle(swigCPtr, vehicle);
1223 int ret = operations_research_constraint_solverPINVOKE.RoutingModel_GetVehicleOfClass(swigCPtr, vehicle_class);
1228 int ret = operations_research_constraint_solverPINVOKE.RoutingModel_GetVehicleClassesCount(swigCPtr);
1233 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_GetSameVehicleIndicesOfIndex(swigCPtr, node);
1245 RoutingModel.VehicleTypeContainer ret = new RoutingModel.VehicleTypeContainer(operations_research_constraint_solverPINVOKE.RoutingModel_GetVehicleTypeContainer(swigCPtr), false);
1250 bool ret = operations_research_constraint_solverPINVOKE.RoutingModel_ArcIsMoreConstrainedThanArc(swigCPtr, from, to1, to2);
1254 public string DebugOutputAssignment(Assignment solution_assignment, string dimension_to_print) {
1255 string ret = operations_research_constraint_solverPINVOKE.RoutingModel_DebugOutputAssignment(swigCPtr, Assignment.getCPtr(solution_assignment), dimension_to_print);
1256 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
1261 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_solver(swigCPtr);
1286 public long GetNumberOfDecisionsInFirstSolution(Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters) {
1287 long ret = operations_research_constraint_solverPINVOKE.RoutingModel_GetNumberOfDecisionsInFirstSolution(swigCPtr, search_parameters.CalculateSize(), ProtoHelper.ProtoToByteArray(search_parameters));
1291 public long GetNumberOfRejectsInFirstSolution(Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters) {
1292 long ret = operations_research_constraint_solverPINVOKE.RoutingModel_GetNumberOfRejectsInFirstSolution(swigCPtr, search_parameters.CalculateSize(), ProtoHelper.ProtoToByteArray(search_parameters));
1297 bool ret = operations_research_constraint_solverPINVOKE.RoutingModel_IsMatchingModel(swigCPtr);
1301 public DecisionBuilder MakeGuidedSlackFinalizer(RoutingDimension dimension, LongToLong initializer) {
1302 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_MakeGuidedSlackFinalizer(swigCPtr, RoutingDimension.getCPtr(dimension), StoreLongToLong(initializer) );
1303 DecisionBuilder ret = (cPtr == global::System.IntPtr.Zero) ? null : new DecisionBuilder(cPtr, false);
1308 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RoutingModel_MakeSelfDependentDimensionFinalizer(swigCPtr, RoutingDimension.getCPtr(dimension));
1309 DecisionBuilder ret = (cPtr == global::System.IntPtr.Zero) ? null : new DecisionBuilder(cPtr, false);
1314 public static readonly int ROUTING_NOT_SOLVED = operations_research_constraint_solverPINVOKE.RoutingModel_ROUTING_NOT_SOLVED_get();
1315 public static readonly int ROUTING_SUCCESS = operations_research_constraint_solverPINVOKE.RoutingModel_ROUTING_SUCCESS_get();
1316 public static readonly int ROUTING_FAIL = operations_research_constraint_solverPINVOKE.RoutingModel_ROUTING_FAIL_get();
1317 public static readonly int ROUTING_FAIL_TIMEOUT = operations_research_constraint_solverPINVOKE.RoutingModel_ROUTING_FAIL_TIMEOUT_get();
1318 public static readonly int ROUTING_INVALID = operations_research_constraint_solverPINVOKE.RoutingModel_ROUTING_INVALID_get();
1321 public static readonly int PICKUP_AND_DELIVERY_NO_ORDER = operations_research_constraint_solverPINVOKE.RoutingModel_PICKUP_AND_DELIVERY_NO_ORDER_get();
1322 public static readonly int PICKUP_AND_DELIVERY_LIFO = operations_research_constraint_solverPINVOKE.RoutingModel_PICKUP_AND_DELIVERY_LIFO_get();
1323 public static readonly int PICKUP_AND_DELIVERY_FIFO = operations_research_constraint_solverPINVOKE.RoutingModel_PICKUP_AND_DELIVERY_FIFO_get();
1326 public static readonly int TYPE_ADDED_TO_VEHICLE = operations_research_constraint_solverPINVOKE.RoutingModel_TYPE_ADDED_TO_VEHICLE_get();
1327 public static readonly int ADDED_TYPE_REMOVED_FROM_VEHICLE = operations_research_constraint_solverPINVOKE.RoutingModel_ADDED_TYPE_REMOVED_FROM_VEHICLE_get();
1328 public static readonly int TYPE_ON_VEHICLE_UP_TO_VISIT = operations_research_constraint_solverPINVOKE.RoutingModel_TYPE_ON_VEHICLE_UP_TO_VISIT_get();
1329 public static readonly int TYPE_SIMULTANEOUSLY_ADDED_AND_REMOVED = operations_research_constraint_solverPINVOKE.RoutingModel_TYPE_SIMULTANEOUSLY_ADDED_AND_REMOVED_get();
int Count
Definition: constraint_solver/Int64Vector.cs:101
void CopyTo(long[] array)
Definition: constraint_solver/Int64Vector.cs:113
void CopyTo(int[] array)
Definition: constraint_solver/IntVector.cs:113
int Count
Definition: constraint_solver/IntVector.cs:101
Parameters which have to be set when creating a RoutingModel.
Definition: RoutingParameters.pb.cs:4052
Definition: RoutingModel.cs:250
Domain EndDomain()
Definition: RoutingModel.cs:296
Attributes()
Definition: RoutingModel.cs:284
Domain StartDomain()
Definition: RoutingModel.cs:291
Attributes(Domain start_domain, Domain end_domain)
Definition: RoutingModel.cs:287
void Dispose()
Definition: RoutingModel.cs:267
virtual void Dispose(bool disposing)
Definition: RoutingModel.cs:272
bool swigCMemOwn
Definition: RoutingModel.cs:252
RoutingModel.ResourceGroup.Attributes GetDimensionAttributes(RoutingDimension dimension)
Definition: RoutingModel.cs:337
void Dispose()
Definition: RoutingModel.cs:320
virtual void Dispose(bool disposing)
Definition: RoutingModel.cs:325
bool swigCMemOwn
Definition: RoutingModel.cs:305
int AddResource(RoutingModel.ResourceGroup.Attributes attributes, RoutingDimension dimension)
Definition: RoutingModel.cs:347
SWIGTYPE_p_std__vectorT_operations_research__RoutingModel__ResourceGroup__Resource_t GetResources()
Definition: RoutingModel.cs:374
void Dispose()
Definition: RoutingModel.cs:233
int[] GetVehiclesRequiringAResource()
Definition: RoutingModel.cs:357
virtual void Dispose(bool disposing)
Definition: RoutingModel.cs:238
bool VehicleRequiresAResource(int vehicle)
Definition: RoutingModel.cs:369
RoutingModel.ResourceGroup.Resource GetResource(int resource_index)
Definition: RoutingModel.cs:379
ResourceGroup(RoutingModel model)
Definition: RoutingModel.cs:344
bool swigCMemOwn
Definition: RoutingModel.cs:218
void NotifyVehicleRequiresAResource(int vehicle)
Definition: RoutingModel.cs:353
SWIGTYPE_p_absl__flat_hash_setT_operations_research__RoutingModel__DimensionIndex_t GetAffectedDimensionIndices()
Definition: RoutingModel.cs:384
int Size()
Definition: RoutingModel.cs:389
Definition: RoutingModel.cs:109
int vehicle_class
Definition: RoutingModel.cs:143
void Dispose()
Definition: RoutingModel.cs:126
virtual void Dispose(bool disposing)
Definition: RoutingModel.cs:131
VehicleClassEntry()
Definition: RoutingModel.cs:163
bool swigCMemOwn
Definition: RoutingModel.cs:111
long fixed_cost
Definition: RoutingModel.cs:153
IntVector type_index_of_vehicle
Definition: RoutingModel.cs:178
SWIGTYPE_p_std__vectorT_std__setT_operations_research__RoutingModel__VehicleTypeContainer__VehicleClassEntry_t_t sorted_vehicle_classes_per_type
Definition: RoutingModel.cs:189
SWIGTYPE_p_std__vectorT_std__dequeT_int_t_t vehicles_per_vehicle_class
Definition: RoutingModel.cs:200
int NumTypes()
Definition: RoutingModel.cs:168
void Dispose()
Definition: RoutingModel.cs:92
virtual void Dispose(bool disposing)
Definition: RoutingModel.cs:97
bool swigCMemOwn
Definition: RoutingModel.cs:77
VehicleTypeContainer()
Definition: RoutingModel.cs:211
int Type(int vehicle)
Definition: RoutingModel.cs:173
bool HasMaxCardinalityConstrainedDisjunctions()
Definition: RoutingModel.cs:648
void AddSearchMonitor(SearchMonitor monitor)
Definition: RoutingModel.cs:895
int RegisterTransitMatrix(long[][] values)
Definition: RoutingModel.cs:440
void SetVisitType(long index, int type, int type_policy)
Definition: RoutingModel.cs:696
void SetFixedCostOfVehicle(long cost, int vehicle)
Definition: RoutingModel.cs:837
Assignment CompactAndCheckAssignment(Assignment assignment)
Definition: RoutingModel.cs:1061
IntVarVector VehicleVars()
Definition: RoutingModel.cs:1122
bool HasVehicleWithCostClassIndex(int cost_class_index)
Definition: RoutingModel.cs:1203
string DebugOutputAssignment(Assignment solution_assignment, string dimension_to_print)
Definition: RoutingModel.cs:1254
Assignment SolveFromAssignmentsWithParameters(SWIGTYPE_p_std__vectorT_operations_research__Assignment_const_p_t assignments, Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters)
Definition: RoutingModel.cs:958
int GetVehicleClassesCount()
Definition: RoutingModel.cs:1227
int VehicleIndex(long index)
Definition: RoutingModel.cs:1100
void AddVariableMinimizedByFinalizer(IntVar var)
Definition: RoutingModel.cs:903
int GetMaximumNumberOfActiveVehicles()
Definition: RoutingModel.cs:820
static readonly int ROUTING_FAIL_TIMEOUT
Definition: RoutingModel.cs:1317
IntVar VehicleVar(long index)
Definition: RoutingModel.cs:1156
Assignment RestoreAssignment(Assignment solution)
Definition: RoutingModel.cs:1019
Assignment Solve(Assignment assignment)
Definition: RoutingModel.cs:927
long[] GetAmortizedLinearCostFactorOfVehicles()
Definition: RoutingModel.cs:854
static readonly int TYPE_ADDED_TO_VEHICLE
Definition: RoutingModel.cs:1326
int[] GetDisjunctionIndices(long index)
Definition: RoutingModel.cs:604
int AddDisjunction(long[] indices, long penalty)
Definition: RoutingModel.cs:596
void SetFixedCostOfAllVehicles(long cost)
Definition: RoutingModel.cs:833
void AddLocalSearchOperator(LocalSearchOperator ls_operator)
Definition: RoutingModel.cs:891
void SetPickupAndDeliveryPolicyOfVehicle(int policy, int vehicle)
Definition: RoutingModel.cs:682
RoutingModel(RoutingIndexManager index_manager, Google.OrTools.ConstraintSolver.RoutingModelParameters parameters)
Definition: RoutingModel.cs:421
int GetVehicleClassIndexOfVehicle(long vehicle)
Definition: RoutingModel.cs:1218
long UnperformedPenalty(long var_index)
Definition: RoutingModel.cs:801
IntVar NextVar(long index)
Definition: RoutingModel.cs:1132
RoutingDimension GetMutableDimension(string dimension_name)
Definition: RoutingModel.cs:542
Assignment CompactAssignment(Assignment assignment)
Definition: RoutingModel.cs:1054
void AddRequiredTypeAlternativesWhenRemovingType(int dependent_type, SWIGTYPE_p_absl__flat_hash_setT_int_t required_type_alternatives)
Definition: RoutingModel.cs:771
static readonly int TYPE_SIMULTANEOUSLY_ADDED_AND_REMOVED
Definition: RoutingModel.cs:1329
void AddIntervalToAssignment(IntervalVar interval)
Definition: RoutingModel.cs:1072
int GetStatus()
Definition: RoutingModel.cs:974
long GetNumberOfRejectsInFirstSolution(Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters)
Definition: RoutingModel.cs:1291
bool CheckLimit()
Definition: RoutingModel.cs:1266
int GetNonZeroCostClassesCount()
Definition: RoutingModel.cs:1213
bool IsEnd(long index)
Definition: RoutingModel.cs:1095
int GetPickupAndDeliveryPolicyOfVehicle(int vehicle)
Definition: RoutingModel.cs:686
SWIGTYPE_p_std__vectorT_absl__flat_hash_setT_int_t_t GetRequiredTypeAlternativesWhenAddingType(int type)
Definition: RoutingModel.cs:781
int RegisterPositiveTransitCallback(LongLongToLong callback)
Definition: RoutingModel.cs:454
Assignment SolveFromAssignmentWithParameters(Assignment assignment, Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters)
Definition: RoutingModel.cs:945
void AddLocalSearchFilter(LocalSearchFilter filter)
Definition: RoutingModel.cs:1076
int GetDimensionResourceGroupIndex(RoutingDimension dimension)
Definition: RoutingModel.cs:587
long GetArcCostForVehicle(long from_index, long to_index, long vehicle)
Definition: RoutingModel.cs:1174
int GetCostClassesCount()
Definition: RoutingModel.cs:1208
void SetFirstSolutionEvaluator(LongLongToLong evaluator)
Definition: RoutingModel.cs:887
void SetAllowedVehiclesForIndex(int[] vehicles, long index)
Definition: RoutingModel.cs:661
int RegisterUnaryTransitCallback(LongToLong callback)
Definition: RoutingModel.cs:430
void AddWeightedVariableMinimizedByFinalizer(IntVar var, long cost)
Definition: RoutingModel.cs:911
bool AddDimensionWithVehicleTransits(int[] evaluator_indices, long slack_max, long capacity, bool fix_start_cumul_to_zero, string name)
Definition: RoutingModel.cs:465
bool HasDimension(string dimension_name)
Definition: RoutingModel.cs:530
bool IsStart(long index)
Definition: RoutingModel.cs:1090
static readonly int PICKUP_AND_DELIVERY_LIFO
Definition: RoutingModel.cs:1322
static long kNoPenalty
Definition: RoutingModel.cs:396
long[] GetAmortizedQuadraticCostFactorOfVehicles()
Definition: RoutingModel.cs:866
int GetVisitTypePolicy(long index)
Definition: RoutingModel.cs:729
int[] GetDimensionResourceGroupIndices(RoutingDimension dimension)
Definition: RoutingModel.cs:575
bool ArcIsMoreConstrainedThanArc(long from, long to1, long to2)
Definition: RoutingModel.cs:1249
IntVarVector ResourceVars(int resource_group)
Definition: RoutingModel.cs:1127
long GetArcCostForFirstSolution(long from_index, long to_index)
Definition: RoutingModel.cs:1189
IntBoolPair AddVectorDimension(long[] values, long capacity, bool fix_start_cumul_to_zero, string name)
Definition: RoutingModel.cs:495
bool CostsAreHomogeneousAcrossVehicles()
Definition: RoutingModel.cs:1179
int GetVehicleOfClass(int vehicle_class)
Definition: RoutingModel.cs:1222
bool RoutesToAssignment(long[][] routes, bool ignore_inactive_indices, bool close_routes, Assignment assignment)
Definition: RoutingModel.cs:1036
int AddDisjunction(long[] indices)
Definition: RoutingModel.cs:600
void AddTemporalTypeIncompatibility(int type1, int type2)
Definition: RoutingModel.cs:747
IntVar ApplyLocks(long[] locks)
Definition: RoutingModel.cs:979
bool AddDimensionWithVehicleCapacity(int evaluator_index, long slack_max, long[] vehicle_capacities, bool fix_start_cumul_to_zero, string name)
Definition: RoutingModel.cs:471
long GetHomogeneousCost(long from_index, long to_index)
Definition: RoutingModel.cs:1184
Assignment ReadAssignmentFromRoutes(long[][] routes, bool ignore_inactive_indices)
Definition: RoutingModel.cs:1026
void AddHardTypeIncompatibility(int type1, int type2)
Definition: RoutingModel.cs:743
void AssignmentToRoutes(Assignment assignment, long[][] routes)
Definition: RoutingModel.cs:1045
long GetDisjunctionPenalty(int index)
Definition: RoutingModel.cs:628
void CloseVisitTypes()
Definition: RoutingModel.cs:734
void SetMaximumNumberOfActiveVehicles(int max_active_vehicles)
Definition: RoutingModel.cs:816
static readonly int ROUTING_FAIL
Definition: RoutingModel.cs:1316
IntVar ResourceVar(int vehicle, int resource_group)
Definition: RoutingModel.cs:1162
bool HasHardTypeIncompatibilities()
Definition: RoutingModel.cs:756
SWIGTYPE_p_std__vectorT_std__unique_ptrT_operations_research__GlobalDimensionCumulOptimizer_t_t GetGlobalDimensionCumulMPOptimizers()
Definition: RoutingModel.cs:518
bool HasTemporalTypeIncompatibilities()
Definition: RoutingModel.cs:761
void AddSoftSameVehicleConstraint(long[] indices, long cost)
Definition: RoutingModel.cs:657
virtual void Dispose(bool disposing)
Definition: RoutingModel.cs:38
void IgnoreDisjunctionsAlreadyForcedToZero()
Definition: RoutingModel.cs:653
Assignment SolveWithParameters(Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters)
Definition: RoutingModel.cs:939
bool HasMandatoryDisjunctions()
Definition: RoutingModel.cs:643
bool HasTemporalTypeRequirements()
Definition: RoutingModel.cs:796
bool WriteAssignment(string file_name)
Definition: RoutingModel.cs:1006
void AddVariableTargetToFinalizer(IntVar var, long target)
Definition: RoutingModel.cs:915
RoutingModel(RoutingIndexManager index_manager)
Definition: RoutingModel.cs:417
void SetAmortizedCostFactorsOfAllVehicles(long linear_cost_factor, long quadratic_cost_factor)
Definition: RoutingModel.cs:846
IntVar VehicleRouteConsideredVar(int vehicle)
Definition: RoutingModel.cs:1150
int AddResourceGroup()
Definition: RoutingModel.cs:559
bool IsVehicleAllowedForIndex(int vehicle, long index)
Definition: RoutingModel.cs:665
void SetVehicleUsedWhenEmpty(bool is_used, int vehicle)
Definition: RoutingModel.cs:878
DecisionBuilder MakeGuidedSlackFinalizer(RoutingDimension dimension, LongToLong initializer)
Definition: RoutingModel.cs:1301
int RegisterUnaryTransitVector(long[] values)
Definition: RoutingModel.cs:425
void CloseModelWithParameters(Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters)
Definition: RoutingModel.cs:923
void AddPickupAndDeliverySets(int pickup_disjunction, int delivery_disjunction)
Definition: RoutingModel.cs:674
void AddAtSolutionCallback(VoidToVoid callback)
Definition: RoutingModel.cs:899
DecisionBuilder MakeSelfDependentDimensionFinalizer(RoutingDimension dimension)
Definition: RoutingModel.cs:1307
IntVar ActiveVehicleVar(int vehicle)
Definition: RoutingModel.cs:1144
void SetAmortizedCostFactorsOfVehicle(long linear_cost_factor, long quadratic_cost_factor, int vehicle)
Definition: RoutingModel.cs:850
Assignment PreAssignment()
Definition: RoutingModel.cs:994
bool IsMatchingModel()
Definition: RoutingModel.cs:1296
string GetPrimaryConstrainedDimension()
Definition: RoutingModel.cs:554
long GetNumberOfDecisionsInFirstSolution(Google.OrTools.ConstraintSolver.RoutingSearchParameters search_parameters)
Definition: RoutingModel.cs:1286
IntBoolPair AddConstantDimension(long value, long capacity, bool fix_start_cumul_to_zero, string name)
Definition: RoutingModel.cs:489
SWIGTYPE_p_std__vectorT_absl__flat_hash_setT_int_t_t GetRequiredTypeAlternativesWhenRemovingType(int type)
Definition: RoutingModel.cs:786
int RegisterPositiveUnaryTransitCallback(LongToLong callback)
Definition: RoutingModel.cs:435
bool IsVehicleUsedWhenEmpty(int vehicle)
Definition: RoutingModel.cs:882
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)
Definition: RoutingModel.cs:951
void AddVariableMaximizedByFinalizer(IntVar var)
Definition: RoutingModel.cs:907
int[] GetSameVehicleIndicesOfIndex(int node)
Definition: RoutingModel.cs:1232
int GetCostClassIndexOfVehicle(long vehicle)
Definition: RoutingModel.cs:1199
bool AddDimensionWithVehicleTransitAndCapacity(int[] evaluator_indices, long slack_max, long[] vehicle_capacities, bool fix_start_cumul_to_zero, string name)
Definition: RoutingModel.cs:477
IntVar CostVar()
Definition: RoutingModel.cs:1168
void SetArcCostEvaluatorOfAllVehicles(int evaluator_index)
Definition: RoutingModel.cs:825
long[] GetDisjunctionNodeIndices(int index)
Definition: RoutingModel.cs:616
RoutingDimension GetDimensionOrDie(string dimension_name)
Definition: RoutingModel.cs:536
bool AddDimension(int evaluator_index, long slack_max, long capacity, bool fix_start_cumul_to_zero, string name)
Definition: RoutingModel.cs:459
bool swigCMemOwn
Definition: RoutingModel.cs:18
IntBoolPair AddMatrixDimension(long[][] values, long capacity, bool fix_start_cumul_to_zero, string name)
Definition: RoutingModel.cs:501
void SetPickupAndDeliveryPolicyOfAllVehicles(int policy)
Definition: RoutingModel.cs:678
SWIGTYPE_p_absl__flat_hash_setT_int_t GetTemporalTypeIncompatibilitiesOfType(int type)
Definition: RoutingModel.cs:751
static readonly int ROUTING_SUCCESS
Definition: RoutingModel.cs:1315
Assignment MutablePreAssignment()
Definition: RoutingModel.cs:1000
int GetNumOfSingletonNodes()
Definition: RoutingModel.cs:691
SWIGTYPE_p_operations_research__GlobalDimensionCumulOptimizer GetMutableGlobalCumulMPOptimizer(RoutingDimension dimension)
Definition: RoutingModel.cs:523
IntBoolPair AddConstantDimensionWithSlack(long value, long capacity, long slack_max, bool fix_start_cumul_to_zero, string name)
Definition: RoutingModel.cs:483
static int kNoDisjunction
Definition: RoutingModel.cs:403
Constraint MakePathSpansAndTotalSlacks(RoutingDimension dimension, IntVarVector spans, IntVarVector total_slacks)
Definition: RoutingModel.cs:511
void AddPickupAndDelivery(long pickup, long delivery)
Definition: RoutingModel.cs:670
RoutingModel.VehicleTypeContainer GetVehicleTypeContainer()
Definition: RoutingModel.cs:1244
static int kNoDimension
Definition: RoutingModel.cs:410
bool IsVehicleUsed(Assignment assignment, int vehicle)
Definition: RoutingModel.cs:1111
long UnperformedPenaltyOrValue(long default_value, long var_index)
Definition: RoutingModel.cs:806
bool HasSameVehicleTypeRequirements()
Definition: RoutingModel.cs:791
long ComputeLowerBound()
Definition: RoutingModel.cs:969
static readonly int TYPE_ON_VEHICLE_UP_TO_VISIT
Definition: RoutingModel.cs:1328
int GetNumberOfVisitTypes()
Definition: RoutingModel.cs:738
SWIGTYPE_p_std__vectorT_absl__flat_hash_setT_int_t_t GetSameVehicleRequiredTypeAlternativesOfType(int type)
Definition: RoutingModel.cs:776
void AddRequiredTypeAlternativesWhenAddingType(int dependent_type, SWIGTYPE_p_absl__flat_hash_setT_int_t required_type_alternatives)
Definition: RoutingModel.cs:766
int AddDisjunction(long[] indices, long penalty, long max_cardinality)
Definition: RoutingModel.cs:592
long GetArcCostForClass(long from_index, long to_index, long cost_class_index)
Definition: RoutingModel.cs:1194
long Next(Assignment assignment, long index)
Definition: RoutingModel.cs:1105
static readonly int ROUTING_INVALID
Definition: RoutingModel.cs:1318
static readonly int PICKUP_AND_DELIVERY_NO_ORDER
Definition: RoutingModel.cs:1321
void CloseModel()
Definition: RoutingModel.cs:919
int GetNumberOfDisjunctions()
Definition: RoutingModel.cs:638
void AddToAssignment(IntVar var)
Definition: RoutingModel.cs:1068
static readonly int ADDED_TYPE_REMOVED_FROM_VEHICLE
Definition: RoutingModel.cs:1327
IntVar ActiveVar(long index)
Definition: RoutingModel.cs:1138
RoutingModel.ResourceGroup GetResourceGroup(int rg_index)
Definition: RoutingModel.cs:569
int GetVisitType(long index)
Definition: RoutingModel.cs:700
void SetArcCostEvaluatorOfVehicle(int evaluator_index, int vehicle)
Definition: RoutingModel.cs:829
void SetPrimaryConstrainedDimension(string dimension_name)
Definition: RoutingModel.cs:549
int[] GetPairIndicesOfType(int type)
Definition: RoutingModel.cs:717
void SetAssignmentFromOtherModelAssignment(Assignment target_assignment, RoutingModel source_model, Assignment source_assignment)
Definition: RoutingModel.cs:965
long GetDisjunctionMaxCardinality(int index)
Definition: RoutingModel.cs:633
long Start(int vehicle)
Definition: RoutingModel.cs:1080
static readonly int PICKUP_AND_DELIVERY_FIFO
Definition: RoutingModel.cs:1323
bool ApplyLocksToAllVehicles(long[][] locks, bool close_routes)
Definition: RoutingModel.cs:985
SWIGTYPE_p_std__vectorT_std__unique_ptrT_operations_research__RoutingModel__ResourceGroup_t_t GetResourceGroups()
Definition: RoutingModel.cs:564
Assignment ReadAssignment(string file_name)
Definition: RoutingModel.cs:1012
long End(int vehicle)
Definition: RoutingModel.cs:1085
static readonly int ROUTING_NOT_SOLVED
Definition: RoutingModel.cs:1314
int RegisterTransitCallback(LongLongToLong callback)
Definition: RoutingModel.cs:449
long GetFixedCostOfVehicle(int vehicle)
Definition: RoutingModel.cs:841
IntVarVector Nexts()
Definition: RoutingModel.cs:1117
int[] GetSingleNodesOfType(int type)
Definition: RoutingModel.cs:705
Parameters defining the search used to solve vehicle routing problems.
Definition: RoutingParameters.pb.cs:172
static bool Pending
static global::System.Exception Retrieve()
static int RoutingModel_TYPE_SIMULTANEOUSLY_ADDED_AND_REMOVED_get()
static int RoutingModel_GetNumOfSingletonNodes(global::System.Runtime.InteropServices.HandleRef jarg1)
static int RoutingModel_GetNonZeroCostClassesCount(global::System.Runtime.InteropServices.HandleRef jarg1)
static int RoutingModel_RegisterUnaryTransitCallback(global::System.Runtime.InteropServices.HandleRef jarg1, LongToLong jarg2)
static void RoutingModel_AddLocalSearchFilter(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr RoutingModel_GetRequiredTypeAlternativesWhenAddingType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void RoutingModel_SetFixedCostOfAllVehicles(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void RoutingModel_AddHardTypeIncompatibility(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static bool RoutingModel_RoutesToAssignment(global::System.Runtime.InteropServices.HandleRef jarg1, int len2_1, int[] len2_2, long[] jarg2, bool jarg3, bool jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static global::System.IntPtr RoutingModel_SolveFromAssignmentWithParameters(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int search_parameters_size, byte[] jarg3)
Google.OrTools.ConstraintSolver.operations_research_constraint_solverPINVOKE.RoutingModel_VehicleVar
static global::System.IntPtr RoutingModel_VehicleVar(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static global::System.IntPtr RoutingModel_ResourceGroup_GetResource(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void delete_RoutingModel(global::System.Runtime.InteropServices.HandleRef jarg1)
static int RoutingModel_RegisterUnaryTransitVector(global::System.Runtime.InteropServices.HandleRef jarg1, int length2, long[] jarg2)
static global::System.IntPtr RoutingModel_AddMatrixDimension(global::System.Runtime.InteropServices.HandleRef jarg1, int len2_1, int[] len2_2, long[] jarg2, long jarg3, bool jarg4, string jarg5)
static int RoutingModel_GetPickupAndDeliveryPolicyOfVehicle(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr RoutingModel_ResourceVar(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static global::System.IntPtr RoutingModel_GetAmortizedQuadraticCostFactorOfVehicles(global::System.Runtime.InteropServices.HandleRef jarg1)
Google.OrTools.ConstraintSolver.operations_research_constraint_solverPINVOKE.RoutingModel_CloseModel
static void RoutingModel_CloseModel(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool RoutingModel_AddDimensionWithVehicleTransits(global::System.Runtime.InteropServices.HandleRef jarg1, int length2, int[] jarg2, long jarg3, long jarg4, bool jarg5, string jarg6)
static void RoutingModel_AddToAssignment(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr RoutingModel_GetDimensionResourceGroupIndices(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int RoutingModel_GetCostClassIndexOfVehicle(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void RoutingModel_SetPrimaryConstrainedDimension(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2)
static int RoutingModel_AddDisjunction__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int length2, long[] jarg2, long jarg3)
static void RoutingModel_AddVariableMaximizedByFinalizer(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr RoutingModel_GetSameVehicleIndicesOfIndex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void RoutingModel_AddPickupAndDelivery(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3)
static int RoutingModel_PICKUP_AND_DELIVERY_LIFO_get()
static int RoutingModel_ResourceGroup_Size(global::System.Runtime.InteropServices.HandleRef jarg1)
static int RoutingModel_RegisterTransitMatrix(global::System.Runtime.InteropServices.HandleRef jarg1, int len2_1, int[] len2_2, long[] jarg2)
static void RoutingModel_SetMaximumNumberOfActiveVehicles(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr RoutingModel_ActiveVehicleVar(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool RoutingModel_HasTemporalTypeIncompatibilities(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr RoutingModel_GetPairIndicesOfType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr RoutingModel_CompactAssignment(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static long RoutingModel_Size(global::System.Runtime.InteropServices.HandleRef jarg1)
static int RoutingModel_VehicleIndex(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void RoutingModel_AddAtSolutionCallback(global::System.Runtime.InteropServices.HandleRef jarg1, VoidToVoid jarg2)
static global::System.IntPtr RoutingModel_MakePathSpansAndTotalSlacks(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int RoutingModel_VehicleTypeContainer_Type(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static int RoutingModel_GetVisitTypePolicy(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static long RoutingModel_UnperformedPenaltyOrValue(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3)
static global::System.IntPtr RoutingModel_ResourceGroup_GetResources(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr RoutingModel_PreAssignment(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr RoutingModel_RestoreAssignment(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int RoutingModel_GetVisitType(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static global::System.IntPtr RoutingModel_GetTemporalTypeIncompatibilitiesOfType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void RoutingModel_SetFixedCostOfVehicle(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, int jarg3)
static global::System.IntPtr RoutingModel_GetDisjunctionNodeIndices(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool RoutingModel_HasMaxCardinalityConstrainedDisjunctions(global::System.Runtime.InteropServices.HandleRef jarg1)
static int RoutingModel_AddDisjunction__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, int length2, long[] jarg2)
static long RoutingModel_GetHomogeneousCost(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3)
static long RoutingModel_Start(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static int RoutingModel_VehicleTypeContainer_NumTypes(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr RoutingModel_GetMutableDimension(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2)
static void RoutingModel_AddTemporalTypeIncompatibility(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static void RoutingModel_VehicleTypeContainer_type_index_of_vehicle_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool RoutingModel_IsMatchingModel(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr RoutingModel_CostVar(global::System.Runtime.InteropServices.HandleRef jarg1)
static void RoutingModel_AddLocalSearchOperator(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr RoutingModel_ResourceVars(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static long RoutingModel_GetArcCostForFirstSolution(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3)
static global::System.IntPtr RoutingModel_VehicleTypeContainer_sorted_vehicle_classes_per_type_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void RoutingModel_SetPickupAndDeliveryPolicyOfVehicle(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static int RoutingModel_GetStatus(global::System.Runtime.InteropServices.HandleRef jarg1)
static int RoutingModel_GetCostClassesCount(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool RoutingModel_AddDimensionWithVehicleCapacity(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, long jarg3, int length4, long[] jarg4, bool jarg5, string jarg6)
static global::System.IntPtr RoutingModel_AddVectorDimension(global::System.Runtime.InteropServices.HandleRef jarg1, int length2, long[] jarg2, long jarg3, bool jarg4, string jarg5)
static void RoutingModel_SetArcCostEvaluatorOfVehicle(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static bool RoutingModel_AddDimension(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, long jarg3, long jarg4, bool jarg5, string jarg6)
static void RoutingModel_SetPickupAndDeliveryPolicyOfAllVehicles(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr RoutingModel_Nexts(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool RoutingModel_ArcIsMoreConstrainedThanArc(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3, long jarg4)
static global::System.IntPtr RoutingModel_SolveFromAssignmentsWithParameters__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int search_parameters_size, byte[] jarg3)
static global::System.IntPtr RoutingModel_ReadAssignmentFromRoutes(global::System.Runtime.InteropServices.HandleRef jarg1, int len2_1, int[] len2_2, long[] jarg2, bool jarg3)
static int RoutingModel_PICKUP_AND_DELIVERY_NO_ORDER_get()
static void RoutingModel_CloseVisitTypes(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr RoutingModel_MakeGuidedSlackFinalizer(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, LongToLong jarg3)
static global::System.IntPtr RoutingModel_ResourceGroup_Attributes_StartDomain(global::System.Runtime.InteropServices.HandleRef jarg1)
static int RoutingModel_RegisterTransitCallback(global::System.Runtime.InteropServices.HandleRef jarg1, LongLongToLong jarg2)
Google.OrTools.ConstraintSolver.operations_research_constraint_solverPINVOKE.RoutingModel_ApplyLocks
static global::System.IntPtr RoutingModel_ApplyLocks(global::System.Runtime.InteropServices.HandleRef jarg1, int length2, long[] jarg2)
static void RoutingModel_SetFirstSolutionEvaluator(global::System.Runtime.InteropServices.HandleRef jarg1, LongLongToLong jarg2)
static void RoutingModel_AddRequiredTypeAlternativesWhenAddingType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int RoutingModel_TYPE_ON_VEHICLE_UP_TO_VISIT_get()
static int RoutingModel_ROUTING_SUCCESS_get()
static global::System.IntPtr RoutingModel_MutablePreAssignment(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr RoutingModel_AddConstantDimension(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3, bool jarg4, string jarg5)
static global::System.IntPtr RoutingModel_GetDisjunctionIndices(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void RoutingModel_SetVehicleUsedWhenEmpty(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2, int jarg3)
static long RoutingModel_GetDisjunctionMaxCardinality(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool RoutingModel_IsStart(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static global::System.IntPtr RoutingModel_AddConstantDimensionWithSlack(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3, long jarg4, bool jarg5, string jarg6)
static global::System.IntPtr RoutingModel_NextVar(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void RoutingModel_AddPickupAndDeliverySets(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static global::System.IntPtr RoutingModel_ResourceGroup_GetVehiclesRequiringAResource(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr RoutingModel_solver(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool RoutingModel_HasTemporalTypeRequirements(global::System.Runtime.InteropServices.HandleRef jarg1)
static int RoutingModel_GetMaximumNumberOfActiveVehicles(global::System.Runtime.InteropServices.HandleRef jarg1)
static void RoutingModel_AddRequiredTypeAlternativesWhenRemovingType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr RoutingModel_GetResourceGroup(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void RoutingModel_AddVariableTargetToFinalizer(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
static int RoutingModel_RegisterPositiveTransitCallback(global::System.Runtime.InteropServices.HandleRef jarg1, LongLongToLong jarg2)
static long RoutingModel_GetArcCostForClass(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3, long jarg4)
static long RoutingModel_End(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static long RoutingModel_VehicleTypeContainer_VehicleClassEntry_fixed_cost_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr RoutingModel_VehicleTypeContainer_vehicles_per_vehicle_class_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool RoutingModel_HasMandatoryDisjunctions(global::System.Runtime.InteropServices.HandleRef jarg1)
static void RoutingModel_CloseModelWithParameters(global::System.Runtime.InteropServices.HandleRef jarg1, int search_parameters_size, byte[] jarg2)
static int RoutingModel_ROUTING_INVALID_get()
static void RoutingModel_VehicleTypeContainer_vehicles_per_vehicle_class_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int RoutingModel_GetDimensionResourceGroupIndex(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static string RoutingModel_GetPrimaryConstrainedDimension(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool RoutingModel_ResourceGroup_VehicleRequiresAResource(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static long RoutingModel_GetNumberOfDecisionsInFirstSolution(global::System.Runtime.InteropServices.HandleRef jarg1, int search_parameters_size, byte[] jarg2)
static bool RoutingModel_HasDimension(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2)
static global::System.IntPtr RoutingModel_GetSameVehicleRequiredTypeAlternativesOfType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr RoutingModel_VehicleRouteConsideredVar(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr RoutingModel_VehicleVars(global::System.Runtime.InteropServices.HandleRef jarg1)
static int RoutingModel_GetNumberOfDisjunctions(global::System.Runtime.InteropServices.HandleRef jarg1)
static int RoutingModel_ADDED_TYPE_REMOVED_FROM_VEHICLE_get()
static long RoutingModel_UnperformedPenalty(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static global::System.IntPtr RoutingModel_ReadAssignment(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2)
static global::System.IntPtr RoutingModel_GetDimensionOrDie(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2)
static long RoutingModel_ComputeLowerBound(global::System.Runtime.InteropServices.HandleRef jarg1)
static long RoutingModel_GetNumberOfRejectsInFirstSolution(global::System.Runtime.InteropServices.HandleRef jarg1, int search_parameters_size, byte[] jarg2)
static void RoutingModel_SetVisitType(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, int jarg3, int jarg4)
static void delete_RoutingModel_ResourceGroup(global::System.Runtime.InteropServices.HandleRef jarg1)
static int RoutingModel_TYPE_ADDED_TO_VEHICLE_get()
static global::System.IntPtr RoutingModel_GetAmortizedLinearCostFactorOfVehicles(global::System.Runtime.InteropServices.HandleRef jarg1)
static void RoutingModel_SetAmortizedCostFactorsOfAllVehicles(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3)
static void RoutingModel_AddIntervalToAssignment(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr RoutingModel_CompactAndCheckAssignment(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int RoutingModel_GetVehicleOfClass(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static long RoutingModel_Next(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
static void RoutingModel_SetAssignmentFromOtherModelAssignment(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int RoutingModel_PICKUP_AND_DELIVERY_FIFO_get()
static void delete_RoutingModel_VehicleTypeContainer_VehicleClassEntry(global::System.Runtime.InteropServices.HandleRef jarg1)
static int RoutingModel_GetVehicleClassesCount(global::System.Runtime.InteropServices.HandleRef jarg1)
static void RoutingModel_VehicleTypeContainer_VehicleClassEntry_vehicle_class_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static int RoutingModel_kNoDisjunction_get()
static int RoutingModel_GetNumberOfVisitTypes(global::System.Runtime.InteropServices.HandleRef jarg1)
static void RoutingModel_SetArcCostEvaluatorOfAllVehicles(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static long RoutingModel_GetArcCostForVehicle(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3, long jarg4)
static int RoutingModel_GetVehicleClassIndexOfVehicle(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static long RoutingModel_GetDisjunctionPenalty(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr RoutingModel_ResourceGroup_Attributes_EndDomain(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr RoutingModel_ResourceGroup_GetAffectedDimensionIndices(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool RoutingModel_HasSameVehicleTypeRequirements(global::System.Runtime.InteropServices.HandleRef jarg1)
static long RoutingModel_kNoPenalty_get()
static bool RoutingModel_AddDimensionWithVehicleTransitAndCapacity(global::System.Runtime.InteropServices.HandleRef jarg1, int length2, int[] jarg2, long jarg3, int length4, long[] jarg4, bool jarg5, string jarg6)
static global::System.IntPtr RoutingModel_VehicleTypeContainer_type_index_of_vehicle_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void RoutingModel_SetAmortizedCostFactorsOfVehicle(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3, int jarg4)
static bool RoutingModel_HasHardTypeIncompatibilities(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool RoutingModel_IsEnd(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static global::System.IntPtr RoutingModel_SolveWithParameters(global::System.Runtime.InteropServices.HandleRef jarg1, int search_parameters_size, byte[] jarg2)
static int RoutingModel_ROUTING_FAIL_get()
static long RoutingModel_GetFixedCostOfVehicle(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void RoutingModel_ResourceGroup_NotifyVehicleRequiresAResource(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool RoutingModel_CostsAreHomogeneousAcrossVehicles(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr RoutingModel_ResourceGroup_Resource_GetDimensionAttributes(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr RoutingModel_GetVehicleTypeContainer(global::System.Runtime.InteropServices.HandleRef jarg1)
static int RoutingModel_Nodes(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool RoutingModel_IsVehicleUsedWhenEmpty(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static int RoutingModel_ROUTING_FAIL_TIMEOUT_get()
static void RoutingModel_AddVariableMinimizedByFinalizer(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr RoutingModel_Solve__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static string RoutingModel_DebugOutputAssignment(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3)
static global::System.IntPtr RoutingModel_GetResourceGroups(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool RoutingModel_IsVehicleAllowedForIndex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, long jarg3)
Google.OrTools.ConstraintSolver.operations_research_constraint_solverPINVOKE.RoutingModel_CheckLimit
static bool RoutingModel_CheckLimit(global::System.Runtime.InteropServices.HandleRef jarg1)
static int RoutingModel_VehicleTypeContainer_VehicleClassEntry_vehicle_class_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_RoutingModel_ResourceGroup_Resource(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr RoutingModel_SolveFromAssignmentsWithParameters__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int search_parameters_size, byte[] jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void delete_RoutingModel_ResourceGroup_Attributes(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr RoutingModel_GetMutableGlobalCumulMPOptimizer(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void RoutingModel_AssignmentToRoutes(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int len3_1, int[] len3_2, long[] jarg3)
static int RoutingModel_Vehicles(global::System.Runtime.InteropServices.HandleRef jarg1)
static int RoutingModel_AddDisjunction__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int length2, long[] jarg2, long jarg3, long jarg4)
static void RoutingModel_AddSoftSameVehicleConstraint(global::System.Runtime.InteropServices.HandleRef jarg1, int length2, long[] jarg2, long jarg3)
static int RoutingModel_ROUTING_NOT_SOLVED_get()
static global::System.IntPtr RoutingModel_GetSingleNodesOfType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool RoutingModel_IsVehicleUsed(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3)
static void RoutingModel_IgnoreDisjunctionsAlreadyForcedToZero(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr RoutingModel_Solve__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static int RoutingModel_RegisterPositiveUnaryTransitCallback(global::System.Runtime.InteropServices.HandleRef jarg1, LongToLong jarg2)
static void RoutingModel_SetAllowedVehiclesForIndex(global::System.Runtime.InteropServices.HandleRef jarg1, int length2, int[] jarg2, long jarg3)
static void RoutingModel_AddWeightedVariableMinimizedByFinalizer(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
static global::System.IntPtr RoutingModel_MakeSelfDependentDimensionFinalizer(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool RoutingModel_WriteAssignment(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2)
static void delete_RoutingModel_VehicleTypeContainer(global::System.Runtime.InteropServices.HandleRef jarg1)
static long RoutingModel_GetDepot(global::System.Runtime.InteropServices.HandleRef jarg1)
static void RoutingModel_VehicleTypeContainer_sorted_vehicle_classes_per_type_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int RoutingModel_kNoDimension_get()
static int RoutingModel_ResourceGroup_AddResource(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool RoutingModel_ApplyLocksToAllVehicles(global::System.Runtime.InteropServices.HandleRef jarg1, int len2_1, int[] len2_2, long[] jarg2, bool jarg3)
static bool RoutingModel_HasVehicleWithCostClassIndex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr RoutingModel_ActiveVar(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void RoutingModel_AddSearchMonitor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void RoutingModel_VehicleTypeContainer_VehicleClassEntry_fixed_cost_set(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static global::System.IntPtr RoutingModel_GetRequiredTypeAlternativesWhenRemovingType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static int RoutingModel_AddResourceGroup(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr RoutingModel_GetGlobalDimensionCumulMPOptimizers(global::System.Runtime.InteropServices.HandleRef jarg1)
Definition: ProtoHelper.cs:21
static byte[] ProtoToByteArray(IMessage message)
Definition: ProtoHelper.cs:22
delegate long LongLongToLong(long t, long u)
delegate long LongToLong(long t)
delegate void VoidToVoid()
Definition: IntArrayHelper.cs:15
Definition: IntArrayHelper.cs:15