CPLEX / OPL三维决策变量(CPLEX/OPL three-dimensional decision variable)
是否可以在OPL中使用三维决策变量?
我想对网络图进行优化。 特别是,我需要每个节点对的二维决策变量。 我可以避免使用单个三维决策变量。
Is it possible to use three-dimensional decision variable in OPL?
I want to do optimization on the network graph. In particular, I need two-dimensional decision variable for each pair of nodes. I can avoid that with single three-dimensional decision variable.
最满意答案
当然。
您可以在CPLEX_Studio127 \ opl \ examples \ opl \ models \ NoughtsAndCrosses中看到和示例
三维不确定性和十字架
惠普威廉姆斯数学规划模型构建中的问题17。
> range r=1..3; > dvar boolean cell[r][r][r];of course.
You can see and example in CPLEX_Studio127\opl\examples\opl\models\NoughtsAndCrosses
Three-dimensional Noughts and Crosses
Problem 17 from Model Building in Mathematical Programming by H.P. Williams.
> range r=1..3; > dvar boolean cell[r][r][r];更多推荐
发布评论