GRBGenConstr::设置()
GRBGenConstr::设置()
设置通用约束属性的值。
无效 | 集( | GRB_DoubleAttr | attr, |
双 | newvalue) |
-
设置双值属性的值。
参数:
attr:被修改的属性。
newvalue:想要的属性新值。
无效 | 集( | GRB_IntAttr | attr, |
int | newvalue) |
-
设置int值属性的值。
参数:
attr:被修改的属性。
newvalue:想要的属性新值。
无效 | 集( | GRB_StringAttr | attr, |
常量字符串 | newvalue) |
-
设置字符串值属性的值。
参数:
attr:被修改的属性。
newvalue:想要的属性新值。