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

conopt01.gms : CONOPT test suite - basic option reading test





Small Model of Type: GAMS
$TITLE 'CONOPT test suite - basic option reading test' (CONOPT01,SEQ=280) $if not '%GAMS.nlp%' == '' $set solver %GAMS.nlp% $if not set solver $set solver conopt $call gamslib -q 1 $echo "abort$(transport.solvestat <> %solvestat.IterationInterrupt%) 'problems with %solver% option';" >> trnsport.gms $echo "LFITER 1" > %solver%.op2 $call =gams trnsport optfile=2 lo=0 lp=%solver% $if errorlevel 1 $abort 'problems with %solver% options'