A fix is available
APAR status
Closed as fixed if next.
Error description
Whe using decision variables in the ranges of all expressions, such as below dexpr int Exp1[ j in X, t in X] = count( all( x in 0.. Dvar1) Dvar2[ x], t); OPL/CPO may not give correct results. This is because the above usage (Dvar1 is a decicision variable used in a range for an all expression) is not supported and the syntax issue is not properly reported.
Local fix
Reformulate the expression to avoid using decision variables in ranges.
Problem summary
When using decision variables in the ranges of all expressions, such as below dexpr int Exp1[ j in X, t in X] = count( all( x in 0.. Dvar1) Dvar2[ x], t); OPL/CPO may not give correct results. This is because the above usage (Dvar1 is a decicision variable used in a range for an all expression) is not supported and the syntax issue is not properly reported.
Problem conclusion
Temporary fix
Comments
APAR Information
APAR number
RS01515
Reported component name
CPLEX OPTI STUD
Reported component ID
5725A0600
Reported release
C20
Status
CLOSED FIN
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-02-12
Closed date
2014-09-30
Last modified date
2014-09-30
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
-
Fix information
Applicable component levels
RC60 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSSA5P","label":"IBM ILOG CPLEX Optimization Studio"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.2","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
30 September 2014