Skip to main content

Limitation regarding lazy constraints


Technote (FAQ)


Question

Can I implement lazy constraints from OPL Script?

Answer

This is currently not possible to add lazy constraints from OPL Script.

As an alternative you can use extending script functionality by using external JAVA calls.
From the Concert APIs you can also use IloCplex::LazyConstraintCallbackI/IloCplex::CutCallbackI (C++) or IloCplex.CutCallback (JAVA), or Cplex.CutCallback (.NET) to implement lazy constraints. You will find more information and examples of implementing callbacks in the documentation.


Cross Reference information
Segment Product Component Platform Version Edition
Business Integration IBM ILOG OPL-CPLEX-ODM Area:ILOG Script for OPL/OPL Script
Business Integration IBM ILOG OPL-CPLEX Developer Edition
Business Integration IBM ILOG OPL-CPLEX Analyst Studio
Business Integration IBM ILOG OPL-CPLEX Development Bundles

Rate this page:

(0 users)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.

Rate this page:


(0 users)Average rating

Add comments

Document information

IBM ILOG CPLEX Optimization Studio

Area:ILOG Script for OPL/OPL Script


Software version:
12.2, 12.2.0.1


Operating system(s):
AIX, HP-UX, Linux, Mac OS, Solaris, Windows


Software edition:
All Editions


Reference #:
1457915


Modified date:
2011-07-18

Translate my page

Content navigation