Description
Make sure lo=0 is quiet and lo=2 and lo=3 run without a problem Contributor: Jan-H. Jagla, September 2009
Small Model of Type : LP
Category : GAMS Test library
Main file : lolp.gms
$title LP Test for logoption (LOLP,SEQ=459)
$onText
Make sure lo=0 is quiet and lo=2 and lo=3 run without a problem
Contributor: Jan-H. Jagla, September 2009
$offText
$set solver %gams.lp%
$if %solver% == '' $set solver %system.lp%
$log Solver is %solver%
$set model trnsport
$call gamslib -q %model%
$echo "abort$(transport.solvestat <> %solveStat.normalCompletion%) 'Normal Completion expected';" >> %model%.gms
$call rm -f %model%.log
$call gams %model% lp=%solver% lo=0
$if errorlevel 1 $abort 'problems with lo=0'
$call test -s %model%.log
$if not errorlevel 1 $abort '%model%.log exits'
$call gams %model% lp=%solver% lo=2
$if errorlevel 1 $abort 'problems with lo=2'
$call test -s %model%.log
$if errorlevel 1 $abort '%model%.log does not exist'
$call gams %model% lp=%solver% lo=3 > %model%lo3.log
$if errorlevel 1 $abort 'problems with lo=3'
$call test -s %model%lo3.log
$if errorlevel 1 $abort '%model%lo3.log does not exist'