Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Estado
Estado de la solución. Antes de resolver un problema, el estado será NOT_SOLVED. Luego, tomará cualquiera de los otros valores según si encontró una solución de forma correcta y si la solución es óptima.
Para llamar a una enumeración, debes llamar a su clase superior, nombre y propiedad. Por ejemplo,
LinearOptimizationService.Status.OPTIMAL.
Propiedades
Propiedad
Tipo
Descripción
OPTIMAL
Enum
Estado cuando se encuentra una solución óptima.
FEASIBLE
Enum
Es el estado que se muestra cuando se encuentra una solución factible (no necesariamente óptima).
INFEASIBLE
Enum
Es el estado cuando el modelo actual no es viable (no tiene solución).
UNBOUNDED
Enum
Es el estado cuando el modelo actual no está vinculado.
ABNORMAL
Enum
Es el estado que se muestra cuando no se encuentra una solución por motivos inesperados.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 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"]]