subset

Problems with modeling
Post Reply
Omi
User
User
Posts: 7
Joined: 1 month ago

subset

Post by Omi » 4 weeks ago

How to code attachment?
s is subset of N with cardinality greater than 2.
where N is /J1*J6/
Attachments
Capture.PNG1.PNG
Capture.PNG1.PNG (2.27 KiB) Viewed 75 times

User avatar
Renger
Posts: 360
Joined: 2 years ago

Re: subset

Post by Renger » 4 weeks ago

Hi Omi

As long as you don't know which elements should be part of the subset, this is hard to answer.
Otherwise, you can use assigning elements from N as follows:

Code: Select all

N Main set /J1*J6/,
S(N) subset of N;

S(N)$(condition) = YES;
THis will assign elements from N to S based on your condition.
Cheers
Renger
____________________________________
Enjoy modeling even more: The lazy economist

Post Reply