Stay organized with collections
Save and categorize content based on your preferences.
Status
Status of the solution. Before solving a problem the status will be NOT_SOLVED;
afterwards it will take any of the other values depending if it successfully found a solution and
if the solution is optimal.
To call an enum, you call its parent class, name, and property. For example,
LinearOptimizationService.Status.OPTIMAL.
Properties
Property
Type
Description
OPTIMAL
Enum
Status when an optimal solution has been found.
FEASIBLE
Enum
Status when a feasible (not necessarily optimal) solution has been found.
INFEASIBLE
Enum
Status when the current model is unfeasible (has no solution).
UNBOUNDED
Enum
Status when the current model is unbound.
ABNORMAL
Enum
Status when it failed to find a solution for unexpected reasons.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-11-01 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`."]]],[]]