跳至主内容
框架 无框架

IlcElementNEq

public 'IlcConstraint'IlcElementNEq( 'IlcIntVar'变异, const 'IlcIntArray'矩阵, 'IlcIntVar'索引, const char * '名字=0)
定义文件: ilcp/cpext.h
包含文件: <ilcp/cpextilcp/cpext.h
返回元素约束的不等式形式。

此函数创建并返回一个约束,强制变量 "var不等于数组 "array中的元素 "index


IlcElementNEq

public 'IlcConstraint'IlcElementNEq( 'IlcInt'缬氨酸, const 'IlcIntArray'矩阵, 'IlcIntVar'索引, const char * '名字=0)
定义文件: ilcp/cpext.h
包含文件: <ilcp/cpextilcp/cpext.h
返回元素约束的不等式形式。

此函数创建并返回一个约束,强制值 "val不等于数组 "array中的元素 "index