Enum VariableType
Variablentyp
Art der von der Engine erstellten Variablen.
Wenn Sie ein Enum aufrufen möchten, rufen Sie die übergeordnete Klasse, den Namen und die Eigenschaft auf. Beispiel:
LinearOptimizationService.VariableType.INTEGER
.
Attribute
Attribut | Typ | Beschreibung |
INTEGER | Enum | Variablentyp, der nur Ganzzahlen annehmen kann. |
CONTINUOUS | Enum | Variablentyp, der jeden reellen Wert annehmen kann. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-12-02 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-12-02 (UTC)."],[[["`VariableType` determines the kind of variables used in the Linear Optimization service."],["To specify a variable type, use the format: `LinearOptimizationService.VariableType.{property}`, for example, `LinearOptimizationService.VariableType.INTEGER` for integer variables."],["Two variable types are available: `INTEGER` for whole numbers and `CONTINUOUS` for any real number."]]],["The `VariableType` defines the nature of variables used within the engine. It can be accessed via `LinearOptimizationService.VariableType`. It offers two properties: `INTEGER`, representing variables limited to integer values, and `CONTINUOUS`, representing variables that can assume any real value. Both `INTEGER` and `CONTINUOUS` are enumerated types.\n"]]