clear2.gms : Test that we cannot option clear a domain

Description


Small Model of Type : GAMS


Category : GAMS Test library


Main file : clear2.gms

$title Test that we cannot option clear a domain (CLEAR2,SEQ=10)

set i(i) / a,b /;

option clear=i;

$if errorfree $goTo problem
$clearError
$terminate

$label problem
$error cannot clear a domain