LinExpr.getConstant ()

getConstant()

从一个线性检索常数项表达式。

返回值:

常数的表达式。

使用示例:

e = 2 * x + 3打印(e.getConstant ())