GRBModel: getvar ()


GRBModel: getvar ()

检索模型中所有变量的数组。

GRBVar * getvar( )

    返回值:

    模型中所有变量的数组。注意,这个数组是堆分配的,必须由用户返回给堆。