public static enum MPSolver.ResultStatus extends java.lang.Enum<MPSolver.ResultStatus>
Enum Constant and Description |
---|
ABNORMAL
abnormal, i.e., error of some kind.
|
FEASIBLE
feasible, or stopped by limit.
|
INFEASIBLE
proven infeasible.
|
MODEL_INVALID
the model is trivially invalid (NaN coefficients, etc).
|
NOT_SOLVED
not been solved yet.
|
OPTIMAL
optimal.
|
UNBOUNDED
proven unbounded.
|
Modifier and Type | Method and Description |
---|---|
static MPSolver.ResultStatus |
swigToEnum(int swigValue) |
int |
swigValue() |
static MPSolver.ResultStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MPSolver.ResultStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MPSolver.ResultStatus OPTIMAL
public static final MPSolver.ResultStatus FEASIBLE
public static final MPSolver.ResultStatus INFEASIBLE
public static final MPSolver.ResultStatus UNBOUNDED
public static final MPSolver.ResultStatus ABNORMAL
public static final MPSolver.ResultStatus MODEL_INVALID
public static final MPSolver.ResultStatus NOT_SOLVED
public static MPSolver.ResultStatus[] values()
for (MPSolver.ResultStatus c : MPSolver.ResultStatus.values()) System.out.println(c);
public static MPSolver.ResultStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int swigValue()
public static MPSolver.ResultStatus swigToEnum(int swigValue)
Copyright © 2025. All rights reserved.