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