sbb02.gms : SBB test suite - SOS2 test

Description


Small Model of Type : GAMS


Category : GAMS Test library


Main file : sbb02.gms

$title 'SBB test suite - SOS2 test' (SBB02,SEQ=279)

$call gamslib -q bidsos

$call sed s/mip/minlp/ bidsos.gms > bidsosX.gms
$echo "abort$(bideval.solvestat <> %solveStat.normalCompletion% or bideval.modelstat <> %modelStat.optimal%) 'problems with SBB SOS handling'" >> bidsosX.gms

$echo "strict 1" > sbb.op2
$call =gams bidsosX lo=2 optfile=2 minlp=sbb nlp=pathnlp
$if errorlevel 1 $abort 'problems with SBB SOS handling'