(!******************************************************* Mosel Example Problems ====================== file runrtparprl.mos ```````````````````` Running several instances of a model from another Mosel model. - Parallel submodels - *** ATTENTION: This model will return an error if no *** *** sufficient number of Xpress licences is available *** (c) 2008 Fair Isaac Corporation author: S. Heipcke, May 2006, rev. May 2010 *******************************************************!) model "Run model rtparams in parallel" uses "mmjobs" declarations A = 1..10 modPar: array(A) of Model end-declarations ! Compile the model file if compile("rtparams.mos")<>0 then exit(1); end-if forall(i in A) do load(modPar(i), "rtparams.bim") ! Load the bim file ! Start model execution run(modPar(i), "PARAM1=" + i + ",PARAM2=" + 0,1*i + ",PARAM3='string " + i + "'" + ",PARAM4=" + isodd(i)) end-do forall(i in A) do wait ! Wait for model termination dropnextevent ! Ignore termination event message end-do end-model