公共静态类IloCplex.Status
扩展java.lang.Object
cplex.getStatus. 该状态包含 "IloCplex优化器目前收集到的关于活动模型可能解决方案的信息。 用户代码通常通过指定完整路径来引用解决方案状态,例如 "IloCplex.Status.Optimal。| 修饰符和类型 | 领域和说明 |
|---|---|
static IloCplex.Status |
BoundedBounded解决方案状态表示 "IloCplex优化器已确定模型不是无约束的。 |
static IloCplex.Status |
ErrorError解决方案状态表明发生了错误。 |
static IloCplex.Status |
FeasibleFeasible解决方案状态表示 "IloCplex优化器找到了可行的解决方案,可以用 "getValue方法进行查询。 |
static IloCplex.Status |
InfeasibleInfeasible解决方案状态表示 "IloCplex优化器认为模型不可行。 |
static IloCplex.Status |
InfeasibleOrUnboundedInfeasibleOrUnbounded解决方案状态表示 "IloCplex优化器认为模型不可行或无约束。 |
static IloCplex.Status |
OptimalOptimal解决方案状态表示 "IloCplex优化器已找到最优解决方案,可使用 "getValue方法查询。 |
static IloCplex.Status |
UnboundedUnbounded解决方案状态表示 "IloCplex优化器已确定模型无约束。 |
static IloCplex.Status |
UnknownUnknown解决方案状态表示优化器没有收集到任何有关活动模型的信息。 |
| 修饰符和类型 | 方法和说明 |
|---|---|
java.lang.String |
toString()将状态转换为人类可读字符串。
|
公共静态最终IloCplex.StatusError
Error解决方案状态表明发生了错误。公共静态最终IloCplex.Status未知
Unknown解决方案状态表示优化器没有收集到任何有关活动模型的信息。 这通常是求解方法被调用之前或模型被操作之后的状态。公共静态最终IloCplex.StatusFeasible
Feasible解决方案状态表示 "IloCplex优化器找到了可行的解决方案,可以用 "getValue方法进行查询。 该方案的最优性和非最优性均未得到证实。public static finalIloCplex.StatusBounded
Bounded解决方案状态表示 "IloCplex优化器已确定模型不是无约束的。 这并不意味着模型是可行的。公共静态最终 'IloCplex.Status最佳值
Optimal解决方案状态表示 "IloCplex优化器已找到最优解决方案,可使用 "getValue方法查询。 事实证明,只有在公差和可实现的数值精度范围内,该解决方案才是最佳的。公共静态最终IloCplex.StatusInfeasible
Infeasible解决方案状态表示 "IloCplex优化器认为模型不可行。public static finalIloCplex.StatusUnbounded
Unbounded解决方案状态表示 "IloCplex优化器已确定模型无约束。 不过,它认为该模式并不可行。 相反,优化器已经证明,对于任何可行的解决方案,都可以构建出一个更好的方案。public static finalIloCplex.Status InfeasibleOrUnbounded
InfeasibleOrUnbounded解决方案状态表示 "IloCplex优化器认为模型不可行或无约束。