Enum RoutingSearchStatus.Value

java.lang.Object
java.lang.Enum<RoutingSearchStatus.Value>
com.google.ortools.constraintsolver.RoutingSearchStatus.Value
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<RoutingSearchStatus.Value>, java.lang.constant.Constable
Enclosing class:
RoutingSearchStatus

public static enum RoutingSearchStatus.Value extends Enum<RoutingSearchStatus.Value> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum operations_research.RoutingSearchStatus.Value
  • Enum Constant Details

    • ROUTING_NOT_SOLVED

      public static final RoutingSearchStatus.Value ROUTING_NOT_SOLVED
       Problem not solved yet (before calling RoutingModel::Solve()).
       
      ROUTING_NOT_SOLVED = 0;
    • ROUTING_SUCCESS

      public static final RoutingSearchStatus.Value ROUTING_SUCCESS
       Problem solved successfully after calling RoutingModel::Solve().
       
      ROUTING_SUCCESS = 1;
    • ROUTING_PARTIAL_SUCCESS_LOCAL_OPTIMUM_NOT_REACHED

      public static final RoutingSearchStatus.Value ROUTING_PARTIAL_SUCCESS_LOCAL_OPTIMUM_NOT_REACHED
       Problem solved successfully after calling RoutingModel::Solve(), except
       that a local optimum has not been reached. Leaving more time would allow
       improving the solution.
       
      ROUTING_PARTIAL_SUCCESS_LOCAL_OPTIMUM_NOT_REACHED = 2;
    • ROUTING_FAIL

      public static final RoutingSearchStatus.Value ROUTING_FAIL
       No solution found to the problem after calling RoutingModel::Solve().
       
      ROUTING_FAIL = 3;
    • ROUTING_FAIL_TIMEOUT

      public static final RoutingSearchStatus.Value ROUTING_FAIL_TIMEOUT
       Time limit reached before finding a solution with RoutingModel::Solve().
       
      ROUTING_FAIL_TIMEOUT = 4;
    • ROUTING_INVALID

      public static final RoutingSearchStatus.Value ROUTING_INVALID
       Model, model parameters or flags are not valid.
       
      ROUTING_INVALID = 5;
    • ROUTING_INFEASIBLE

      public static final RoutingSearchStatus.Value ROUTING_INFEASIBLE
       Problem proven to be infeasible.
       
      ROUTING_INFEASIBLE = 6;
    • ROUTING_OPTIMAL

      public static final RoutingSearchStatus.Value ROUTING_OPTIMAL
       Problem has been solved to optimality.
       
      ROUTING_OPTIMAL = 7;
    • UNRECOGNIZED

      public static final RoutingSearchStatus.Value UNRECOGNIZED
  • Field Details

    • ROUTING_NOT_SOLVED_VALUE

      public static final int ROUTING_NOT_SOLVED_VALUE
       Problem not solved yet (before calling RoutingModel::Solve()).
       
      ROUTING_NOT_SOLVED = 0;
      See Also:
    • ROUTING_SUCCESS_VALUE

      public static final int ROUTING_SUCCESS_VALUE
       Problem solved successfully after calling RoutingModel::Solve().
       
      ROUTING_SUCCESS = 1;
      See Also:
    • ROUTING_PARTIAL_SUCCESS_LOCAL_OPTIMUM_NOT_REACHED_VALUE

      public static final int ROUTING_PARTIAL_SUCCESS_LOCAL_OPTIMUM_NOT_REACHED_VALUE
       Problem solved successfully after calling RoutingModel::Solve(), except
       that a local optimum has not been reached. Leaving more time would allow
       improving the solution.
       
      ROUTING_PARTIAL_SUCCESS_LOCAL_OPTIMUM_NOT_REACHED = 2;
      See Also:
    • ROUTING_FAIL_VALUE

      public static final int ROUTING_FAIL_VALUE
       No solution found to the problem after calling RoutingModel::Solve().
       
      ROUTING_FAIL = 3;
      See Also:
    • ROUTING_FAIL_TIMEOUT_VALUE

      public static final int ROUTING_FAIL_TIMEOUT_VALUE
       Time limit reached before finding a solution with RoutingModel::Solve().
       
      ROUTING_FAIL_TIMEOUT = 4;
      See Also:
    • ROUTING_INVALID_VALUE

      public static final int ROUTING_INVALID_VALUE
       Model, model parameters or flags are not valid.
       
      ROUTING_INVALID = 5;
      See Also:
    • ROUTING_INFEASIBLE_VALUE

      public static final int ROUTING_INFEASIBLE_VALUE
       Problem proven to be infeasible.
       
      ROUTING_INFEASIBLE = 6;
      See Also:
    • ROUTING_OPTIMAL_VALUE

      public static final int ROUTING_OPTIMAL_VALUE
       Problem has been solved to optimality.
       
      ROUTING_OPTIMAL = 7;
      See Also:
  • Method Details

    • values

      public static RoutingSearchStatus.Value[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static RoutingSearchStatus.Value valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static RoutingSearchStatus.Value valueOf(int value)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static RoutingSearchStatus.Value forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<RoutingSearchStatus.Value> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static RoutingSearchStatus.Value valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null