GAMS [ Home | Support | Sales | Solvers | Documentation | Model Libraries | Search | Contact Us ]

sl4cns13.gms : Test solvable CNS model, with solvelink=4


Run cns13 with solvelink=1,2,4,5

Small Model of Type: CNS
$title 'Test solvable CNS model, with solvelink=4' (SL4CNS13,SEQ=312) $ontext Run cns13 with solvelink=1,2,4,5 $offtext $set XX 95 $if %system.platform% == WIN $set XX NT $if %system.platform% == WEX $set XX NT $if %system.filesys% == UNIX $set XX un $call grep -iv scrdir "%gams.scrdir%gmsprm%XX%.%gams.scrext%" | grep -iv scriptnext | grep -iv sysdir | grep -iv JobTrace > "%gams.scrdir%mypf.%gams.scrext%" $call gams cns13.gms pf="%gams.scrdir%mypf.%gams.scrext%" i=cns13.gms solvelink=1 $if errorlevel 1 $abort problems with sl=1 $call gams cns13.gms pf="%gams.scrdir%mypf.%gams.scrext%" i=cns13.gms solvelink=2 $if errorlevel 1 $abort problems with sl=2 $if %system.CNS% == CONOPTD $goto runsl5 $goto skipsl5 $label runsl5 $call gams cns13.gms pf="%gams.scrdir%mypf.%gams.scrext%" i=cns13.gms solvelink=5 $if errorlevel 1 $abort problems with sl=5 $label skipsl5 $call gams cns13.gms pf="%gams.scrdir%mypf.%gams.scrext%" i=cns13.gms solvelink=4 reslim=3 $if errorlevel 1 $abort problems with sl=4