subset

Problems with modeling
Post Reply
Omi
User
User
Posts: 7
Joined: 3 months ago

subset

Post by Omi » 3 months 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 146 times

User avatar
Renger
Posts: 406
Joined: 3 years ago

Re: subset

Post by Renger » 3 months 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: Read my blog on modeling at The lazy economist

Post Reply