Enum VariableType
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
변수유형
엔진에서 생성한 변수 유형입니다.
enum을 호출하려면 상위 클래스, 이름, 속성을 호출합니다. 예를 들면
LinearOptimizationService.VariableType.INTEGER
입니다.
속성
속성 | 유형 | 설명 |
INTEGER | Enum | 정수 값만 사용할 수 있는 변수 유형입니다. |
CONTINUOUS | Enum | 모든 실수를 사용할 수 있는 변수 유형입니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003e\u003ccode\u003eVariableType\u003c/code\u003e determines the kind of variables used in the Linear Optimization service.\u003c/p\u003e\n"],["\u003cp\u003eTo specify a variable type, use the format: \u003ccode\u003eLinearOptimizationService.VariableType.{property}\u003c/code\u003e, for example, \u003ccode\u003eLinearOptimizationService.VariableType.INTEGER\u003c/code\u003e for integer variables.\u003c/p\u003e\n"],["\u003cp\u003eTwo variable types are available: \u003ccode\u003eINTEGER\u003c/code\u003e for whole numbers and \u003ccode\u003eCONTINUOUS\u003c/code\u003e for any real number.\u003c/p\u003e\n"]]],["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"],null,["# Enum VariableType\n\nVariableType\n\nType of variables created by the engine.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nLinearOptimizationService.VariableType.INTEGER`. \n\n### Properties\n\n| Property | Type | Description |\n|--------------|--------|-----------------------------------------------------|\n| `INTEGER` | `Enum` | Type of variable that can only take integer values. |\n| `CONTINUOUS` | `Enum` | Type of variable that can take any real value. |"]]