Originally posted by: GGR
Hi
Your request is quite unclear for me:
You can enumerate the solutions of a CP Optimizer model in OPL using the startNewSearch/next instructions mmeber of IloCP in a OPL script file.
If the constraint is intended to dramatically change the solution, the best way is to chain model resolutions augmented of this constraint although using an OPL script file.
You can find any information about this under IDE and OPL > Optimization Programming Language (OPL) > IBM ILOG Script Reference Manual
and
IDE and OPL > Optimization Programming Language (OPL) > IBM ILOG Script Reference Manual > OPL Classes > IloCP
Documentation pages
Hape that helps
#DecisionOptimization#OPLusingCPOptimizer