从调用 LP 矩阵中删除一组列。

命名空间: ILOG.Concert
Assembly: ILOG.CPLEX(在ILOG.CPLEX.dll 中) 版本:22.1.1.0

语法

C#
void RemoveCols(
	int[]indint startint num
)
Visual Basic
 RemoveCols( _
	ind 作为 整数(), _
	start  整数, _
	num 作为 整数_
)

参数

ind
类型: array<系统..::..Int32'>[]()[][]'
包含要删除的列的索引的数组。
开始
Type: 系统..::..Int32
The first index in ind of the columns to be removed.
NUM
Type: 系统..::..Int32
The number of indices in ind of the columns to be removed.

备注

要删除的列的索引在数组'中指定 ind[start],.....、 indstart+num-1]. 没有被移除的列仍保持原来的顺序,但会被分配新的列索引,从 0 到getNcols()-1

另请参见