未知求解器

(类来自 pyomo.opt.base.solvers)

class pyomo.opt.base.solvers.UnknownSolver(*args, **kwds)[source]

基础类:object

__init__(*args, **kwds)[source]

方法

__init__(*args, **kwds)

available([exception_flag])

确定此优化器是否可用。

license_is_valid()

如果求解器存在并且具有有效的许可证(如果适用),则为True

reset()

重置优化器的状态

set_options(istr)

从字符串中设置优化器的选项。

solve(*args, **kwds)

执行优化并返回一个SolverResults对象。

warm_start_capable()

如果求解器可以接受热启动解决方案,则为True。

成员文档

available(exception_flag=True)[source]

确定此优化器是否可用。

license_is_valid()[source]

如果求解器存在并且具有有效的许可证(如果适用),则为True

reset()[source]

重置优化器的状态

set_options(istr)[来源]

从字符串中设置优化器的选项。

solve(*args, **kwds)[source]

执行优化并返回一个SolverResults对象。

warm_start_capable()[source]

如果求解器可以接受热启动解决方案,则为True。