【ilcplex】IloEnv

2 篇文章 0 订阅

【参考】http://www.ibm.com/support/knowledgecenter/en/SSSA5P_12.6.3/ilog.odms.cpo.help/refcppcpoptimizer/html/classes/IloEnv.html

The class of environments for models or algorithms in Concert Technology.
Concert Technology中模型或算法的环境类。

An instance of this class is an environment, managing memory and identifiers for modeling objects. Every Concert Technology object, such as an extractable object, a model, or an algorithm, must belong to an environment. In C++ terms, when you construct a model (an instance of IloModel) or an algorithm (an instance of IloCplex, IloCP, or IloSolver, for example), then you must pass one instance of IloEnv as an argument of that constructor.
这个类的一个实例是一个环境,管理用于建模对象的内存和标识符。 每个Concert Technology对象(例如可提取对象,模型或算法)都必须属于环境。 在C ++术语中,当您构造模型(IloModel的实例)或算法(例如IloCplex,IloCP或IloSolver的实例)时,您必须传递IloEnv的一个实例作为该构造函数的参数


我理解成,每次都带上环境参数即可

待续...


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值