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

sl4mip01.gms : Test for known XPRESS bug, with solvelink=4


Run mip01 with solvelink=%SOLVELINK.CallScript%,%SOLVELINK.CallModule%,%SOLVELINK.AsyncSimulate%,%SOLVELINK.LoadLibrary%

Small Model of Type: MIP
$title 'Test for known XPRESS bug, with solvelink=1,2,4,5' (SL4MIP01,SEQ=445) $ontext Run mip01 with solvelink=%SOLVELINK.CallScript%,%SOLVELINK.CallModule%,%SOLVELINK.AsyncSimulate%,%SOLVELINK.LoadLibrary% $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 $set q '"' $if %system.filesys% == UNIX $set q "'" $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 mip01.gms pf="%gams.scrdir%mypf.%gams.scrext%" i=mip01.gms solvelink=%SOLVELINK.CallScript% reslim=10 $if errorlevel 1 $abort problems with sl=%SOLVELINK.CallScript% $call gams mip01.gms pf="%gams.scrdir%mypf.%gams.scrext%" i=mip01.gms solvelink=%SOLVELINK.CallModule% reslim=10 $if errorlevel 1 $abort problems with sl=%SOLVELINK.CallModule% $call cat "%GAMS.sysdir%gmscmp%XX%.txt" | grep -v "^\*" | awk %q%NF>4 {if ($7>1) print $0 }%q% | grep -vi scensolver | cut -d" " -f1 | grep -iwq %system.MIP% $if errorlevel 1 $goto skipsl5 $call gams mip01.gms pf="%gams.scrdir%mypf.%gams.scrext%" i=mip01.gms solvelink=%SOLVELINK.LoadLibrary% reslim=10 $if errorlevel 1 $abort problems with sl=%SOLVELINK.LoadLibrary% $label skipsl5 $call gams mip01.gms pf="%gams.scrdir%mypf.%gams.scrext%" i=mip01.gms solvelink=%SOLVELINK.AsyncSimulate% reslim=10 $if errorlevel 1 $abort problems with sl=%SOLVELINK.AsyncSimulate%