Originally posted by: SystemAdmin
[dgravot@noos.fr said:]
Hello
Indeed, you will have to script the loop, either using javascript in your model file or C++/JAVA/.NET opl api.
A nice example is given in the documentation : ...ILOG\OPL5.X\examples\opl\mulprod\ in the mulprod_change_main.mod file
if you just change options related to "search parameters" (those contained in your settings .ops file) or constraints/variables lower/upper bounds, you won't have to generate your model again. if on the other hand, the second run adds new constraints, you will have to regenerate (see then more complex examples such as cutstock_main.mod in ...ILOG\OPL5.X\examples\opl\cutstock\)
David Gravot
ROSTUDEL Operations Research
www.rostudel.com#DecisionOptimization#OPLusingCPLEXOptimizer