跳至主内容
框架 无框架

IloLengthOf

public 'IloIntExprArg'IloLengthOf(const 'IloIntervalVar'a, 'IloInt'absVal=0)
定义文件: ilconcert/ilosmodel.h
返回表示区间变量长度的表达式。

This function returns an integer expression that represents the length of interval variable a whenever the interval variable is present. 如果没有区间变量,则返回常数整数值 "absVal(默认值:0)。

有关区间变量表达式的更多信息,请参阅区间变量表达式概念。