grbgetdblattrlist.


grbgetdblattrlist.

grbgetdblattrlist. grbmodel. *模型,
Const Char. * attrname,
Len,
* IND,
双倍的 *值)

查询双值数组属性的值。

返回值:

非零返回值表示查询属性时发生问题。参考错误代码表格有可能返回值列表。有关错误的详细信息可以通过呼叫获得grbgeterramsg.

论点:

模型:加载的优化模型,通常由例程创建grbnewmodel.或者GreadModel.

attrname.:双值数组属性的名称。列出和描述的可用属性属性本文件的一部分。

Len.:要检索的属性元素数。

Ind.:所需属性元素的索引。

价值:应该返回所请求的属性元素的位置的指针。请注意,结果数组必须只要请求的索引列表。

示例用法:

int所需[] = {0,2,4,6};双X [4];错误= grbgetdblattrlist(模型,“x”,4,期望,cbasis);