Groups
Sign in
Groups
AIMMS - The Modeling System
Conversations
About
Send feedback
Help
Identical sets
27 views
Skip to first unread message
Gabriela G.
unread,
May 8, 2019, 7:57:07 PM
5/8/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AIMMS - The Modeling System
I want to know if its possible to create a subset identical to the root set and then, inside a procedure delete certain elements of said subset.
Mohan
unread,
May 8, 2019, 8:29:17 PM
5/8/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AIMMS - The Modeling System
Yes, you can.
The statement would be
Subset
:=
Subset
-
{
index
|
condition on index
}
All the elements that meet the "condition on index" will be removed from the subset.
You can also use
Subset
-=
element_parameter
;
or
Subset
-=
'element'
;
-= is another way of writing Subset := Subset -
Reply all
Reply to author
Forward
0 new messages