XPRSenumerations.VariableSelection
- java.lang.Object
-
- java.lang.Number
-
- com.dashoptimization.XPRSenumerations.EnumerationEntry
-
- com.dashoptimization.XPRSenumerations.VariableSelection
-
- All Implemented Interfaces:
-
java.io.Serializable
,java.lang.Comparable<XPRSenumerations.VariableSelection>
- Enclosing interface:
- XPRSenumerations
public static final class XPRSenumerations.VariableSelection extends XPRSenumerations.EnumerationEntry implements java.lang.Comparable<XPRSenumerations.VariableSelection>
An enumeration of 'VARSELECTION'. All instances of this enumeration will be drawn from the constant objects defined in this class.- See Also:
- Serialized Form
-
-
Field Summary
Modifier and Type Field Description static XPRSenumerations.VariableSelection
AUTOMATIC
static XPRSenumerations.VariableSelection
DOWN_PSEUDO_COST
static XPRSenumerations.VariableSelection
MAX_UPDOWN_PSEUDO_COSTS
static XPRSenumerations.VariableSelection
MAX_UPDOWN_PSEUDO_COSTS_PLUS_TWICE_MIN
static XPRSenumerations.VariableSelection
MIN_UPDOWN_PSEUDO_COSTS
static XPRSenumerations.VariableSelection
SUM_UPDOWN_PSEUDO_COSTS
static XPRSenumerations.VariableSelection
UP_PSEUDO_COST
-
Method Summary
Modifier and Type Method Description int
compareTo(XPRSenumerations.VariableSelection other)
static XPRSenumerations.VariableSelection
fromValue(int val)
Get enumeration entry from numeric value,static XPRSenumerations.VariableSelection[]
fromValues(int[] vals)
Get enumeration entries from numeric values.static int[]
getValues(XPRSenumerations.VariableSelection[] entries)
Get numeric values from enumeration entries-
Methods inherited from class com.dashoptimization.XPRSenumerations.EnumerationEntry
byteValue, doubleValue, equals, floatValue, getName, getValue, intValue, longValue, shortValue, toString
-
-
-
-
Field Detail
-
AUTOMATIC
public static final XPRSenumerations.VariableSelection AUTOMATIC
-
MIN_UPDOWN_PSEUDO_COSTS
public static final XPRSenumerations.VariableSelection MIN_UPDOWN_PSEUDO_COSTS
-
SUM_UPDOWN_PSEUDO_COSTS
public static final XPRSenumerations.VariableSelection SUM_UPDOWN_PSEUDO_COSTS
-
MAX_UPDOWN_PSEUDO_COSTS_PLUS_TWICE_MIN
public static final XPRSenumerations.VariableSelection MAX_UPDOWN_PSEUDO_COSTS_PLUS_TWICE_MIN
-
MAX_UPDOWN_PSEUDO_COSTS
public static final XPRSenumerations.VariableSelection MAX_UPDOWN_PSEUDO_COSTS
-
DOWN_PSEUDO_COST
public static final XPRSenumerations.VariableSelection DOWN_PSEUDO_COST
-
UP_PSEUDO_COST
public static final XPRSenumerations.VariableSelection UP_PSEUDO_COST
-
-
Method Detail
-
fromValue
public static XPRSenumerations.VariableSelection fromValue(int val)
Get enumeration entry from numeric value,- Parameters:
-
val
- The value to map. - Returns:
- The enumeration entry for <code>val</code>.
-
fromValues
public static XPRSenumerations.VariableSelection[] fromValues(int[] vals)
Get enumeration entries from numeric values.- Parameters:
-
vals
- Values to map. - Returns:
- Enumeration entries for <code>vals</code>.
-
getValues
public static int[] getValues(XPRSenumerations.VariableSelection[] entries)
Get numeric values from enumeration entries- Parameters:
-
entries
- The entries to map to integer values. - Returns:
-
The integer values that correspond to
entries
.
-
compareTo
public int compareTo(XPRSenumerations.VariableSelection other)
- Specified by:
-
compareTo
in interfacejava.lang.Comparable<XPRSenumerations.VariableSelection>
-
-
© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.