Home

New and changed in OPL 5.0 - Lyle School of Engineering

image

Contents

1. Microsoft Visual Studio 2003 The ports based on Visual Studio 2003 have been removed as they are no longer supported by Microsoft Recommended replacements are based on Microsoft Visual Studio 2008 IBM ILOG OPL RELEASE NOTES 33 34 B M ILOG OPL RELEASE NOTES New and changed in OPL 5 5 These release notes highlight improvements and new features in OPL 5 5 Please review these notes before using OPL 5 5 In this section Deprecated Lists software that is deprecated in version 5 5 and will not be supported in the next version of OPL CPLEX ILOG OPL Development Studio 5 5 is based on CPLEX 11 0 and CP Optimizer 1 1 This topic lists new and changed features in CPLEX 11 0 IDE Lists new and changed features in the OPL IDE Language Describes changes to ordered sets and assertstatements Scripting Lists the improvements in OPL scripting oplrun The op1run command is now available from the toolbar in the IDE Interfaces Lists improvements to the interfaces to OPL IBM ILOG OPL RELEASE NOTES 35 36 B M Examples and model library The directory structure of the distributed examples has been reorganized ILOG OPL RELEASE NOTES Deprecated Links to other documentation items Note The release notes for versions earlier than the current one remain accessible from the table of contents However most of the links they provide to the documentation are unclickable textual links not hypertext
2. 43 setLinearCoef method 43 settings files 87 sharing data between models 41 solution pools 38 sorted sets 40 specialized constraints 49 Start window in 5 0 85 table loading 67 terminology 56 toolbars changes in 5 0 85 changes in 5 1 68 tooltips 68 Tune model button 39 tuning process 38 tuple keys 78 tuple maps in Problem Browser 68 tuple sets in Problem Browser 68 union OPL keyword 57 Vista and OPL IDE 58 warm start fine control 80 Windows Server 2003 17 with OPL keyword 78 OPL RELEASE NOTES 91
3. Cannot open database unknown when using DBConnection access in your dat file you need to install the Office 2007 drivers on your machine even if you are using Access 2003 databases You can download these drivers from the Microsoft website Oracle OPL now supports Oracle 10g and Oracle 11g with native drivers The connection strings are respectively DBConnection db oraclel0 lt user gt lt password gt lt DB gt DBConnection db oraclel1 lt user gt lt password gt lt DB gt IBM ILOG OPL RELEASE NOTES 29 oplrun Y You can start the oplrun line command from the Run menu in the standard toolbar of the IDE Run gt External Tools gt Run As gt oplrun 4 There is a new flag locale For information see the document oplrun Command Line Interface 4 The flags di de have been enhanced They now support as filename for output to stdout For example oplrun di p examples opl1 warehouse 4 ops files support the new settings category Run 4 The parameters on the Run page of the settings file are no longer restricted to the OPL IDE They are now also available for oplrun and ODM E S Mathematical programming Error limit 50 Ew H Constraint Programming Language Warning limit 50 ER s Postprocess feasible solutions d ERA Display solution ERA Display relaxations BR Display confli
4. IDE The new and changed features are described in detail in the documentation and are summarized briefly in these Release Notes 4 Getting Started with the OPL IDE explains how to work with files in the IDE and how to create and execute an OPL project The IDE Tutorials illustrate the features of the IDE through examples 4 The IDE Reference Manual describes all the elements of the OPL graphical user interface Redesigned IDE for faster model development New text editor with powerful navigation search and replace 4 File history allowing comparison of versions during model development 4 Flexible side by side file comparison across projects Dynamic help facility the help content dynamically changes as the user types Improved way of managing recent solves and run configurations Remembering the most recent launches for run configurations across projects 4 Fast launch of a run configuration through the contextual menu Team collaboration 4 Integration with source code control systems CVS is pre packaged 4 Enables teams to work jointly on shared models and other project artifacts Performance gains 4 Interaction responsiveness is faster for example huge named constraints or big arrays are no longer slow in getting back the focus of the IDE 4 Performance improvements especially on Linux platforms IBM ILOG OPL RELEASE NOTES 21 22 B M Other changes and migration notes prj files are deprecate
5. Level is available to control the way automatic relaxations are done Variables can be skipped from the list of candidates to be relaxed See Relaxing infeasible models in IDE Tutorials Output window 4 Pressing F1 on a line in the Issues output window now opens the documentation of error messages 4 The Profiler displays the Peak Memory and Local Memory data See Profiling the execution of a model in IDE Tutorials Vista graphical issues Aero only Microsoft Windows Vista Aero does not support XOR drawing to the background window When dragging dockable windows or drag dropping items to the Projects window the background is erased The workaround consists in activating a compatibility flag To activate a compatibility flag 1 In the Windows Explorer right click the OPL IDE executable and select Properties 2 Click the Compatibility tab then check the option Disable desktop composition 58 IBM ILOG OPL RELEASE NOTES notepad Properties f you have problems with this program and it worked correctly on an earlier version of Windows select the compatibility mode that matches that earlier version Compatibility mode E Run this program in compatibility mode for Settings E Run in 256 colors E Run in 640 x 480 screen resolution E Disable visual themes E Run this program as an administrator IBM ILOG OPL RELEASE NOTES 59 Examples and models 60 B M Where to find the files You can f
6. Manual Constraint labels Constraint names are deprecated although still supported and replaced by a more powerful and flexible labeling feature which does not require that you declare the constraint first For example forati E ces s alils See the volsay mod example and Constraint labels in the Language Reference Manual ILOG OPL RELEASE NOTES Logical constraints and expressions As in CPLEX you can now use logical constraints and expressions inside an OPL model solved by CPLEX Example ai coats 1 lal MG ae ads la ds St See the food manufact example and Tutorial Using CPLEX logical constraints in the Language User s Manual Compatibility Range expressions Range expressions must have ground boundaries For example the following model is not allowed any more in OPL 5 0 whereas it was in OPL 4 2 yaa loa oe aliot 0 e 07 aver int ye minimize x subject to 0 lt y lt x In OPL 5 0 you must write Cyan iit ser arin Se dvar int y minimize x subject to 0 lt y y lt xX IBM ILOG OPL RELEASE NOTES 79 ILOG Script Script incrementality Specific methods of ILOG Script extension classes for OPL allow incremental modification of the CPLEX model generated by OPL For example thisOplModel ct1 flour t UB capFlour See the mulprod_change_main example and Modifying the CPLEX matrix incrementally in the Language User s Manual Control of the CPLEX warm
7. all l ye IBM ILOG OPL V6 3 IBM ILOG OPL Release Notes Copyright International Business Machines Corporation 1987 2009 US Government Users Restricted Rights Use duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp Copyright COPYRIGHT NOTICE O Copyright International Business Machines Corporation 1987 2009 US Government Users Restricted Rights Use duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp Trademarks IBM the IBM logo ibm com WebSphere ILOG the ILOG design and CPLEX are trademarks or registered 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 http Awww ibm com legal copytrade shtml Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and or other countries Linux is a registered trademark of Linus Torvalds in the United States other countries or both Microsoft Windows Windows NT and the Windows logo are trademarks of Microsoft Corporation in the United States other countries or both Java and all Java based trademarks and logos are trademarks of Sun Microsystems Inc in the United States other countrie
8. arrays Solving using CPLEX priorities knapsack prj Modify the CPLEX model incrementally mulprod prj Solve a sequence of modified OPL models by changing data cutstock change prj Alternation formulation fixed number of patterns cutstock ext main prj Solve using external call cutstock int main prj Solve full integer problem using column generation cutstock_main prj Solve the full relaxed problem using column cutstock sub prj generation Submodel used in the main scripts Loads data from a database Better database reading to initialize data Loads data from a spreadsheet Using tuples production prj Using named data Piecewise linear cost Generalized piecewise linear model 2 pieces Generalized piecewise linear model 3 pieces Generalized piecewise linear model 4 pieces Configuration1 Using sparsity Using better sparsity Using even better sparsity scalableWarehouse pr3 With scalable data NOTES New and changed in OPL 5 2 These release notes highlight improvements and new features in OPL 5 2 Please review these notes before using OPL 5 2 The main change in OPL 5 2 over OPL 5 1 is the introduction of constraint programming features In this section Support for constraint programming The CP Optimizer engine supports syntax for specialized constraints custom propagators labeled constraints and ODM application generation Deprecated Lists software that is deprecated in 5 2 and will not be supported i
9. de ea dl 68 OPINA A A ee ve AA 70 Miscellane US iii A a aiii 71 IncompatiDIINtleS s 0355 weve ir ia 72 New and changed in OPL 5 0 cccscccsseeeeeeeeeeeeeeseesneeeeeneeseseeeeeeeeeseseaeeenseeeeseaaesaseeeesesesaseneeenes 73 Deprecated Sat Sicuani een nea eet 74 Support tor ILOG OD Messina ds eaten ee een ed ee Ae eas 75 Gha ges to thelanguage ciiia esd cesses oeid ead lea asia shagesbegbl A Gea eee teeta 77 Changes to the modeling language cooccococcnnccnnnccnncccnnnnnonncnnnnnnnnc non n can cc ronca nara rn rara 78 ILOGUScriptes ii AAA AA Ae ee ee 80 OPINA AAA ee 81 Changes to the IDEw ne ciel ee Se e a he a et 83 The Main WiIndOw 084i lak Sete ta itis ded ate ate a Ea a eine a i da 84 Project management and executiON oomocccnnncnnnnncconnncnnnnrecnnnnccn incre nene 87 Ghariges to the documentations iii dete cd eae 88 O A A 89 4 l BM ILOG OPL RELEASE NOTES Release Notes Contains an overview of the main changes in this release and previous releases If you are upgrading from a version of OPL earlier than OPL 6 0 you also need to read the section Migrating from previous versions of OPL in the OPL Migration Guide In this section Meet IBM ILOG OPL Briefly introduces the components of IBM ILOG OPL New and changed in OPL V6 3 This release has mainly concentrated on polishing existing OPL features It does contain some new language features New and changed in OPL 6 2 These release notes highlight improvem
10. links because the structure of the documentation set partly changes from one release to the next JDK 1 4 JDK 1 4 also known as J2SE 1 4 has been deprecated That is this development kit will no longer be supported after ILOG OPL Development Studio 5 5 Instead ILOG urges customers who currently use this deprecated development kit to migrate to a more recent version such as JDK 6 as recommended by Sun Microsystems Visual Studio NET2003 Visual Studio NET2003 has been deprecated That is this compiler version will no longer be supported after ILOG OPL Development Studio 5 5 Instead ILOG urges customers who currently use this deprecated compiler to migrate to a more recent version such as Visual Studio NET2005 API The ILOG Concert setCoef method has been removed Use the setLinearCoef method instead This method throws an exception if the invoking expression contains a nonlinear part The ILOG Script method I100p1Model endAl11 is deprecated See Improved sharing of data between models of these Release Notes IBM ILOG OPL RELEASE NOTES 37 CPLEX 38 B M Solution pool Nonoptimal solutions found during a MIP search are now collected and can be browsed after the search You can find several solutions without having to run the modified search several times You can control what solutions enter the pool by using CPLEX parameters and adding specific filters The feature is also available from flow contro
11. meantime Those links refer to the documentation set actually delivered with the corresponding version of the product not to the documentation set of the current release IBM ILOG OPL RELEASE NOTES 7 New and changed in OPL V6 3 8 B M Language Database Management Performance improvement Language New features The following OPL functions are available to obtain values from constraints in a post processing context dual 4 slack reducedCost They are documented in the Language Quick Reference Language changes 4 The names dual and slack are no longer accepted as identifiers as they are now function names Y OPL now raises errors for undefined external data syntax even when that data is not used by the model Database Management OPL V6 3 uses DB Link V5 3 for the processing of Relational Database Management Systems RDBMS Performance improvement On AIX systems OPL 6 3 is 15 faster than the previous release ILOG OPL RELEASE NOTES New and changed in OPL 6 2 This release has concentrated on polishing existing features and improving stability and usability The debugging feature is more robust and freeze situations during debugging have been fixed Some new features appear in the OPL IDE and the overall quality of the IDE has improved significantly Y OPL IDE Y Language OPL runtime Examples 4 Obsolete in OPL 6 2 OPL IDE The OPL IDE has new icons
12. properties have been replaced by methods ParameterSet getter ParameterSet setter Objective DeleteMode getter DeleteMode setter Algorithm IIS GetParameterSet SetParameterSet GetObjective GetDeleteMode SetDeleteMode GetAlgorithm Get IIS Methods replaced by properties In ILOG OPL Op1Element isExternalData In ILOG OPL Op1Model isInternalData getName getSourceName In ILOG OPL OplmodelDefinition isNull In ILOG OPL Op1RunConfiguration IBM ILOG OPL IsExternalData IsInternalData Name SourceName IsExternalData RELEASE NOTES 27 28 B M setSettings getSettings getcCP In ILOG OPL OplSettings isSkipAssert isSkipWarnNeverUsedElements getResolverPath setResolverPath getTmpDir setTmpDir isKeepTmpFiles getRelaxationLevel setRelaxationLevel LOG OPL RELEASE gt Settings gt Settings gt CP gt IsSkipAssert gt IsSkipWarnNeverUsedElements gt ResolverPath gt ResolverPath gt TmpDi r gt TmpDi r gt IsKeepTmpFiles gt RelaxationLevel gt RelaxationLevel NOTES Databases Microsoft Access For Microsoft Access databases DBConnection access OPL 6 0 supports both Access 2003 and Microsoft Office Access 2007 through the Office 2007 drivers If you obtain an error message Microsoft ODBC Microsoft Access Driver
13. start and basis Specific methods of the 1100p1CplexBasis and IloOplCplexVectors classes enable you to control for what part of the model you want to save or restore the basis or vectors See the warmstart example and Setting an initial solution for the CPLEX engine in the Language User s Manual Control of relaxation and conflicts Specific methods of the TloOp1iRelaxationIterator and IloOplConflictIterator classes enable you to set weights and priorities on constraints to specify which part of the model to consider and how See the conflictIterator example and Setting preferences on the search for conflicts and relaxations in the Language User s Manual Projects and run configurations New classes both in the Interfaces and ILOG Script libraries make it much easier to create instances of IloOp1Model from projects or run configurations See 4 the cutstock_int_main mod example Using run configuration and project instances in the Language User s Manual 4 Using run configuration and projects in the Integration Libraries User s Manual Tuple sets The new scripting methods get and contains are available on IloTupleSet objects Use the method get rather than find to retrieve errors 80 IBM ILOG OPL RELEASE NOTES oplrun You can now use the oplrun command to execute projects directly instead of only models so far See oplrun Command Line Interface IBM ILOG OPL RELEASE NOTES 81 82 B M ILOG OP
14. 87 Create project 87 calls to external functions 67 changes to the language from 4 2 to 5 0 77 from 5 0 to 5 1 67 from 5 1 to 5 2 57 changes global from 4 2 to 5 0 74 from 5 0 to 5 1 63 from 5 1 to 5 2 49 from 5 2 to 5 5 37 Chinese IDE 67 code samples directory structure changed 44 O Copyright IBM Corp 1987 2009 Index compatibility 79 IDE and Windows Vista 58 compatibility constraints in CP 49 compiled model files automatic detection 71 need recompiling in 5 1 72 conflicts control by means of ILOG Script 80 constraint programming supported in 5 2 49 constraints logical 79 names changed to labels 78 supported by the CP engine 49 CP Optimizer trial mode 53 CPLEX callbacks 43 CPLEX deterministic parallel MIP optimization 38 CPLEX dynamic search 38 CPLEX engine trial mode 53 warm start 80 CPLEX tuning tool 38 Create draft project button 87 Create project button 87 data consistency 78 improved sharing between models 41 data files scripting statements in 67 decision expressions arrays of not supported in 5 0 75 arrays of supported in 5 1 67 deprecated in 5 1 64 in 5 2 51 89 90 in 5 5 37 dexpr OPL keyword 75 Disable desktop composition Windows Vista option 58 documentation changes from 4 2 to 5 0 88 end method 41 endAll method 41 ending objects 41 error messages 86 execute ILOG Script block processing order 57 expressions changes in 5 0 78 logical 79 of decis
15. B M ILOG OPL RELEASE NOTES New and changed in OPL 6 0 These release notes highlight improvements and new features in OPL 6 0 Please read these notes before using OPL 6 0 In this section The OPL IDE Summarizes new and changed features in the OPL IDE Solving scheduling problems with constraint programming Describes the OPL support for constraint programming used in both combinatorial and scheduling problems Language Describes changes to the OPL language NET interfaces Describes changes to the NET interfaces for OPL Databases Describes changes to database support in this release oplrun Describes changes to the oplrun command Examples Describes changes to the OPL examples IBM ILOG OPL RELEASE NOTES 19 20 B M Port changes Lists new and deprecated ports for OPL 6 0 ILOG OPL RELEASE NOTES The OPL IDE In OPL Development Studio 6 0 the IDE has been thoroughly redesigned to increase productivity and usability for modeling solving and debugging of optimization models Improvements and changes have been made to project management model editing debugging and many other key aspects of interactivity with OPL The changes are described below in more detail Due to the redesign the projects are stored differently and it is therefore necessary to migrate OPL 5 x projects to OPL 6 0 Instructions for migration are included below New and changed features in the OPL
16. L RELEASE NOTES Changes to the IDE Describes the changes that affect the main window and project management and execution In this section The Main window Describes changes to the menu bar the toolbars and the panes in the Main window Project management and execution Introduces settings files and run configurations IBM ILOG OPL RELEASE NOTES 83 The Main window See The Main Window in Getting Started with the IDE for more information The menu bar The menu bar contains fewer menus File Edit View Execution Window Help IDE menus changes from 4 2 to 5 0 presents what menu and commands have removed added renamed or moved IDE menus changes from 4 2 to 5 0 Generate Compiled Model Generate ODM Application Close Current Editor to File Configure ODM Application Close Current Document Generate External Data File Deploy ODM Application Generate Calculated Data File See File Menu in Getting Started with the IDE Appear now as buttons in the standard toolbar See Generating output files in Getting Started with the IDE Edit Keyboard shortcut for Kill Add Remove Breakpoint Line View Show Hide Outline Show Hide Model Browser to Show Hide Problem Browser Project Menu removed Commands moved to right click contextual menu on a project See Right Click Commands in Getting Started with the IDE Execution Debug Browse Active Model to Browse p n COTAS IS EE Options Menu removed General S
17. a ostream amp printCalculatedData ostream TloOp1lModelSource TloOp1lModelSource IloEnv const char IloBool TloOp1lModelSource IloEnv istream amp const char IloBool Ilo0plModelDefinition Ilo0p1ModelDefinition I1lo0pl1lModelSource IloOplErrorHandler TloOplRunConfiguration setCompiledModel I10Boo1 TloOplSettings setWithDecisionVariableNames ILOG OPL RELEASE NOTES WithDecisionVariableNames TloOplElement isData isCalculatedData IBM ILOG OPL RELEASE NOTES 65 Performance and new ports Performance improvements OPL 5 1 is around 10 faster and uses 10 less memory than OPL 5 0 on our benchmark suite New ports OPL is now available for Microsoft Visual Studio 2005 for both 32 bit and 64 bit versions However the 64 bit version has the following limitations No IDE C and Java interfaces are available but NET interfaces are not Moreover Java interfaces work only with Windows AMD64 Platform J2SE TM Development Kit 5 0 Microsoft Excel supports only 32 bit input and output 66 IBM ILOG OPL RELEASE NOTES Changes to the language External function calls You can now extend scripting blocks in OPL models with external functionality implemented in Java Among many other use cases it makes it possible to combine the use of the CPLEX algorithm with another algorithm written in Java in a more complex optimization process See Tutorial External functions in t
18. act Changes to the IDE Describes the changes that affect the main window and project management and execution Changes to the documentation Describes changes to the structure of the OPL documentation set IBM ILOG OPL RELEASE NOTES 73 Deprecated features 74 B M Constraint names are deprecated in favor of constraint labels See Constraint labels Note The release notes for versions earlier than the current one remain accessible from the table of contents However most of the links they provide to the documentation are unclickable textual links not hypertext links because the structure of the documentation set partly changes from one release to the next ILOG OPL RELEASE NOTES Support for ILOG ODM Models developed in ILOG OPL Development Studio 5 0 can be used directly with ILOG ODM 2 0 to create applications See From Problem Solving to What If Scenarios A Presentation of ILOG Optimization Decision Manager in the Getting Started with the IDE A specific dexpr syntax has been introduced to help you write objectives more efficiently when working with ODM For example Cexpr ante LocakionCost SUN A Mate aldo cationes See the ODM documentation for more information Note that arrays of decision expressions dexpr arrays are not supported in OPL 5 0 They will be added in the next minor release IBM ILOG OPL RELEASE NOTES 75 76 B M ILOG OPL RELEASE NOTES Changes to the language Disc
19. ame folders Run configurations are updated accordingly The Problem Browser The Problem Browser now provides a more user friendly display of tuple sets and one dimensional tuple maps thus giving a better overview of the tuple structure Output tabs The CPLEX Log and CPLEX Statistics output tabs have been renamed to Engine Log and Engine Statistics to become engine independent The Profiler The Profiler now includes more detailed information and has a better look and feel for better usability See Profiling the execution ofa model in the IDE Tutorials and Customization manual Content 4 Extraction of the model details are displayed for each labeled constraint This allows you to find out which constraint consumes more memory or takes more time to be created ILOG OPL RELEASE NOTES 4 CPLEX search the tree search now provides more information on merged time for the different kinds of actions Usability You can now easily highlight significant figures using memory and time thresholds You can also order columns by clicking their headers Bug report packaging A new wizard is available from the Help menu for you to create an archive of your run configuration in a few clicks and send it to ILOG Customer Support for troubleshooting purpose However this facility does not cover database connectivity issues See Packaging a bug report in Getting Started with the IDE IBM ILOG OPL RELEASE NOTES 69 oplrun I
20. and an updated model outline as well as the New Example wizard and Model Completion and Model Templates New method of importing distributed examples When opening the examples distributed with OPL 6 2 users now have the option of opening and working with them in the OPL IDE using the New Example wizard This offers many benefits to the user Always working with a copy not the original Opening examples using the New Example wizard ensures that you are always working with a copy of the distributed example Therefore if you make changes and save them the original example is always available to you in its original form 4 Flexibility of project destination Using the New Example wizard you can specify any folder in your file system as the destination for the project Enhanced project descriptions Using the New Example wizard you see longer more explicit descriptions of each project Enhanced sorting and display options The New Example wizard contains multiple tabs that allow you to view the examples sorted by complexity of the example feature being demonstrated in the example industry represented and mathematical programming technique being used 4 Built in Help By selecting an example and pressing F1 or clicking the Help icon w you can display the documentation for that example in the New Example wizard itself IBM ILOG OPL RELEASE NOTES 9 10 B M New Example Example Project m The objective o
21. are executed at run time Creating projects When you select File gt New gt Project from the menu bar or click the Create project button in the Start window the Create project dialog box only lets you specify the name description and location of the new project and optionally whether to immediately create a settings file You may add data and more settings later from the buttons of the Projects toolbar after you have closed the dialog box by clicking Create project in it See Creating a project in Getting Started with the IDE You can also use the Create draft project button in the Start window as a shortcut to quickly sketch a draft model if it is not time yet for a full fledged project Settings files Settings are not stored in the project files any more but in separate ops files Multiple settings files can exist within a project You can easily add or remove settings files to run configurations See also Getting Started with the IDE especially the Tour of the OPL Graphical User Interface and the IDE Tutorials and Customization manual for more information IBM ILOG OPL RELEASE NOTES 87 Changes to the documentation 88 B M In addition to the new sections and tutorials created to document the changes described in the previous sections the structure of the documentation set has changed as follows 4 The IDE is documented in two separate manuals e Getting Started with the IDE provides a quick start to OPL a
22. cts ERA Collect profiling information ER Engine log File 8 Al Export format Noexport 30 IBM ILOG OPL RELEASE NOTES Examples There are new examples to illustrate the scheduling feature They can be found in the examples directory lt OPL dir gt lexamplestoplisched_ lt oPL dir gt lexamplestoplimodels1sched_ There is also a new example of how to use a CPLEX deterministic model to handle a stochastic problem It can be found in the examples directory lt OPL_dir gt examples opl models YieldStochastic IBM ILOG OPL RELEASE NOTES 31 Port changes For a complete list of machine types and library formats including version numbers of compilers and JDKs available in the current release see the file lt oPL_dir gt mptable html distributed with the product Summary of port changes Port Name New in this release x86 windows vs2008 Microsoft Visual Studio 2008 New ports available x64 windows _vs2008 x86 debian4 0 4 1 Redhat Enterprise Linux 5 0 New ports available x86 64 debian4 0 4 1 Debian 4 0 Suse Linux Enterprise Server 10 0 Deprecated will not be delivered in the next release power32 aix5 2 7 0 Will not be Recommended replacement available in the power64 aix5 2 7 0 next release AIX 5 3 or a higher version No longer in the release x86 64 rhel4 0 3 4 Redhat Enterprise Linux 4 0 Removed No Recommended replacement longer available
23. d and are replaced by oplproject files An OPL project now corresponds to the folder containing that file Refer to the OPL 6 0 Migration Guide for details Conflicts and Relaxations are now displayed in separate output tabs Y The oplrun command is now available from the Run menu Run gt External Tools gt Run As gt oplrun 4 Profiler data is not available after an aborted solve but will be added again in the next release 4 Feasible solutions are displayed in the Solutions tab only if the options Postprocess feasible solutions and Display solution are selected in a settings file under Language gt Run OPL 5 x projects must be migrated to OPL 6 0 The migration can be done via the File menu in the OPL IDE File gt Import gt Migrate OPL 5 x projects The Import wizard provides several options for storing the migrated versions The OPL 6 0 Migration Guide distributed with OPL 6 0 documentation will take you through the detailed steps of migrating your existing 5 x projects 4 The example projects provided with the OPL 6 0 distribution are in the directory lt OPL_dir gt examples opl These examples are accessed via the command File gt Import gt Existing OPL 6 x projects To import for example the warehouse project you would select the root directory warehouse from lt OPL_dir gt examples opl ILOG OPL RELEASE NOTES Solving scheduling problems with constraint programming ILOG OPL Development Studio 6 0 supports constra
24. domVar var multiPhaseValue new Array f selectSmallest f value selectRandomValue var phasel f searchPhase multiPhaseVar multiPhaseValue Note that this is just an example and would not make the carseq example more efficient Sets that are iterated on cannot be modified If you write in a script for a in s you cannot modify s The following code is not accepted any more tuple t OE ESP aa y EAS EDS IS execute A E Sl alioy SH LES IAS and should be rewritten as tuple t ae Sip ae 378 o o OS IS Y execute for var k 0 i lt s size k var i Opl item s k i y i x Tuple sets with multiple indirections with keyword Slicing is not allowed on tupleSet with an indirection of subTuple on another set with indirection The following code contains an example in the last line of what you are no longer allowed to write IBM ILOG OPL RELEASE NOTES 25 26 B M LOG OPL tuple T Sat ae dae Jaye tuple TT a ant Ds tuple TTT UAL eke aioe 199 AS O ss TAS IS O_O DEN S25 walth a i Si Sooo CSS lt lt ie E a 2 2 mosca Do RELEASE NOTES Slicing 00 52 18 not allowed NET interfaces Renaming in NET interfaces All methods with the first character in lowercase have been renamed with the same name and with the first character in uppercase Properties replaced by methods In ILOG CPLEX Cplex the following
25. e IDE is available 4 CPLEX is available but limited to only 500 constraints and 500 variables 4 CP Optimizer is available but the search space size before propagation is restricted to the equivalent of 1000 binary 0 1 variables IBM ILOG OPL RELEASE NOTES 53 Performance 54 B M UNIX deployment ports are 25 faster Windows deployment ports are a little faster depending on the configuration ILOG OPL RELEASE NOTES Localization The IDE is now localized in German French and Spanish Because of better internationalization of OPL some models that work in OPL 5 1 may not work in OPL 5 2 if they are not used with the right locale Make sure to use the right locale IBM ILOG OPL RELEASE NOTES 55 Terminology Partial solutions are now called feasible solutions 56 IBM ILOG OPL RELEASE NOTES Changes to the language Changes to the OPL language Specific syntax to support the CP Optimizer engine Aggregation of the and and or operators for Boolean expressions Aggregation of the union and inter operators for set expressions New functions and keywords all allDifferent allMinDistance allowedAssignments and append count CP CPLEX element forbiddenAssignments inverse lex or pack sgn standardDeviation using Additional syntax for the card function card range Tuple arrays can be populated as internal data Transitivity of key properties changed e The properties
26. ents and new or obsolete features in OPL 6 2 New and changed in OPL 6 1 1 OPL 6 1 1 is a technical release that corrects some known errors New and changed in OPL 6 1 These release notes highlight improvements and new or deprecated features in OPL 6 1 New and changed in OPL 6 0 1 Lists the problems fixed by OPL 6 0 1 which is a technical update to OPL 6 0 New and changed in OPL 6 0 These release notes highlight improvements and new features in OPL 6 0 Please read these notes before using OPL 6 0 O Copyright IBM Corp 1987 2009 5 B M New and changed in OPL 5 5 These release notes highlight improvements and new features in OPL 5 5 Please review these notes before using OPL 5 5 New and changed in OPL 5 2 These release notes highlight improvements and new features in OPL 5 2 Please review these notes before using OPL 5 2 The main change in OPL 5 2 over OPL 5 1 is the introduction of constraint programming features New and changed in OPL 5 1 OPL 5 1 is a minor update to OPL 5 0 In this release you will benefit from more ports improved performance external function calls table loading dexpr arrays scripting in data files better usability in the profiler bug report packaging localization and more New and changed in OPL 5 0 OPL 5 0 is a major update to OPL 4 x It is also built upon ILOG Concert Technology In addition to significant gains of performance OPL 5 0 brings the changes listed in these release not
27. erence Manual Labeled asserts By labeling the constraints used in assert statements you can now customize the way failed assertions are handled By default OPL now gives more detailed feedback on which part of the assertion has failed Finding data errors is now easier See Labeled assert statements in the Language Reference Manual 40 IBM ILOG OPL RELEASE NOTES Scripting The setCoef methods The methods IloConstraint setCoef and IloObjective setCoef have been fixed in ILOG Concert They are now allowed only when the expression inside the range or objective is a simple real linear expression like x y These methods do not work for aggregate sums For aggregate sums you have to use the methods directly on the CPLEX instance cplex setObjCoef dvar coef and cplex setCoef ct dvar coef These instructions directly change the engine representation without going through Concert Ending intermediate elements You can now end the OPL elements you don t need in any scripting context not only in flow control This allows you to reduce overall memory consumption by ending intermediate elements See A few tips in the Language User s Manual for general information on writing scripts Improved sharing of data between models In flow control scripting OPL memory management has been improved so that the end method now frees as much memory as possible just as the method endA11 used to do so far Therefore you can n
28. es ILOG OPL RELEASE NOTES Meet IBM ILOG OPL Thank you for your interest in IBM ILOG OPL a powerful system for rapid development and deployment of optimization applications IBM ILOG OPL or OPL for short consists of B the Optimization Programming Language OPL for developing optimization models an Integrated Development Environment IDE to execute and test optimization models a command line tool oplrun to execute models from the command line Application Programming Interfaces APIs to embed models into standalone applications support for IBM ILOG Optimization Decision Manager ODM efore you start working with OPL we suggest you read The readme file which contains additional information and should be consulted before launching the IDE New and changed in OPL V6 3 in these Release Notes for an overview of how this release improves on previous releases Migrating from previous versions of OPL in the OPL Migration Guide if you are upgrading from an earlier release than OPL 6 0 How to read the OPL documentation for details of prerequisites conventions documentation formats and other general information Note The Release Notes for the versions of OPL other than the current one remain accessible from the table of contents However the links they provide to the documentation are unclickable textual links not hypertext links because the structure of the documentation set has changed in the
29. ettings to Preferences moved to Window menu Project Options command 84 IBM ILOG OPL RELEASE NOTES See IDE Preferencesin IDE Tutorials and Customization manual The toolbars The former standard toolbar has been split and the commands that depend on the selected file type appear in the Document toolbar For quicker interaction the following Browse Run Debug and Generate External Calculated Data File buttons are associated with a small down pointing arrow which you can click to directly select the file to which you want to apply the corresponding action See Toolbars in Getting Started with the IDE The Start window In addition to quick access to recent files the Start window contains shortcuts to the OPL web site to opening and creating projects and to clearing the list of recent files See The Start Window in Getting Started with the IDE The Projects window Has a toolbar with buttons for actions on projects project documents and run configurations See The Projects Window in Getting Started with the IDE The Outline The new Outline window displays an alphabetically sorted tree representation of the model or settings file you select within a project for easier navigation across its structure The model or settings outline is updated dynamically as you make changes When you edit settings in an ops file the Outline shows all the settings that are different from their original value as well as t
30. f this scheduling problem is to minimize the total sum of fight delays y e Related Topics About Example Project Sorted by Complexity Sorted by Feature Sorted by Industry Sorted by Technique Choose an example Press F1 for more information copo type fiter text B Working with the New Advanced Example wizard Call Traffic Optimization Crew scheduling cutstock v Dynamic Help Search results for Example Project OR New Example B Why you should use the New Example wizard Choose copy location C Documents and Settings lt user gt Appication Da Browse B Opening distributed examples in the OPL IDE B Examples B New and changed in OPL GoTo TE mer Al Topics Y Search C Bookmarks amp Index For more information see Opening distributed examples in the OPL IDE in Getting Started with the OPL IDE New Model Completion and Model Templates features provide code assistance in the OPL IDE editor Model Completion is a feature of the OPL IDE editor that allows it to prompt you during the creation of an OPL model and allows you to select OPL and ILOG Script keywords and functions from a context sensitive list and insert them into your model You access this level of code assistance by pressing Ctrl space in the OPL IDE editor Another level of code assistance is available when 1 your model contains tuples and 2 an Outline is present for the model This level of code assistance prompts you w
31. g an inventory matching problem in the Language User s Manual more CP application areas described in Applications of constraint programming in the Language User s Manual IBM ILOG OPL RELEASE NOTES 49 50 B M 4 a presentation of CP constraints in Constraints available in constraint programming in the Language Reference Manual how to use script statements in CP models in Using IBM ILOG Script in constraint programming in the Language User s Manual 4 descriptions of the CP Engine Log and Engine Statistics output window in Understanding solving statistics and progress CP models of IDE Tutorials 4 adescription of the CP settings available from the IDE in Constraint programming options of IDE Reference 4 the descriptions of the new CP code samples and industry models delivered with OPL in OPL examples that use CP Optimizer Constraint Programming and in OPL model library of the Language and Interfaces Manual Y CP related terms in the Glossary ILOG OPL RELEASE NOTES Deprecated Links to other doc items Note The release notes for versions earlier than the current one remain accessible from the table of contents However most of the links they provide to the documentation are unclickable textual links not hypertext links because the structure of the documentation set partly changes from one release to the next NET Framework The recommended version of the NET Framework is 2 0 Version 1 1 is still
32. he lt oOPL_dir gt examples opl cp directory no longer exists The subdirectories it contained for constraint programming examples are now directly under lt OPL_dir gt examples opl For example the path to the car sequencing example is now lt OPL_dir gt examples opl carseq carseq prj instead of lt OPL_dir gt examples opl cp carseq prj 4 To better apply the concept of project that underlies the OPL design files pertaining to similar MP problems have been attached to a single prj file As a consequence some examples that were projects of their own are now run configurations within other existing projects Each run configuration has been named so as to highlight the specific aspect of its model However no model or data files have been removed in the process Code samples projects turned into run configurations summarizes the resulting changes See also the OPL examples that use CPLEX Mathematical Programming in the Samples manual IBM ILOG OPL RELEASE NOTES 45 Code samples projects turned into run configurations This project no It has become this run configuration of this project longer exists 46 B M LOG OPL knapsackp prj mulprod change main prj mulprod_main prj 011D8 pxr o11D82 pr oilSheet prj product prj productn prj sailcopw prj sailcopwgl prj sailcopwg2 prj sailcopwg3 prj transpl prj transp2 prj transp3 prj transp4 prj RELEASE Without dat file Using indices in the
33. he Language User s Manual Arrays of decision expressions After decision expressions dexpr were introduced in OPL 5 0 decision expression arrays are now supported as well See Decision Variables and Expressions in the Language Reference Manual Table loading OPL models can now read columns from any table into an OPL array using DBread statements See Working with external data in the IDE Tutorials and Customization manual Script statements in data files You can now write script functions in a dat file to define custom ways of reading and formatting data The invoke and prepare OPL keywords have been created to support this functionality See Using IBM ILOG Script in data files in the Language User s Manual Localization The OPL IDE is now localized in Japanese and Simplified Chinese See Internationalization IBM ILOG OPL RELEASE NOTES 67 Changes to the IDE 68 B M The changes in the OPL IDE affect The Projects window The Problem Browser 4 4 4 The Profiler 4 Bug report packaging oplrun Miscellaneous See Getting Started with the IDE especially the Tour of the OPL Graphical User Interface and the IDE User s Manual for more information Tooltips 5 In addition to the standard button tooltips click the Help button L to read quick reference information on some elements of the main window The Projects window Usability has been improved you can drag and drop files and ren
34. he new values See The Outline in Getting Started with the IDE The Model Browser This window has been renamed to Problem Browser because it reflects the structure of the problem instantiated in the active model whereas the Outline represents the structure of the selected file in the Editing area Specifically the Model Outline displayed when a mod file is selected reflects the model itself as an expression of a problem in the order of declaration See Understanding the Problem Browser in Getting Started with the IDE IBM ILOG OPL RELEASE NOTES 85 86 B M The Output window Issues tab Errors and messages are displayed dynamically in a more readable manner in the Issues tab as you edit the model From the Issues tab you access more information about each error message CPLEX Statistics Redesigned and more complete See Understanding solving statistics and progress MP models in the IDE Tutorials and Customization manual Conflicts and Relaxations Redesigned and more complete See Relaxing infeasible models in the IDE Tutorials and Customization manual Profiler The profiler now includes information on the CPLEX search The proportions of time spent in the presolve cuts etc are now given ILOG OPL RELEASE NOTES Project management and execution Projects are more powerful and can include several models data sets and settings files You create run configurations to define what model data and settings
35. herit from ILOG Concert Exception So it is no longer possible to catch throw these exceptions as java lang Exception IBM ILOG OPL RELEASE NOTES 43 Examples and model library The structure of the examples delivered with the product distribution has been reorganized 4 All the project model data and settings files for a given example are now located in a single parent directory with the same name For example for the blending code sample file blending dat blending mod and blending prj are included in the blending directory Compare Old directory structure for OPL distributed examples and New directory structure for OPL distributed examples E opLs2 A D ant D bin D data doc 5 examples e O cpp 5 dotnet E O html E D java a O opl Oop O models O include lib blending dat B blending mod B blending prj E conflictIterator mod B conflictIterator prj B convert_example mod B convert_example prj A covering dat B covering mod B covering prj B cutstock dat B cutstock mod B cutstock prj B cutstock_change dat B cutstock_change mod m B IL Old directory structure for OPL distributed examples e 5 oL E Dan E O bin H O data E 5 doc E O examples cpp 3 dotnet 3 html java 3 opl O blending O carseq F B blending dat BP blending mod B blending prj New directory structure for OPL distributed examples 44 IBM ILOG OPL RELEASE NOTES T
36. ight IBM Corp 1987 2009 3 OPI UN usd iti A ote ee eh aa 42 INTO MACOS ci edad ensvact pains Seadsahdes bakeries tas ister ace ctbs deitisie aves aan 43 Examples and model Pra yat a a a E ea a aa E a a a Ea a E eaae a a a Aea aaa Eo Ea E Eae aap aree haape Saaana 44 New and changed in OPL 5 2 cccccseessseeceeeeeeseeeseeeneeeseeeseseneeeneneseseaeeenseeeeseaaesaseeeesesaesaseaeeenes 47 Support for constraint PrograMmMing ceccceeceeeeeeceeeeeeeeeeeeeeaeeeeeeeeaeeeeeeeeaeeseeeseaeeeeaeesaeeeeaeesieeseeeesieeseaeeeneeee 49 Deprecated 324 ctiek alae ive el A ee eee Saeed 51 Licensing trial Versio n ra eee ee ee de de ed edd Le 53 PenormanCe a new alii eee te nee aire AAG Lee ate aa at aul 54 Localization We A A ee Rat ta dl neces 55 A oo h AE T A E E eneqheadtl sean ana desk dechns fidazecansbsaetectdse TETT 56 Ghanges to the language dad 57 Ghanges to the IDE A A A aaa E vied 58 Examples and model Srni is nck tee ian A el ee a A ee 60 Changes to the documentation SCt eccecceeeceeeeeeceeeeeaeeeeeeeeaeeeeeeeeaeeeaeeeaeeseaeseaeeseaeesaeesnaeesieeseeeeeieeseaeeeneeee 62 New and changed in OPL 5 1 ccccseecsseeceeeeeeeeeeeseeeneeeeeeeseseeeeeeeeesesnaeeenseeeeseaaeseseeeeseseesnseeneeees 63 Deprecated feat r Sissy osrk luis ir rad ide tol pease Ane avian thea eine ee ened 64 Performance dnd new Por di a IR 66 Ghanges to the language bar 67 Gha ges to th DES oie te cano dida cbc caes do gies de add lees
37. ind the corresponding files at the following location lt OPL_dir gt examples op1 cp for CP code samples lt OPL_dir gt examples op1 models for CP industry and academic models where lt OPL_dir gt is the OPL installation directory See the Language and Interfaces Samples manual for detailed descriptions Code samples Code samples for the following CP problem or modeling features have been added to the examples opl cp directory Audition scheduling talent prj Car sequencing carseq prj Color matching color prj Column generation vellino pr3 multi model project Configuration config prj Euler problem euler prj Float expressions floatexpr prj Inventory matching steelmill prj Progressive party problem PPP pr3 Quadratic assignment quadassign prj School class scheduling timetabling prj Sports game and team scheduling sports prj Team building teambuilding prj See OPL examples that use CP Optimizer Constraint Programming in the Language and Interfaces Manual for details Industry and academic models All the models distributed in the Model Library directory lt OPL_dir gt examples opl1 models have been rewritten as necessary to follow the recommended modeling practices Namely ILOG OPL RELEASE NOTES 4 decision expressions dexpr keyword for objectives 4 labeling of constraints rather than names or nothing at all 4 array initialization instead of scripting statements whenever possible See OPL mode
38. int programming for both combinatorial and scheduling problems completing the reintroduction of constraint programming that was started in OPL 5 2 and providing the same modeling capabilities for CP models as there is in OPL 3 7 Scheduling support ILOG CP Optimizer 2 0 has been extended with algorithms specialized in solving and optimizing the constraints and costs that are specific to scheduling problems such as to name just a few cumulative constraints that limit the use of a resource precedence constraints between tasks resource state management and associated setup times or earliness and tardiness costs The language of CP Optimizer for ILOG OPL Development Studio has been enriched with a new variable type intervals and constraints that apply to these intervals The associated documentation is Scheduling with IBM ILOG OPL 4 The Scheduling section in the Language Reference Manual The examples can be found in the directories lt OPL_dir gt examples opl sched_ lt OPL_dir gt examples op1 models sched_ Comparison with OPL 3 7 The support of constraint programming in ILOG OPL Development Studio relies on powerful default search algorithms that enable you to use the model and run development process If necessary you can control these search algorithms with parameters or declarative search phases The basic entities of the language for scheduling support are interval variables and functions They invol
39. ion variables 67 external function calls 67 feasible solutions postprocessing 43 function calls external 67 ground boundaries for range expressions 79 Help button 68 IDE changes in 5 0 83 changes in 5 1 68 changes in 5 2 58 changes in 5 5 39 ILOG Scheduler not supported in 5 2 49 ILOG Script changes in 5 5 41 control of relaxation and conflicts 80 control of warm start 80 ending objects 41 in data files 67 incrementality 80 OPL modeling functions available 41 projects and run configurations 80 loOplDataHandler class deprecated constructors 51 lloOplElement class deprecated methods 51 lloOplModel class deprecated methods 51 loOplModelDefinition class deprecated constructor 51 IBM ILOG OPL RELEASE loOplModelSource class deprecated constructors 51 TloOplRunConfiguration class deprecated method 51 lloOplSettings class deprecated methods 51 incompatibilities between 5 1 and earlier 72 input output files path resolution 72 integers not for conditions 57 inter OPL keyword 57 invoke OPL keyword 67 Japanese IDE 67 Java CPLEX callbacks 43 key OPL keyword 78 keys in tuple declarations transitivity of properties 57 keywords deprecated after 5 1 64 invoke 67 key 78 new in 5 1 67 prepare 67 with 78 labeled assertions 40 language changes from 5 0 to 5 1 67 changes from 5 1 to 5 2 57 changes from 5 2 to 5 5 40 changes from 5 5 to 6 0 24 Launch oplrun button 39 42 localization 67 l
40. ith variables and tuple component names from the model Outline and is accessed using a dot syntax That is you access it by typing a single period or dot in the OPL editor Model Templates is a related feature of the OPL IDE editor that allows you to select longer snippets of code along with placeholders for required variables from a context sensitive list and insert them into your model As with Model Completion you access this by pressing Ctrl space in the OPL IDE editor For more information see Model Completion and Model Templates in the IDE Reference Manual New icons To enhance the usability and visibility of the different functions and features a complete new set of icons has been introduced Improved engine support 4 Parallel CPLEX is available for solving optimization problems from within the IDE 4 In the CP Optimizer ILOG OPL RELEASE NOTES e The alternative constraint has been generalized to synchronize more than one alternative interval variable with a master interval variable a feature than can be useful for multi skill problems for instance e Cumulative functions can be constrained by an integral expression or variable allowing resource capacity or minimum level to be an unknown of the problem Changed behavior in the IDE with respect to the solution pool In OPL 6 2 you may observe fewer solutions in the pool than in previous versions of OPL for the same model with the same data That is because OPL ca
41. l library in the Language and Interfaces Manual for details IBM ILOG OPL RELEASE NOTES 61 Changes to the documentation set 62 B M Structure Information on how to find your way through the documentation set is now an entry in the Table of Contents 4 The Quick Start Guide to OPL and the reference information on the IDE GUI which were formerly included in the Getting Started with the IDE now appear as separate entries in the table of contents see Quick Start to OPL and IDE Reference 4 A Tutorials group has been created in the table of contents to give users better access to hands on exercises and industry problems in IDE Getting Started and Tutorials and Language Tutorials Decision variables and decision expressions are now documented in a separate chapter of the Language Reference Manual Decision types 4 The Reference Manual for OPL Extensions to ILOG Script can now be found in the Language group of the table of contents Content The new content mostly concerns Constraint Programming See Support for constraint programming ILOG OPL RELEASE NOTES New and changed in OPL 5 1 OPL 5 1 is a minor update to OPL 5 0 In this release you will benefit from more ports improved performance external function calls table loading dexpr arrays scripting in data files better usability in the profiler bug report packaging localization and more In this section Deprecated features Lists software tha
42. l scripting See Working with the solution pool in IDE Tutorials Tuning tool From one or several run configurations this tool performs some test runs and suggests some parameter combinations that work better than the default ones The tool can be invoked from the IDE or from the oplrun command line See Using the performance tuning tool in IDE Tutorials Deterministic parallel optimizer and dynamic search OPL fully supports CPLEX deterministic parallel and dynamic search ILOG OPL RELEASE NOTES IDE Standard toolbar The standard toolbar now has two new buttons 4 the Launch oplrun button which enables you to start the oplrun command line from the IDE See oplrun in these release notes 4 the Tune model button which enables you to start the tuning process See Tuning tool in these release notes Problem Browser At the top of the Problem Browser a drop down list displays the solutions collected in the solution pool if any in addition to the final solution See Solution pool in these release notes Math programming options More CPLEX parameters are available as OPL settings See Setting MP options IBM ILOG OPL RELEASE NOTES 39 Language Ordered sets OPL now supports ordered sets and sorted sets While default sets keep the construction order of the elements sorted sets use the natural order You can use them when the construction order is not relevant See Sorted and ordered sets in the Language Ref
43. lls CPLEX populate only instead of solve populate Depending on the model the number of solutions generated for the new OPL setting populate can be equal to greater than or smaller than the number of solutions generated for the old OPL setting solve populate To obtain the previous behavior set the CPLEX parameter solution pool intensity to very aggressive which is cplex solnpoolintensity 4 Language Y Messages sent by the type checker have been improved and include user defined names There is a restriction on using dexpr with patterns If you declare a dexpr with patterns and keys O if you declare it with all the pattern components you must use it with all the components e if you declare it with only the keys you must use it with the keys only You cannot combine a declaration of all the patterns and a usage of only the keys OPL runtime The IBM JRE is supported in this release Note that the solution is invalidated if the engine is used for another solve Post processing elements in thisOp1Model may become unavailable Examples Y The OPL cutting stock example cutstock has been improved to make better use of IloOp1DataElements to demonstrate sharing data between models New examples have been added to the standard distribution in lt OoPL_install gt examples opl models O TravelingSalesmanProblem O CallTrafficOptimization O Portfolio to demonstrate portfolio optimization with bender s dec
44. n the next version of OPL Licensing trial version Describes the licensing for the OPL CPLEX Analyst Studio online trial version Performance Describes improved performance on Unix and Windows platforms Localization Describes improvements in the localization and internationalization of OPL Terminology Mentions a change in terminology Changes to the language Lists the changes to the OPL language IBM ILOG OPL RELEASE NOTES 47 48 B M Changes to the IDE Lists the changes to the OPL IDE Examples and models New code samples and industry models have been added to illustrate how to model constraint programming problems with OPL Changes to the documentation set The table of contents reflects a few changes to Structure and Contents ILOG OPL RELEASE NOTES Support for constraint programming Older versions of OPL up to version 3 7 supported constraint programming for solving models In OPL 4 0 however because of a complete rewrite and redesign of the product support for constraint programming was temporarily removed With this release ofILOG OPL Development Studio support for core constraint programming featuring in particular a powerful default search algorithm is being re introduced This new CP Optimizer engine supports logical constraints nonlinear constraints compatibility constraints specialized constraints through keywords such as al1Different count lex pack inverse and more You can wri
45. nstraints on subtuples The CPLEX extraction for in in a forall statement now gives the correct result Arrays contained in a tuple are now correctly initialized The IDE editor is now faster when editing a large file Boolean values are now refused for the size property of dvar intervals The extraction is now correct when a model is modified via a script There is now a correct evaluation of dual and slack when the constraint is not a range with an upper bound and a lower bound but has only a lower bound or an upper bound There is no longer a problem when a complex dexpr in a submodel is evaluated In scripting assigning an expr to an int or a num now raises an error Expressions heightAtStart and heightAtEnd now work when used in aggregations If after generating an ODM application an error is introduced and fixed the error no longer persists The IDE no longer crashes when using an invalid PWL statement in a fora11 loop followed by a named constraint The IDE no longer crashes when slicing on a union of two tuple sets There is no longer a Nul1PointerException when you click on the decision variables in the Problem Browser in a QP model You can now indicate in the IDE preferences a maximum size for a loaded data file CP parameters set through a script no longer cause the IDE to crash There are no longer internal errors and inconsistent results after solving a scheduling model IBM ILOG OPL RELEASE NOTES 17 18
46. of subtuple keys are now taken into account even if they are not declared in the enclosing tuple e The default rule is No key declared implies that all components are keys Integer conditions OPL accepts Boolean expressions in a context of integers However it does not accept integers for conditions Because of a bug OPL accepted conditional assignments with integer conditions al E 0 This has been fixed in OPL 5 2 Now you need to write O 2 as O to get the same result Database connection a new implementation replaces the current ODBC access to Access database by transparently locate the Access mdb file See DBConnection in the Language Quick Reference and Connection to a database in IDE Tutorials Processing order assert and execute statements are now processed in declaration order IBM ILOG OPL RELEASE NOTES 57 Changes to the IDE Issues output window Pressing F1 on a line in the Issues output window now opens the documentation of error messages Problem Browser Enhanced display of the problem structure Outline The Model Outline indicates the number of each element type in the model See The Outline in IDE Reference Settings Editor New settings are available for constraint programming See Constraint programming options in IDE Reference 4 The CPLEX Log file option has been changed to Engine Log file and moved to the OPL Language sections Anew OPL Language setting Relaxation
47. ogical constraints in 5 1 79 supported by the CP engine 49 logical expressions 79 memory management and allocation in flow control script 41 menu bar changes in 5 0 84 changes in 5 1 69 Model Browser changes in 5 0 85 nonlinear constraints in 5 2 49 NOTES ODM as supported by OPL 75 operators and or aggregation 57 inter union aggregation 57 OPL IDE 49 oplrun 49 executing projects 81 in 5 1 70 launching from the IDE 30 42 on AIX platforms 88 or operator 57 ordered sets 40 Outline window 85 Output window changes in 5 0 86 changes in 5 1 68 path resolution in 5 1 72 performance in 5 1 66 in 5 2 54 performance tuning tool 38 ports in 5 1 66 in 5 2 54 postprocessing feasible solutions 43 precedes constraint not supported in 5 2 49 prepare OPL keyword 67 Problem Browser in 5 1 68 processing order for assert and execute statements 57 Profiler output tab content and usability in 5 1 68 projects and ILOG Script 80 creating in the IDE 87 executing 87 from oplrun 81 Projects window changes in 5 0 85 changes in 5 1 68 range expressions ground boundaries 79 relaxations control by means of ILOG Script 80 requires constraint not supported in 5 2 49 IBM run configurations and ILOG Script 80 packaging for Customer Support 69 Scheduler not supported in 5 2 49 scripting changes in 5 5 41 in data files 67 set expressions aggregation of inter union 57 setCoef methods 41
48. omposition IBM ILOG OPL RELEASE NOTES 11 12 B M Obsolete in OPL 6 2 The enda11 methods are no longer supported in OPL 6 2 C The methods IloOp1Model endAll and I100p1RunConfiguration endAl1 were deprecated in a previous version of OPL and have been removed from OPL 6 2 Use Ilo0plModel end or I100p1RunConfiguration end instead Java ILOG Script The methods I1100p1Model endA11 and TloOp1RunConfiguration endAll were deprecated in a previous version of OPL and have been removed from OPL 6 2 Use Ilo0plModel end or Ilo0OplRunConfiguration end instead NET The methods Op1Model EndAl1 and Op1RunConfiguration EndAl1 were deprecated in a previous version of OPL and have been removed from OPL 6 2 Use Op1Model End or OplRunConfiguration End instead ILOG OPL RELEASE NOTES New and changed in OPL 6 1 1 OPL 6 1 1 is a technical release that corrects some known errors The known issues that have been corrected can be found on the ILOG Customer Support site You will need your maintenance reference number to access the site IBM ILOG OPL RELEASE NOTES 13 New and changed in OPL 6 1 14 B M This release has concentrated on polishing existing features and many usability issues and bugs have been fixed Windows 64 bits OPL IDE The OPL IDE is supported on Microsoft Windows 64 bits Note that on 64 bit Windows there is no Microsoft provided ODBC driver
49. ow share data across model instances and control memory consumption efficiently using the method IloOp1Model end As a consequence the method endA11 is now deprecated OPL functions in script statements You can use most OPL modeling functions especially to handle sets within ILOG Script statements if you introduce them with the 0p1 namespace As a result you can carry out more data processing for example accessing functions such as item or ord See OPL functions in the Language Quick Reference IBM ILOG OPL RELEASE NOTES 41 oplrun 42 B M You can start the oplrun command line from the Launch oplrun button in the standard toolbar of the IDE You can also configure from the IDE how the oplrun command line is launched so that it is easy to test a model in deployment mode for example in 64 bit mode or without the IDE memory overhead See Using the command line interface in oplrun Reference Warnings are now turned off by default You can turn then on by adding the w option in the command line The xw option does not exist any more ILOG OPL RELEASE NOTES Interfaces CPLEX callbacks in Java and NET CPLEX callbacks are now supported with parallel search in Java and NET interfaces Postprocessing of feasible solutions A custom CPLEX callback can now call postprocessing instructions on solutions Exceptions in NET A bug has been fixed in ILOG Concert NET interfaces Now all exceptions thrown by OPL in
50. s or both Other company product or service names may be trademarks or service marks of others Acknowledgement The language manuals are based on and include substantial material from The OPL Optimization Programming Language by Pascal Van Hentenryck 1999 Massachusetts Institute of Technology Table of contents Release NOES iu NE 5 Meet IBM ILOG OP Lon uscar diran cvaaucuspedsugesesasuusueetvvsunnorsisangoasbeds 7 New and Changed M OPL VEB a nadd ss 8 New and changed in OPL 6 ancianidad 9 New and changedin OPL6 A tices cscs ra aa aaa aaraa ae a a cote ee aaa E ae eaae apii auian iai 13 New and changed in OPL 6 1 ccccscccsseeceeeeeeesseeseeseeeeeeeesenneeeeneeeseseaeeeneeaeessaaeseseeeessseseseneeeees 14 New and changed in OPL 6 0 1 nncccncccononnnncnnnnnnccrnnnnernnnc cer 17 New and changed in OPL G O ooonnccncncnonnnnccnccnnrnnnnnrn cnc 19 The OPL IDE 0 ai 21 Solving scheduling problems with constraint PrograrmmMing escceeceeeeceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeieeseaeeeneeee 23 Langa cinc 24 NET interlaGes iii A e ta 27 DatabasOs cutis di dt A ce ae rine 29 PIU a e Be eto de e e an ee 30 O E ETE 31 A IN 32 New and changed in OPL 5 5 sccccscccssseeeeeeeeeeseeeeeeeeeeeeeesseseeeeeeneeeseaeeenseeeessaesaseeeeseseeseseaeeenes 35 D precated s niriana A A etn 37 CREEK O 38 D se eR E PE a Es o o ae te e de AL 39 Language Sinira ae detente secede Sa Gab Dente bain a cede Peds iban 40 Copyr
51. so Microsoft Access is not available Microsoft Excel is supported but not through ODBC NET API The OPL interfaces for NET are now supported on Microsoft Windows 64 bits For details please consult the file mptable html distributed with OPL This file can be found in the root installation directory lt OPL_dir gt mptable html OPL IDE Several improvements have been made to the OPL IDE the main ones are described here 4 Searching in a file The Editing Area incorporates more powerful search capabilities than were present in previous releases of OPL You can search a single file or multiple files at once and by a large number of criteria The menu option or the toolbar button Search displays the File Search dialog box ILOG OPL RELEASE NOTES Search EY File Search Containing text component v C case sensitive any string any character escape For literals C Regular expression File name patterns ES a Patterns are separated by a comma any string any character C Consider derived resources Scope Workspace Selected resources Enclosing projects For more information see Searching files in the IDE Reference Manual Data views There are more possible data views in particular for the following scheduling objects cumulFunction arrays O stateFunction arrays O sequences sequence arrays Data views can be sorted b
52. supported for compatibility reasons but will no longer be supported in a future release Database support Oracle 8i is still supported in this release but will no longer be supported in the next major release Deprecated keywords For deprecated keywords see OPL syntax in these Release Notes Deprecated APIs Deprecated APIs in OPL 5 2 Constructor Methods TloOp1lDataHandler TloOplDataHandler IloEnv env IloOplSettings settings Ilo0plDataHandler IloEnv env ostream amp outs Ilo0plElementz ILO_OPL_DEPRECATED IloBool isData const ILO_OPL_DEPRECATED IloBool isCalculated const IloOplModel IloBool hasMain void printData ostream amp os void printCalculatedData ostream amp os TloOp1lModelSource TloOplModelSource IloEnv env const char filename Ilo IBM ILOG OPL RELEASE NOTES 51 52 B M Class Ilo0plModelDefinition Ilo0pl1RunConfiguration Ilo0plSettings LOG OPL RELEASE Constructor Methods TloOplModelSource IloEnv env istream amp ins const char TloOplModelDefinition IloOplModelSource source void setCompiledModel IloBool compiled void setWithDecisionVariableNames IloBool with IloBool isWithDecisionVariableNames const NOTES IloOplE Licensing trial version OPL CPLEX Analyst Studio has an online trial version It is the regular OPL installer but no license keys are issued If OPL finds no license keys it restricts its usage as follows 4 Only th
53. t is deprecated in version 5 1 and will not be supported in the next version of OPL Performance and new ports Describes performance improvements in OPL 5 1 and lists the new ports available Changes to the language Describes the language changes in OPL and ILOG Script Changes to the IDE Lists the changes made in the user interface oplrun oplrun has been improved Miscellaneous Resolution of file paths is more systematic Compiled model files are detected automatically Incompatibilities Two incompatibilities with the previous version OPL 5 0 IBM ILOG OPL RELEASE NOTES 63 Deprecated features 64 B M Links to other documentation items Note The release notes for versions earlier than the current one remain accessible from the table of contents However most of the links they provide to the documentation are unclickable textual links not hypertext links because the structure of the documentation set partly changes from one release to the next OPL syntax The current OPL keywords for database connection are still supported but are planned to be deprecated in the next major release It is recommended that you start using the modified syntax with upper case letters in this OPL version Recommended DB connection keywords Deprecated Use this keyword instead DBupdate DBUpdate OPL interfaces The following methods are deprecated Deprecated interfaces in 5 1 TloOp1Model hasMain printDat
54. t is now possible to override values of simple type data elements from the command line You will find it useful to use oplrun as a testing environment and run the same model repeatedly with slightly different input 70 IBM ILOG OPL RELEASE NOTES Miscellaneous 4 Resolution of file paths is now more systematic included models and scripts or other files such as input and output files in scripting statements are now found at a clearly documented place See Path for resolving resources in the IDE Tutorials and Customization manual Compiled model files are now detected automatically IBM ILOG OPL RELEASE NOTES 71 Incompatibilities Model files compiled with OPL 5 0 or earlier need to be recompiled 4 Relative paths in scripting statements for 1100p1InputFile and IloOploutputFile instances are now resolved relative to the invoking model file not relative to the current working directory 72 IBM ILOG OPL RELEASE NOTES New and changed in OPL 5 0 OPL 5 0 is a major update to OPL 4 x It is also built upon ILOG Concert Technology In addition to significant gains of performance OPL 5 0 brings the changes listed in these release notes In this section Deprecated features Lists software that is deprecated in 5 0 and will not be supported in the next version of OPL Support for ILOG ODM Introduces ILOG Optimization Decision Manager ODM Changes to the language Discusses changes to the OPL language and their imp
55. te a complete model to be solved using the CP Optimizer engine edit it and solve it from the OPL IDE from the oplrun command line tool and from the APIs From the OPL IDE you can also browse the solution and look at the engine log progress and statistics The CP Optimizer engine supports 4 Syntax for specialized constraints Custom propagators 4 Labeled constraints ODM application generation Important OPL Development Studio 5 2 does not support constraint programming based scheduling If you have used an earlier version of OPL Studio to write scheduling applications based on constraint programming please send email to oplcp ilog com for information about support for CP based scheduling in a future version of ILOG OPL Development Studio ILOG Scheduler features such as Activity DiscreteResource the precedes constraint the requires constraint are not supported by OPL Development Studio 5 2 The constraint programming features of ILOG OPL Development Studio 5 2 are documented in several places of the documentation set Read Migration from OPL 3 x CP projects to learn how to change the syntax of CP statements in models originally written in OPL 3 7 x 4 the new keywords and functions in the Language Quick Reference 4 a short tour of OPL constraint programming in Constraint programming and Constraint programming versus mathematical programming in the Language User s Manual 4 atypical CP problem in Constraint programmin
56. tutorial to get familiar with the IDE and a description of the graphical user interface e The IDE Tutorials and Customization manual is a set of tutorials to the main features of OPL as used through the IDE and includes a description of the IDE preferences and of the mathematical programming options available in OPL 4 The Reference Manual of ILOG Script Extensions for OPL is accessible from the table of contents instead of being part of the Language Reference Manual and has a JavaDoc like look and feel 4 The oplrun command is documented as a separate item for more visibility and provides specific information on running OPL on AIX platforms 4 Error messages the documentation of error messages is accessible from the Output window of the IDE 4 The way to specify mipsearch has changed between OPL 3 and OPL 4 and later It is now documented in Branching mipsearch in these Release Notes 4 The Bibliography has been moved out of the Language User s Manual up to the top level and is now accessible from the table of contents ILOG OPL RELEASE NOTES Symbols A NET API exceptions 43 aggregate sums methods to use 41 AIX platforms 88 and operator 57 API 49 arrays of decision expressions not supported in 5 0 75 supported in 5 1 67 assert OPL keyword processing order of statements 57 Boolean expressions aggregation of and or 57 bug reports packaging for Customer Support 69 buttons Create draft project
57. usses changes to the OPL language and their impact In this section Changes to the modeling language Describes changes affecting expressions tuple keys data consistency constraint labels logical constraints and expressions compatibility ILOG Script Describes changes to ILOG Script incrementality control of the CPLEX warm start and basis control of relaxation and conflicts tuple sets oplrun The op1run command can be used to execute OPL projects IBM ILOG OPL RELEASE NOTES 77 Changes to the modeling language 78 B M Expressions See Support for ILOG ODM Tuple keys As in databases some fields can be set as keys Using keys in tuple declarations enables you to search display etc on tuples just by using the keys as unique identifiers In particular slicing is more efficient and sets use less memory For example tuple nurse key string name IE Senior Ey IE Guelvricat tony int payRate You can access arrays indexed by tuple sets of nurses by using their names only Indexing tuples display as key values only See the nurses example and Keys in tuple declaration in the Language Reference Manual Data consistency You can use the keyword with to ensure that a given part of a tuple belongs to a given set This syntax is recommended because it saves memory For example int Seniorities 1 3 5 nurse Nurses with seniority in Seniorities See Data consistency in the Language Reference
58. ve a smaller number of concepts and provide more flexibility to express the constraints of scheduling models For a guide to translating OPL 3 7 scheduling models refer to the document OPL 6 0 Migration Guide Migration from OPL 3 x CP Scheduling projects IBM ILOG OPL RELEASE NOTES 23 Language New keywords These new keywords are no longer accepted as identifiers pwlFunction pwlfunction Y stepFunction stepfunction stepwise These new CP keywords are still accepted as CPLEX identifiers interval sequence size optional stateFunction statefunction 4 4 4 intensity 4 4 4 cumulFunction cumulfunction Identifiers Certain names are no longer allowed to be used as identifiers Function names are no longer allowed to be identifiers 4 The algorithm names CP CPLEX IloCplex IlocP are now keywords and are therefore refused as element identifiers Multi criteria search phases In OPL 5 2 and 5 5 search phases were limited The engine would branch on variables and then on values Now in OPL 6 0 this limit no longer exists and the two phases are merged into one For example the search phase we have in the carseq project var phasel f searchPhase slot f selectSmallest f varIndex slot f selectLargest f explicitValueEval values valueEval 0 could be changed into 24 IBM ILOG OPL RELEASE NOTES var multiPhaseVar new Array f selectSmallest f domainSize f selectRan
59. x86 rhel4 0 3 4 x86 debian4 0 4 1 or x86 64 debian4 0 4 1 x86 net2003 Microsoft Visual Studio NET 2003 Removed No Recommended replacement longer available viicrosoft Visual Studio 2005 or Microsoft Visual Studio 2008 New ports The following new ports are available with this release New ports suitable for x86 and x86 64 processors and built on the Debian 4 0 distribution of the Linux operating system are available in this release They are compatible with Red Hat Enterprise Linux 5 and Suse Linux Enterprise Server 10 New ports supporting Sun UltraSPARC processors and Sun Studio 9 or higher compilers and development environment are available for 32 bit and for 64 bit architectures A new port compatible with Microsoft Visual Studio 2008 is available 32 IBM ILOG OPL RELEASE NOTES Deprecated and removed ports IBM Power AIX 5 The ports named power32_aix5 2_7 0 and power64_aix5 2_7 0 are deprecated IBM has announced plans to stop support for AIX 5 2 in the next twelve months The recommended replacement is to migrate to AIX 5 3 or a higher version which is also supported by this port Red Hat Enterprise Linux 4 Ports based on Red Hat Enterprise Linux version 4 0 are deprecated and have been removed The recommended replacements named x86_debian4 0_4 1 and x86 64 debian4 0_4 1 are compatible with Red Hat Enterprise Linux version 5 Suse Linux Enterprise Server version 10 Debian version 4
60. y column even for arrays Memory allocation You can change the amount of memory allocated to the OPL IDE in the file lt OPL_ dir oplide oplide ini For more information see OPL IDE memory allocation in the IDE Reference Manual IBM ILOG OPL RELEASE NOTES 15 16 B M Language 4 Function names can no longer be used as tuple component names For example the function name before is now refused for tuple components 4 The undocumented ind function no longer exists The boolean to int cast is now automatic in OPL 4 There is a new scripting method IloTupleSet addOnly which is faster than TloTupleSet add Interfaces The same data source can now be used for multiple models oplrun oplrun ph lt project name gt This new option project help displays the run configurations available in the specified project Example oplrun ph mynew pr3 displays all the configurations in mynew prj oplrun h The output of this command has been reorganized Deprecated in OPL 6 1 JDK 5 0 is deprecated in OPL version 6 1 and will not be supported in the next version of OPL ILOG OPL RELEASE NOTES New and changed in OPL 6 0 1 Microsoft Windows support OPL 6 0 1 supports Windows Server 2003 as well as Windows XP and Windows Vista Known issues corrected in technical release 6 0 1 e gt o o Improved error message to indicate that you cannot slice on sets with nested co

Download Pdf Manuals

image

Related Search

Related Contents

Chamberlain CWPIR Motion Alert Sensor User's Manual  DPP-FP97  rechtzeitig anmelden - vhs im Landkreis Unterallgäu eV  Higlasi-2A-1B 標準取扱説明書 作成:90130313 このたびは Higlasi  T-SKY - FaidateAutomatismi  User Manual - Workspace - Imperial College London  Actuadores de fracción de vuelta SQ 05.2 – SQ 14.2/SQR 05.2  ランドロックPR0.  Sony VGN-NR115E/S Marketing Specifications  トレーニングコース案内 調節計/センサ/燃焼安全/その他  

Copyright © All rights reserved.
Failed to retrieve file