Enum Status
상태
솔루션 상태입니다. 문제를 해결하기 전에는 상태가 NOT_SOLVED
입니다. 이후 솔루션을 찾았는지, 솔루션이 최적인지에 따라 다른 값을 취합니다.
enum을 호출하려면 상위 클래스, 이름, 속성을 호출합니다. 예를 들면
LinearOptimizationService.Status.OPTIMAL
입니다.
속성
속성 | 유형 | 설명 |
OPTIMAL | Enum | 최적의 솔루션이 발견된 상태입니다. |
FEASIBLE | Enum | 실행 가능한 (반드시 최적은 아님) 해결 방법을 찾은 경우의 상태입니다. |
INFEASIBLE | Enum | 현재 모델을 실행할 수 없는 상태 (해결 방법이 없음)입니다. |
UNBOUNDED | Enum | 현재 모델이 바인딩되지 않은 상태의 상태입니다. |
ABNORMAL | Enum | 예상치 못한 이유로 해결 방법을 찾을 수 없는 경우의 상태입니다. |
MODEL_INVALID | Enum | 모델이 잘못된 경우의 상태입니다. |
NOT_SOLVED | Enum | LinearOptimizationEngine.solve() 가 아직 호출되지 않은 상태입니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-12-02(UTC)
[null,null,["최종 업데이트: 2024-12-02(UTC)"],[[["The `Status` property indicates the state of a Linear Optimization solution, initially set to `NOT_SOLVED`."],["After attempting to solve the problem, the status changes to reflect if a solution was found and if it is optimal (`OPTIMAL`, `FEASIBLE`, `INFEASIBLE`, `UNBOUNDED`, `ABNORMAL`, `MODEL_INVALID`)."],["Accessing the status enum values is done using the format: `LinearOptimizationService.Status.[property name]`, such as `LinearOptimizationService.Status.OPTIMAL`."]]],["The document outlines the `Status` of a solution within a system, initially `NOT_SOLVED` before any problem-solving attempt. After solving, the status changes to reflect the outcome. Possible statuses include `OPTIMAL` (best solution found), `FEASIBLE` (a solution exists, but may not be the best), `INFEASIBLE` (no solution), `UNBOUNDED` (model is unlimited), `ABNORMAL` (failed for unexpected reasons), and `MODEL_INVALID` (invalid model). Enums are accessed using `ParentClass.Name.Property`, like `LinearOptimizationService.Status.OPTIMAL`.\n"]]