onmulti4.gms : The onmulti merge may destroy the ordered property

Description


Small Model of Type : GAMS


Category : GAMS Test library


Main file : onmulti4.gms

$title The onmulti merge may destroy the ordered property (ONMULTI4,SEQ=26)

set dummy / a,b,c,d,e /;

set i    / c,d,e / , k;

$onMulti

set i    / a,b,c / ;

k(i-1) = yes;

$if errorfree $goTo problem
$clearError
$terminate

$label problem
$error this should not be allowed