GRBException ()
GRBException ()
异常的构造函数。
GRBException | GRBException( | int | errcode) |
创建一个Gurobi异常。
参数:
errcode:异常的错误代码。
返回值:
一个异常对象。
GRBException | GRBException( | 字符串 | errmsg) |
创建一个Gurobi异常。
参数:
errmsg:异常的错误信息。
返回值:
一个异常对象。
GRBException | GRBException( | 字符串 | errmsg, |
int | errcode) |
-
创建一个Gurobi异常。
参数:
errmsg:异常的错误信息。
errcode:异常的错误代码。
返回值:
一个异常对象。