APAR status
Closed as fixed if next.
Error description
Consider example below that gives incorrect value for "f_[m]" in post-processing script. Value of 'hf[m]' as well as obj is correct. range markSel = 0..15; float a[m in markSel] = ...; dvar float+ t_[markSel] in 0.01 .. 0.30; dexpr float f_[m in markSel] = a[m] * piecewise { -1000000 -> 0.01; -306.51 -> 0.3; 1 } (0.1,100) t_[m]; dexpr float obj = sum(m in markSel) f_[m]; minimize obj; constraints {} float hf[m in markSel] = f_[m]; execute { var m; for (m in markSel) { writeln("mark "+f_[m]+" "+hf[m]); } writeln("objective "+cplex.getObjValue()); }
Local fix
Declare dexpr and obj as below: dexpr float f_[m in markSel] = piecewise { -1000000 -> 0.01; -306.51 -> 0.3; 1 } (0.1,100) t_[m]; dexpr float obj = sum(m in markSel) a[m]*f_[m];
Problem summary
This issue has been resolved and fix will be available with CPLEX Optimization Studio 12.5.0.1
Problem conclusion
Temporary fix
Comments
APAR Information
APAR number
RS01145
Reported component name
ILOG CPLEX
Reported component ID
5724Y4800
Reported release
C40
Status
CLOSED FIN
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-10-25
Closed date
2012-12-14
Last modified date
2012-12-14
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Applicable component levels
RC40 PSN
UP
Rate this page:
Average rating
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.