简体   繁体   English

C ++ cplex中的IloNumArray声明

[英]IloNumArray Declaration in C++ cplex

In ILOG Cplex C++, is there a way to set the value of an "IloNumArray" to negative infinity? 在ILOG Cplex C ++中,是否可以将“ IloNumArray”的值设置为负无穷大?

Thanks 谢谢

长度为len的数组,其中-inf为下限,而其他值为上限。

IloRangeArray(env,len,-IloInfinity,ub);

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM