how to get index of variables and constraints

Problems with modeling
Post Reply
yanzhiping
User
User
Posts: 85
Joined: 1 year ago

how to get index of variables and constraints

Post by yanzhiping » 9 months ago

Excuse me,

I have a question about the index of variables and constraints.
If I have a set for device /device A, device B, device C/,.... there is a variable related to set (time, device), and a constraint related to device too.
How may I know the index of variables and constraints related to only device B ?

Thanks,

cladelpino
User
User
Posts: 108
Joined: 1 year ago

Re: how to get index of variables and constraints

Post by cladelpino » 7 months ago

Do you mean, Which of the elements of set time appear together with device B on a constraint or variable ?

Post Reply