Stato della soluzione. Prima di risolvere un problema, lo stato sarà NOT_SOLVED;
in seguito assumerà uno degli altri valori a seconda che sia stata trovata una soluzione e se la soluzione è ottimale.
Per chiamare un enum, devi chiamare la relativa classe, il nome e la proprietà di base. Ad esempio,
LinearOptimizationService.Status.OPTIMAL.
Proprietà
Proprietà
Tipo
Descrizione
OPTIMAL
Enum
Stato quando è stata trovata una soluzione ottimale.
FEASIBLE
Enum
Stato quando è stata trovata una soluzione praticabile (non necessariamente ottimale).
INFEASIBLE
Enum
Stato quando il modello corrente non è fattibile (non ha soluzione).
UNBOUNDED
Enum
Stato quando il modello corrente non è vincolato.
ABNORMAL
Enum
Stato quando non è stato possibile trovare una soluzione per motivi imprevisti.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 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"]]